summaryrefslogtreecommitdiff
path: root/src/elements/stkm2.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-11Fix a load of memory leaksjacksonmj1-4/+4
Also fix some compiler warnings (missing headers, wrong pointer type for modf, etc) and move variable declarations for Visual Studio.
2011-06-04Some fixes for stick mans.savask1-3/+5
2011-05-28Fix STKM always going through wallsjacksonmj1-13/+19
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-03-19Fix stickmen photons and neutronsjacksonmj1-11/+14
2011-01-28Change include file for element update functionsjacksonmj1-1/+1
2011-01-13Merge element state into ptypes.jacksonmj1-12/+12
All of the pstates array except .state was replaced by ptransitions.
2011-01-13Fix permanent stickman death.jacksonmj1-0/+1
2011-01-11Merge branch 'upstream' into devjacksonmj1-0/+5
2011-01-10Finish update function cleanupjacksonmj1-48/+51
2011-01-07Start function pointersjacksonmj1-0/+404