Commit Graph

16 Commits

Author SHA1 Message Date
savask
fd38838b51 Added a recoil when stick man is spawning. 2011-08-12 14:49:39 +07:00
savask
c37f3b1eba New stick mans collisions code. 2011-08-12 14:49:20 +07:00
savask
dbd3272933 Generalized stick man's update functions. Got rid of some unnecessary
variables.
2011-07-25 12:47:38 +07:00
jacksonmj
d515575612 Allow changing of stkm spawn element by setting ctype 2011-06-25 16:06:44 +01:00
jacksonmj
04b3eb11fd Fixes for high life stickman 2011-06-25 15:52:11 +01:00
jacksonmj
93316a9f1d Fix a load of memory leaks
Also fix some compiler warnings (missing headers, wrong pointer type for
modf, etc) and move variable declarations for Visual Studio.
2011-06-11 13:00:42 +01:00
savask
7f245483a2 Some fixes for stick mans. 2011-06-04 19:12:21 +01:00
jacksonmj
6e9cbfdb4a Fix STKM always going through walls
Now behaves as normal, i.e. only occasionally goes through walls.

Walls which completely block all particles are in the pmap with type
0xFF. ptypes[] doesn't go up to 0xFF, so ptypes[0xFF].state will not
necessarily result in an answer that gives correct behaviour for walls.
2011-05-28 18:51:57 +08:00
jacksonmj
993fb876c9 Fix stickmen photons and neutrons 2011-03-19 12:00:53 +00:00
jacksonmj
bdfbc7c409 Change include file for element update functions 2011-01-28 19:36:26 +00:00
jacksonmj
9707443b24 Merge element state into ptypes.
All of the pstates array except .state was replaced by ptransitions.
2011-01-13 21:31:24 +00:00
jacksonmj
a23138fbbe Fix permanent stickman death. 2011-01-13 20:17:05 +00:00
jacksonmj
4006bdf4c2 Merge branch 'upstream' into dev 2011-01-11 13:44:52 +00:00
jacksonmj
54f9f872b9 Finish update function cleanup 2011-01-10 14:41:03 +00:00
jacksonmj
f3ded5f08c More function pointers. 2011-01-07 16:18:22 +00:00
jacksonmj
1ab4d328a6 Start function pointers 2011-01-07 14:14:35 +00:00