Commit Graph

25 Commits

Author SHA1 Message Date
jacksonmj
42cfb74c2b Remove blocking walls from pmap
2.5% speed increase on a screen full of water
2011-08-27 18:37:03 +08:00
Simon Robertshaw
ac6feec874 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-08-22 01:02:27 +01:00
jacksonmj
75cb924bd9 Fix electrode when in replace mode or specific delete mode
Also fix bomb when SLALT != 0
2011-08-22 01:02:02 +01:00
jacksonmj
d32ae818dc Make STKM spawn below PRTO (less likely to get stuck), and implement PROP_DEADLY 2011-08-21 02:37:26 +08:00
jacksonmj
20aba663cd Fix STKM_init_legs and leg/head colours in prerender_save 2011-08-21 02:37:25 +08:00
jacksonmj
a96afc863e Stickman go through portals 2011-08-20 18:29:02 +08:00
savask
d31b140f8e Fixed my mistake in names. 2011-08-12 14:51:25 +07:00
savask
15dab3daad Imporved walking in a gravity field. 2011-08-12 14:51:05 +07:00
savask
65c8e27538 New walking code (WIP) 2011-08-12 14:50:41 +07:00
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