Commit Graph

473 Commits

Author SHA1 Message Date
jacob1
cd18515e0a piston retraction now checks pmap 2013-03-01 23:06:02 -05:00
cracker64
a9f4b5fe34 Quick fix for IRON 2013-03-01 00:55:10 -05:00
cracker64
0d70547cf0 More fixes to fix fixes and new fixes to fix stuff. 2013-03-01 00:41:53 -05:00
cracker64
5873d69586 Going through again. 2013-02-28 12:37:16 -05:00
cracker64
c65081d3ed Finished first pass-through for all elements.
Will get a few more places later.
2013-02-28 00:40:36 -05:00
cracker64
08d1a68ce0 More fixes. 2013-02-27 17:20:05 -05:00
cracker64
3d2e594150 Small modifications part three. 2013-02-27 12:08:10 -05:00
cracker64
27e3e12518 Small optimizations number 2. 2013-02-27 00:11:23 -05:00
cracker64
8250515e97 Lots of small optimizations and things, nothing should be functionally different.
Only gotten through a few elements, more later.
2013-02-26 18:59:37 -05:00
jacob1
e700ff2988 Merge remote-tracking branch 'origin/master' 2013-02-24 22:10:31 -05:00
jacob1
572d099e29 fix a few more memory errors 2013-02-24 22:09:33 -05:00
jacksonmj
5c2f310577 Make default DCEL exactly reverse the effect of default ACEL 2013-02-25 01:05:12 +00:00
jacob1
0939494747 fix problems found with valgrind with shifting stamps and saving 2013-02-24 14:12:48 -05:00
Simon Robertshaw
8dfb1ecf87 ACEL and DCEL use life for strength value 2013-02-24 11:50:10 +00:00
jacob1
6b1e99a731 allow ACEL and DCEL strength to be modified with ctype 2013-02-23 23:45:40 -05:00
jacob1
20d8eff7f5 remove uneeded PSTN check, fix PSTN not retracting sometimes, fix PSTN bug where is wouldn't properly tell the difference between PSTN and PSTN arms 2013-02-22 16:50:33 -05:00
jacob1
11f45e3e99 CRAY spawns elements at its temp, fix color glitch with ARAY too, move FRME to force 2013-02-22 11:54:32 -05:00
jacob1
40c4289ce8 fix CRAY(SPRK) bugs, make CRAY act more like before again 2013-02-22 00:19:12 -05:00
jacob1
3da733b027 fix PSTN bugs where FRME would still move even if all of it couldn't, fix PSTN going through walls, fix bug where the PSTN extention may not be created in some glitched cases 2013-02-21 23:35:44 -05:00
jacob1
2184d35b28 reset colored and partsRemaining, to fix bugs when CRAY is sparked multiple times at once 2013-02-20 21:11:50 -05:00
jacob1
74387040a1 fix CRAY INST mode ignoring length, fix CRAY going ignoring walls, fix CRAY + GOL particles, allow CRAY to create sparks 2013-02-20 18:36:00 -05:00
jacob1
a3454c49be fix CRAY only deleting odd numbered elements 2013-02-16 15:11:59 -05:00
jacob1
28e8b9eb39 make smudge tool more similar to the old one 2013-02-09 19:42:31 -05:00
jacob1
1359045b14 fix tpt.selectedl not updating with sample brush, always put photons[] on top in HUD 2013-02-08 22:24:34 -05:00
jacob1
b8d53b5f76 fix sign box size, sign width with {t} and {p}, and zoom box size 2013-02-08 17:59:13 -05:00
jacob1
cd0af92fb3 minor fixes to color picker / small speed improvement 2013-02-08 11:39:14 -05:00
jacob1
8e02443f0a prevent CRAY from destroying DMND 2013-02-01 14:29:18 -05:00
Simon Robertshaw
486d26e40b Allow limited arm size from tmp2 2013-01-26 19:44:05 +00:00
Simon Robertshaw
03fde95719 Fix issue where piston won't push particles at index 0 2013-01-26 18:56:19 +00:00
Simon Robertshaw
631e49b8b7 Piston fix: Adjust colour and prevent piston from pushing too far when there's empty space 2013-01-26 18:04:24 +00:00
Simon Robertshaw
12e3802bf4 Put back default piston size 2013-01-26 17:16:58 +00:00
Simon Robertshaw
8e689fdd08 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-01-26 17:15:02 +00:00
Simon Robertshaw
3e60181dbe Piston collapses spaces properly 2013-01-26 17:14:44 +00:00
jacob1
ea38fc2d86 fix possible crash with LIGH 2013-01-23 21:54:15 -05:00
Simon Robertshaw
7475a49e0b Fix piston retraction 2013-01-23 19:52:45 +00:00
Simon Robertshaw
6c89c63a44 PSTN: Do not accept current from diagonals, increase distance for spark checks 2013-01-23 19:20:52 +00:00
Simon Robertshaw
0034dd654e Fix FRME limits 2013-01-23 19:17:11 +00:00
Simon Robertshaw
412e13a03e Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-01-23 12:39:08 +00:00
Simon Robertshaw
da12cc6d46 Change to pistons, piston push length is base-1 blocks 2013-01-23 12:38:53 +00:00
Simon Robertshaw
a7aa26fa1a Added FRME - A solid that keeps its simple structure when pushed by piston 2013-01-23 12:36:31 +00:00
Simon Robertshaw
00cf48b520 Fully functional pistons, retract+extend 2013-01-23 12:06:06 +00:00
jacob1
07aade6c4c fix crash when pressing enter to open a save, and not logged in. Fix CRAY description 2013-01-23 00:26:57 -05:00
Simon Robertshaw
28fdb32bfb Clean up some unused variables from PSTN.cpp 2013-01-22 22:42:52 +00:00
jacob1
392271a269 fix tpt.set_property setting integers above 255, fix fs.isDir/File, add "Color" as valid property for elements api, fix tpt.display_mode to match tpt, other minor changes 2013-01-21 20:19:34 -05:00
Simon Robertshaw
9fb3e75f93 PSTN.cpp - Remove unused code 2013-01-20 23:08:50 +00:00
Simon Robertshaw
fde0233ea8 Pistons - WIP, No retraction yet 2013-01-20 23:08:16 +00:00
Simon Robertshaw
87d6553413 C-RAY: Similar to A-RAY, creates particles 2013-01-20 14:34:07 +00:00
jacob1
226a85a18d attempt to fix random deletion bug (can't reproduce easily, so can't tell if it's fixed easily) 2013-01-19 23:02:12 -05:00
cracker64
b3037857f0 Detach soap before going into STOR, fixes 1065982 (mostly) 2013-01-11 23:06:42 -05:00
jacob1
986173af4c save signs in snapshots 2013-01-07 17:54:10 -05:00
jacob1
4aaf3b852e fix many more uninitialized variables 2013-01-06 19:41:18 -05:00
jacob1
8e09651990 fix element function replacement option 2013-01-06 12:25:13 -05:00
jacob1
0cf027c529 VOID, VACU, and BHOL eat LIGH as it moves 2013-01-05 22:29:33 -05:00
jacob1
bd3011959a fix GOL detection with DTEC 2013-01-05 19:34:51 -05:00
jacob1
1b2e7b3c70 fix Ctrl+x being one pixel off, better xor_rect from tpt, delete test.c 2013-01-04 13:54:25 -05:00
jacob1
9ecfbe5a18 Merge remote-tracking branch 'origin/master' 2012-12-23 18:17:34 -05:00
jacob1
312dd8c0ba revert stickmen CONV fix, and do it another way that doesn't crash 2012-12-23 18:17:04 -05:00
jacob1
b6e69e8126 Fix small mistake in TSNS 2012-12-21 00:18:10 -05:00
jacob1
e1440f48f6 use kill_part when creating a new particle over an index, fixes STKM not respawning after CONV and probably other stuff too 2012-12-18 16:26:24 -05:00
jacob1
dc0e47ac00 fix undo not allowing any more stickmen to be placed, save stickmen in snapshots 2012-12-18 16:17:13 -05:00
jacob1
9a2df6b824 fix sltw + liquid rubiduim explosion, make it work like water's 2012-12-18 15:17:57 -05:00
jacob1
b236c75209 make TSNS not detect METL, some other sensor and CONV fixes 2012-12-18 14:55:10 -05:00
jacob1
771d71ea46 make water equalization use flags, not tmp2 (fixes EXOT / BUBW) 2012-12-18 14:08:53 -05:00
jacob1
dbe78c342d initialize variables in air.cpp and simulation.cpp 2012-12-17 23:49:46 -05:00
jacob1
b5de23433d fix '=' resetting air heat, fix uninitialized ambient heat setting, a few LOLZ / LOVE changes 2012-12-17 21:11:33 -05:00
jacob1
2728cf852b fix WARP being invisible, make it visible in heat display mode though 2012-12-17 20:08:46 -05:00
jacob1
f08481a88e fix TRON ignoring GOO until the last moment 2012-12-17 18:42:41 -05:00
jacksonmj
e4907d1881 Copy dcolour when MERC expands, to let people make coloured mercury thermometers 2012-12-16 00:16:05 +00:00
jacob1
a623959a31 save stamps on 1 pixel grid (works exactly like in tpt now), delete signs with Ctrl+X, also fixes stamps on very bottom/right edge and other edge cases 2012-12-15 15:13:12 -05:00
Simon Robertshaw
a1af662b8f More accurate elementCount 2012-12-14 23:01:54 +00:00
jacob1
f03fb97620 Merge remote-tracking branch 'origin/master' 2012-12-14 13:51:44 -05:00
jacob1
5362c56f7e update gravity wall zones whether or not newtonian gravity is on. Fixes #92 2012-12-14 13:50:36 -05:00
Simon Robertshaw
e5feefa419 Update WIRE name and description, fixes #101 2012-12-14 18:50:25 +00:00
jacob1
002743ef08 make it easier to create new energy particles (like for mods), they would just disappear when hitting anything before 2012-12-12 22:05:39 -05:00
jacob1
226de5b6f8 add back element descriptions in some cpp files, fix minor TRON search problem. Also,
TPT-jacksonmj: Also fix bugs with energy particles that pass directly from PIPE to portal
2012-12-06 19:51:33 -05:00
jacob1
a15372afbf TRON_NORANDOM flag 2012-12-06 18:42:46 -05:00
jacob1
2881eeb1b3 allow TRON to plan ahead which particles will disappear by the time it gets there, and go on INVS too 2012-12-06 17:53:22 -05:00
jacob1
122599763e Merge remote-tracking branch 'origin/master' 2012-12-06 11:01:46 -05:00
jacob1
2d7ac84c1d give TRON the ability to go through activated SWCH 2012-12-06 10:56:24 -05:00
jacksonmj
9bf5eeeef9 Fix slight particle order issue with SWCH 2012-12-04 19:38:01 +00:00
jacob1
2a8811190c Fix infinite pressure glitch with CLST 2012-12-01 12:17:41 -05:00
jacob1
6a4040f2b7 Update src/simulation/elements/VIBR.cpp
fix EXOT destroying exploding VIBR
2012-11-23 21:28:10 -05:00
jacob1
7a21ae192f VINE cool/burn effects like in PLNT, less sharp burn lines, fix infinite smoke from TNT 2012-11-16 23:35:34 -05:00
jacob1
9e72a619ab fix directly sparking metal not heating it up, fix formatting, allowing update_particles_i to be parsed 2012-11-16 22:43:46 -05:00
jacob1
16e4c5f717 save pause state in stamps, load pause state from local saves and stamps correctly, remove accidental inclusion 2012-11-15 20:41:38 -05:00
jacob1
1e32c545d9 fix visual studio std::max problem 2012-11-15 20:23:38 -05:00
Simon Robertshaw
29189693b3 Element palette for automatic element ID/mod mapping 2012-11-12 10:22:16 +00:00
jacksonmj
fbbe9d81bf Transfer energy between VIBR and BVBR 2012-11-05 21:45:22 +00:00
jacksonmj
7da144fbae Fix INVS staying dark blue even when pressure is removed 2012-11-05 14:45:46 +00:00
jacksonmj
956fb39124 Oops, didn't see that parts[i].temp at the bottom, ignore the second half of that last commit message 2012-11-05 14:42:06 +00:00
jacksonmj
3cae63c733 VIBR: don't dump heat into elements that don't conduct heat, and put any remaining heat into EXOT at the end of the explosion 2012-11-05 14:18:28 +00:00
jacob1
dc41e46c81 fix two red BRAYS not being able to turn off swch from certain angles 2012-11-04 22:44:49 +00:00
jacob1
ca42162e5e fix heat release during explosion 2012-11-04 21:35:35 +00:00
jacksonmj
828623f9ec Change freezing point of VIBR lava, and make sure VIBR always absorbs energy particles 2012-11-04 21:10:27 +00:00
jacksonmj
12eb085d20 VIBR changes from jacob1
Including:
Molten TTAN + EXOT = VIBR.
VIBR + ANAR = BVBR. (BOYL reaction removed)
All absorbed heat/particles/pressure are stored in one property, tmp.
Graphics changes
2012-11-04 20:35:43 +00:00
jacob1
d586a6d0ab PPIP doesn't break with pressure, to match TPT 2012-11-03 16:11:54 +00:00
jacksonmj
2ed53a99ae Change EXOT properties to match TPT 2012-11-03 16:11:11 +00:00
jacksonmj
fea55f9ac9 Add PLSM to stacking exclusion list, and fix some cases of stacked EMBR causing BHOL
Stacked EMBR + displacement -> other particles stacked -> BHOL.
Therefore stop displacement to stop BHOL formation.
2012-11-01 00:28:45 +00:00
Bryan Hoyle
32bdcb89e8 VIBR fixes 2012-10-28 21:11:18 -04:00
jacksonmj
caf262ed60 Decrease absorption chance for SPNG, to make release of water from saturated SPNG look a bit less strange 2012-10-27 00:56:02 +01:00