Commit Graph

1334 Commits

Author SHA1 Message Date
jacksonmj
3d82cea94f Fix stickman head in renderer 2011-07-04 00:11:43 +08:00
jacksonmj
80fd7edd7f Some fixes for non-existent particles in Lua
Return 0 for get_property("type", ...) instead of erroring, to make checking for
particles easier. Also stop x coordinate being used as a particle index if
no particle exists at that location.
2011-07-04 00:11:43 +08:00
Simon Robertshaw
25a2b52b64 Savask experimental heat transfer 2011-07-01 11:32:10 +01:00
Simon
00ed0f559a Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-06-28 14:31:36 +01:00
Simon Robertshaw
9fd74b7df2 Use new font glyph 2011-06-28 15:21:24 +01:00
Simon
648a4ac01e Adjust font glyph 214 2011-06-28 14:27:33 +01:00
Simon
30a0666774 Update font, add 'activated elements' glyph at position 214 2011-06-28 13:56:12 +01:00
Simon Robertshaw
437f13f424 Powered Breakable clone, Gravity Pump, New menu section for powered elements (needs icon) 2011-06-28 13:58:16 +01:00
Simon Robertshaw
3fe82bf525 Jagged arcs 2011-06-27 18:16:25 +01:00
Simon Robertshaw
36ee81fc6b Better photons for persistent display, ability to toggle gravity view (ctrl+g) 2011-06-27 14:01:07 +01:00
Simon Robertshaw
43b75ea058 Ensure energy particles are always drawn on top 2011-06-26 15:20:10 +01:00
Simon Robertshaw
7351da3962 Fix segfault with aray striking particles with abnormal ctype 2011-06-25 22:44:07 +01:00
jacksonmj
f3927f7202 Make pipe save ctype and tmp 2011-06-25 22:30:49 +01:00
Simon Robertshaw
6c3093cabf Hot air rises [Experimental] 2011-06-25 17:40:35 +01:00
Simon Robertshaw
f5bbc13384 Fix save button 2011-06-25 17:11:17 +01:00
Simon Robertshaw
174794c40e Strip extension when saving 2011-06-25 17:05:57 +01:00
Simon Robertshaw
1dcefb2895 Keep opened files 2011-06-25 16:59:25 +01:00
jacksonmj
d515575612 Allow changing of stkm spawn element by setting ctype 2011-06-25 16:06:44 +01:00
Simon Robertshaw
1a17e35c6f Change checking back to ctype for Aray condition 2011-06-25 16:06:17 +01:00
jacksonmj
34d76f8680 Check photon map in Lua functions, and allow any ctype
Also add some extra checks on ctype in the rest of the game
2011-06-25 15:59:30 +01:00
jacksonmj
c18009dd9c Check particle exists in tpt.set_property, and sdl_scale mouse coords for Lua step 2011-06-25 15:52:52 +01:00
jacksonmj
36e2a07a5b Visual Studio fixes 2011-06-25 15:52:24 +01:00
jacksonmj
04b3eb11fd Fixes for high life stickman 2011-06-25 15:52:11 +01:00
jacksonmj
9b83bf27a8 Use malloc in parse_save to avoid stack overflow
918 KiB arrays should not be allocated on the stack...
2011-06-25 15:52:02 +01:00
jacksonmj
2f594c6bf1 Fix issues with local saving when using scale:2 2011-06-25 15:51:46 +01:00
jacksonmj
4043dba74c Small fixes for liquids in radial/Newtonian gravity 2011-06-25 15:51:38 +01:00
jacksonmj
636b1db4d2 Better liquids movement in radial/Newtonian gravity 2011-06-25 15:51:07 +01:00
jacksonmj
f417d7a4df Include ambient heat in undo 2011-06-25 15:50:59 +01:00
jacksonmj
e67ec08052 Fix fast photons reflecting through obstacles 2011-06-25 15:50:51 +01:00
jacksonmj
9d325dbb7c Fix walls for SING explosions 2011-06-25 15:50:41 +01:00
jacksonmj
fb79865186 Fix gravmap build up during repeated frame stepping 2011-06-25 15:50:32 +01:00
jacksonmj
ad99287f8a Pixel format conversion 2011-06-25 15:50:21 +01:00
jacksonmj
dbf6dcd35b Decor brush shape, and fix big thumb not changing when page changed 2011-06-25 15:50:14 +01:00
jacksonmj
a054a784af Fix soap stamp crashes, and fix stkm head colour 2011-06-25 15:50:07 +01:00
ief015
a12f0b40d1 Merge pull request #32 from ief015/master
added lua functions to aid with iterations through all particles
2011-06-25 01:37:32 -07:00
ief015
be79233101 added functions to iterate through all particles
+ tpt.start_getPartIndex() --starts the iteration
+ bool tpt.next_getPartIndex() --increases the iteration, returns true if there are more particles to iterate through
+ int tpt.getPartIndex() --get the current iteration value
2011-06-25 01:32:54 -04:00
Simon
87513503ba Version increment 2011-06-15 18:35:56 +01:00
Simon
cf35ccb8fd Include dir change for OS X 2011-06-15 18:33:33 +01:00
Simon Robertshaw
c1f4f0481c Fix save_filename crash 2011-06-15 13:47:21 +01:00
Simon Robertshaw
71922e2763 Version increment 2011-06-15 13:15:03 +01:00
Simon Robertshaw
4c6f3ca152 Revert "Revert "Version increment""
This reverts commit bcb7852762.
2011-06-15 13:13:50 +01:00
Simon Robertshaw
8f97f6c5c7 Revert "Heat simulation improvement."
This reverts commit 5e43bb0510.
2011-06-15 13:11:29 +01:00
Simon Robertshaw
5a8c52aeee Revert "Changed thunder and plasma to work as before."
This reverts commit fe9fd28b70.
2011-06-15 13:11:03 +01:00
Simon Robertshaw
daa67b13bd Revert "Prevent photons stealing heat energy"
This reverts commit aac8898f42.
2011-06-15 13:10:45 +01:00
Simon Robertshaw
bcb7852762 Revert "Version increment"
This reverts commit af73fd17b2.
2011-06-15 13:09:26 +01:00
Simon Robertshaw
af73fd17b2 Version increment 2011-06-14 20:46:49 +01:00
Simon Robertshaw
aac8898f42 Prevent photons stealing heat energy 2011-06-14 18:41:01 +01:00
savask
fe9fd28b70 Changed thunder and plasma to work as before. 2011-06-14 17:13:33 +01:00
savask
5e43bb0510 Heat simulation improvement. 2011-06-14 17:13:25 +01:00
Simon Robertshaw
304a2fa819 Revert "Better heat treatment."
This reverts commit 37df2abe90731f2da814a4463f406b0afe9308f9.
2011-06-14 17:11:24 +01:00