Daniel Evans
b7ac33caec
Improve activities: canSkip(), let player cancel vehicle enter.
...
Closes #32
2016-05-24 23:49:01 +01:00
Daniel Evans
478cbf6187
Make forward direction part of character state to simplify
...
This allows activities to make the final call about what direction a
character should be facing based on the direction they want to be
looking.
2016-05-23 21:40:55 +01:00
Daniel Evans
8a5be54b91
Overhaul animation system and character activities
...
Replaces animator with a simpler system that can overlay multiple
animations
Character animation split into two layers, motion and action.
Walking, running and jumping animations are played on the first
layer, actions such as firing can be overlayed on the second.
More work is needed to limit overlap to only the weapons that make
sense.
2016-04-17 04:54:19 +01:00
Daniel Evans
07f7b19ca2
Make it possible to fire weapons again
2016-04-13 21:16:27 +01:00
Daniel Evans
14269d8ae5
Move first of lower level code into rwlib; tear out GLEW.
2016-04-07 01:13:46 +01:00
Daniel Evans
c1c2d7341f
Make certain AI Behviours and opcodes use sprint
2015-05-09 04:40:41 +01:00
Daniel Evans
4573b88a5a
Improve AIGraph performance with a grid-based index
2015-04-05 21:35:45 +01:00
Daniel Evans
1d3bcfe42b
Optimise AI graph construction and traffic spawning
2015-04-04 17:03:06 +01:00
Daniel Evans
7a62c25fbc
Add pedestrian population limit to TrafficDirector
2015-04-04 15:05:16 +01:00
Daniel Evans
7f2c5a4645
Initial Traffic wandering algorithm (pedestrians only)
2015-02-26 01:15:17 +00:00
Daniel Evans
9407ee3135
Add test implementation of pedestrian spawning
2015-02-18 15:29:39 +00:00
Daniel Evans
2ccc1fc33c
Add initial TrafficDirector open spawn point methods
2015-02-17 01:31:20 +00:00
Daniel Evans
dda2d5a245
Make disable input opcode take effect
2015-01-27 15:25:45 +00:00
Daniel Evans
9f1162a945
Add entering to any passenger seat
2015-01-23 17:54:17 +00:00
Daniel Evans
5d41002b36
Further improve vehicle door dynamics
...
+ Rename some part target angle names
+ Improve behaviour of opening and closing doors
+ Use different animations for right hand side of vehicle
2015-01-23 02:03:21 +00:00
Daniel Evans
3f40ba0e18
Add AI Goal system, FollowLeader goal.
...
+ Add support for setting leader, e.g. Misty follows you during "Luigi's Girls".
2015-01-22 15:00:30 +00:00
Daniel Evans
a55bcc557d
Implement some AI and zone opcodes
...
* Add disabled flag to AI nodes
* Move ZoneData structure into own file
* Add Gang density to ZoneData.
2014-12-16 03:03:04 +00:00
Daniel Evans
27104f7b79
Add Jump activity to improve jump dynamics
2014-12-13 01:24:06 +00:00
Daniel Evans
f7398f17f8
Refactor character movement.
2014-08-26 22:54:26 +01:00
Daniel Evans
b1c82e3582
Fix compilation under clang, fix majority of warnings
2014-08-11 17:58:43 +01:00
Daniel Evans
97fee9b4a8
Fix many memory leaks code duplication
...
+ Move collision data construction into CollisionInstance
+ CollisionInstance also handles related cleanup
+ Fix leaks from AINodes
2014-08-10 23:31:59 +01:00
Daniel Evans
fa3f2cc3ea
Add more opcodes, implement some
2014-07-25 03:38:47 +01:00
Daniel Evans
e5cc47132f
Initial documentation pass
...
Add a nice doxygen file.
2014-07-09 05:04:48 +01:00
Daniel Evans
799127f8f8
Implement weapon firing, debug tracers
2014-06-30 01:56:45 +01:00
Daniel Evans
0214a29ca3
Implement character inventory items, with weapon
2014-06-29 22:14:46 +01:00
Daniel Evans
04de3c1a8f
Fix compiler warnings
2014-06-10 17:51:55 +01:00
Daniel Evans
891b12272c
Rename more classes to better names
2014-06-06 17:17:39 +01:00
Daniel Evans
439749e34f
Rename Object classes and files
2014-06-06 15:22:26 +01:00
Daniel Evans
b99314939b
Vehicle exiting animation
2014-06-02 22:18:30 +01:00
Daniel Evans
602218579c
Make it possible to interrupt activities
2014-06-01 18:44:43 +01:00
Daniel Evans
c8f5e7ead2
Fixed more broken vehicle interaction
2014-05-31 19:22:43 +01:00
Daniel Evans
04842a628a
Primitive debug menu; vehicle enter animation
2014-05-31 08:18:50 +01:00
Daniel Evans
d7b738cdc1
Replace Activity switch with objects
2014-05-29 11:12:40 +01:00
Daniel Evans
532738077e
Initial shift to AIController controlling
2014-05-29 09:34:59 +01:00
Daniel Evans
16b59f3943
Renamed Components
2014-01-26 03:45:55 +00:00