Commit Graph

112 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
jacksonmj
2e323ea018 Update parts_lastActiveIndex when creating neut/phot 2011-08-11 07:38:56 +08:00
Simon Robertshaw
9b9d628374 Improvements to Wire 2011-08-08 14:57:32 +01:00
lieuwe
dd2d06425e you can now charge WIRE with pscn and it'll create only one
electron.
2011-08-08 20:37:28 +08:00
lieuwe
b1b3fbbc20 added some metl->wire interaction, still working on wire->metl 2011-08-08 20:35:03 +08:00
lieuwe
8f92829aab IT WOOOOOORKS :D (fixed WIRE logic.) 2011-08-08 20:32:53 +08:00
lieuwe
50c4bfd86d Y U NO WORK. added logic for WIRE but it's not being called. 2011-08-08 20:32:04 +08:00
Simon Robertshaw
3bd5a4711c Less buggy DLAY 2011-07-27 14:28:32 +01:00
Simon Robertshaw
58d96de4ce Revert "DLAY element"
This reverts commit 7338545ab4.
2011-07-27 13:07:41 +01:00
Simon Robertshaw
899969cc8a Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-07-26 17:46:15 +01:00
tridiaq
7338545ab4 DLAY element 2011-07-26 17:05:20 +01:00
savask
dbd3272933 Generalized stick man's update functions. Got rid of some unnecessary
variables.
2011-07-25 12:47:38 +07:00
jacksonmj
89cc8d4ded Fix life cloning 2011-07-24 20:10:43 +08:00
Simon Robertshaw
965810d5e3 Merge 2011-07-12 18:49:18 +01:00
Cate
d3452b01c8 OMG FIXES. Lots of fixes for triangle brush to make sure it works, from Cracker. Edited CLST to prevent "popcorning" when its float hits weird numbers. Also fixed it so it freezes nicely when cooled. Fingers are back! :DDD 2011-07-12 18:46:33 +01:00
Simon Robertshaw
7480442c67 Move SING back to where it belongs, acid heats up when dissolving materials 2011-07-12 18:10:10 +01:00
Cate
e17a2a0b03 Added blunt temperature controls to CLST that cause it to freeze in place when cooled by cohesion. Doesn't produce the exact same finger shapes as before for some arcane reason, I seriously have no clue why. But looks close enough for passing. 2011-07-13 00:43:17 +08:00
Cate
0ce4104c7a Added CLST element, which is Clay dust, for making concrete with water. :D Neat due to element cohesion with itself, which causes it to sludge downwards in a way very uncharacteristic of any current powder. Cohesion is very easy to modify. Thanks to Savask for help with cohesion code. :D 2011-07-12 21:00:21 +08:00
Cate
d2eb6f1cb3 Deleted whole repository due to weirdness with recognizing folder. From current source, added Cracker64's changes that make 1px pipe several times faster than thicker pipe. Doesn't break saves. :D 2011-07-08 18:09:16 +01:00
jacksonmj
6fb69f591f Change PBCN switching method
PCLN is different for compatibility with some existing saves relying on the exact
time taken for a switch on/off to spread through adjacent PCLN dots
(commit 692e2ba86d)
2011-07-06 17:44:57 +08: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
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
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
04b3eb11fd Fixes for high life stickman 2011-06-25 15:52:11 +01:00
jacksonmj
9d325dbb7c Fix walls for SING explosions 2011-06-25 15:50:41 +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
jacksonmj
2ddb24d5b0 Fix WL_DESTROYALL for fast particles; and no H2 ignition from SPRK
H2 igniting from spark causes too many problems for electrolysis
2011-06-08 12:47:03 +01:00
savask
54aa148325 Bubbles now don't pop because of gases. 2011-06-04 19:14:26 +01:00
savask
7f245483a2 Some fixes for stick mans. 2011-06-04 19:12:21 +01:00
savask
e42e7d019e Some work on frozen bubbles. 2011-06-05 01:09:02 +08:00
savask
a48e477fca Moved detach(i) function to powder.c, made soap display connections when
it's double-joined, made portal in detach soap before teleportating
(works strangely)
2011-06-05 01:09:02 +08:00
Simon Robertshaw
97cc3488eb Mercury 2011-06-04 14:05:22 +01:00
jacksonmj
744854ef36 Speed up update_PIPE
By making it call rand() once instead of 6 times.
2011-06-02 20:19:28 +01:00
jacksonmj
4fd97b93b4 Large speed improvement for QRTZ
Also prevent growing when sparked.
2011-05-29 13:38:53 +01:00
jacksonmj
420f8e7442 Make NBHL/NWHL eat things in the same way as BHOL/WHOL
Also make ANAR move opposite to Newtonian gravity
2011-05-28 18:51:57 +08: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
fc4de9640c Fix sim options description, GOO and DEUT 2011-05-24 21:49:08 +08:00
Simon Robertshaw
dadac37264 Move Diamond into solids menu, add gravity elements 2011-05-20 13:00:34 +01:00
jacksonmj
603844f97f Fix DEUT explosion 2011-05-19 22:53:24 +08:00
Cracker64
9d20d6af82 Decoration has a color menu. GoL uses less memory(17MB less), and probably a bit faster. 2011-05-14 13:46:10 +01:00
Simon Robertshaw
fa54c005b2 Use properties for life decrement/kill 2011-05-14 13:38:52 +01:00
Simon Robertshaw
73f2f9f57f fix neutron cloning 2011-05-14 13:34:06 +01:00
Cracker64
59bd280fad ANAR changes, WHOL absorbs ANAR and gets colder. ANAR burns with CFLM strangely. 2011-05-05 20:38:30 +01:00
jacksonmj
59d9071e87 Make damp sponge much less flammable
Also make evaporation cool the sponge better
2011-05-05 20:35:17 +01:00
jacksonmj
0aa4970b33 Remove some unnecessary checks 2011-05-05 20:35:08 +01:00
jacksonmj
9a3836879e H2 burns from spark, lava, plasma; O2 burns from plasma 2011-05-05 20:34:05 +01:00