Commit Graph

607 Commits

Author SHA1 Message Date
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
jacksonmj
9a0ca32372 Make conversion of PHOT to ELEC using BIZR, and enrichment of DEUT with ELEC, work better 2012-10-27 00:56:02 +01:00
Simon Robertshaw
9b4f710e28 Menu icon for sensors menu and fix for VIBR std::max args 2012-10-26 15:58:39 +01:00
Simon Robertshaw
a1d98ffc31 Fix BVBR for generate.py 2012-10-26 15:29:55 +01:00
jacob1
6d6b0dfa9f some VIBR changes, also allow it to be compiled with Scons 2012-10-26 15:18:52 +01:00
Simon Robertshaw
63daf67d44 Improve EXOT description 2012-10-26 15:14:57 +01:00
jacob1
6d1c7be740 initialize all stickmen variables, not just legs 2012-10-26 15:13:27 +01:00
jacob1
4d207b1146 fix INVS graphics 2012-10-26 15:12:21 +01:00
jacob1
947660fcd4 Fix hydrogen not burning right (with and without realistic heat), allow h2 to burn at all temps while still allowing fusion to work correctly 2012-10-26 15:12:13 +01:00
jacob1
ccd9284e61 improve the GOL menu descriptions 2012-10-26 15:12:05 +01:00
jacob1
c58a3fb2dc TSNS doesn't detect things with an equal temp (fixes detecting wires) 2012-10-26 15:11:59 +01:00
jacob1
b84460d79b visual studio compatibility, plus change text a little 2012-10-26 15:11:43 +01:00
jacob1
3f093c8072 VIBR explosion/graphical changes, it now has a while before it explodes after getting to the limit 2012-10-26 15:11:22 +01:00
jacob1
cd7ca6d417 some VIBR changes/fixes 2012-10-26 15:10:50 +01:00
jacob1
04b76a4b48 VIBR/BVBR - vibranium. Initial commit, doesn't seem to work yet 2012-10-26 15:10:44 +01:00
Simon Robertshaw
0b09d2e0f3 Allow TSNS and DTEC to detect photons and other energy particles. Set default TSNS radius to 1 to make it easier to avoid detecting the wire connections 2012-10-10 21:27:36 +01:00
Simon Robertshaw
da07c22ee4 new elements: DMG (Force bomb) and TSNS (Temperature sensor) 2012-10-10 19:29:11 +01:00
Simon Robertshaw
249e3dcad3 Merge pull request #195 from Huulivoide/master
Minor fixes needed to build on Linux/64bit.
2012-10-09 08:43:13 -07:00
Simon Robertshaw
af181faeea Revert "multiple BRCK colors (suggested by Catelite)"
This reverts commit 4a8ae25299e465ab55072dd512b5818881ec5a67.
2012-10-05 17:25:04 +01:00
jacob1
774bc08c2c Move LOLZ/LOVE Rule tables into more appropriate location (element file) 2012-10-05 16:52:53 +01:00
jacob1
d159467b63 LOLZ and LOVE work again 2012-10-05 16:33:54 +01:00
jacob1
f19f393e22 multiple BRCK colors (suggested by Catelite) 2012-10-05 16:33:45 +01:00
jacob1
a16534e782 don't let TNT flood fill explode when under other particles (prevents lag) 2012-10-05 16:33:24 +01:00
jacob1
d2af4470a5 show # of parts, [GRID X], PIPE/PPIP with X, and molten X (with debug on) in HUD 2012-10-05 16:33:12 +01:00
jacob1
e600c20ba9 undo ambient heat in snapshots 2012-10-05 16:32:06 +01:00
jacob1
71db872e64 {t:15100|text} to open a forum thread (will try to add more shortcuts later) 2012-10-05 16:30:55 +01:00
jacob1
5c59b9d6cb don't render fire on stamps (reduces lag) 2012-10-05 15:49:54 +01:00
jacksonmj
707c11203e Fix extra BUBW sometimes being produced when CO2 dissolves 2012-10-03 15:42:30 +01:00
Jesse Jaara
1ba412d3ba Add couple of missing header files needed by GCC 4.7. 2012-10-02 23:29:40 +03:00
Simon Robertshaw
b98f5faace Fix photon blending mode 2012-10-01 21:54:52 +01:00
Simon Robertshaw
98faf2b192 Don't reset tick counter when loading saves, fixes issue with LIGH tool 2012-10-01 12:32:56 +01:00
jacob1
be1b9112e8 Fix some uninitialized variables, add back sandcolor changing 2012-09-30 20:43:38 +01:00
Simon Robertshaw
006dfdf596 Move PPIP to powered 2012-09-29 23:02:22 +01:00
jacob1
2a4298047c Fix smudge issue 2012-09-25 22:57:11 +01:00
Simon Robertshaw
25d872ec48 MacOS X targets for Scons, Fix some inlines for clang 2012-09-25 17:53:48 +01:00
Simon Robertshaw
3b2f4d59fc Better fire rendering for saves 2012-09-14 23:53:58 +01:00
Simon Robertshaw
5b9032fb3f Correct initialisation of FIGH 2012-09-14 22:23:35 +01:00
Simon Robertshaw
685be24ffa Remove testing particle from repo 2012-09-13 23:01:30 +01:00
Simon Robertshaw
3e0fcc904e Disable JIT for now 2012-09-13 11:01:09 +01:00
jacob1
5a91b83875 revert changing the lua/sdl includes and min/max changes 2012-09-07 00:53:29 +01:00
jacob1
f8f70a3f77 Visual studio compatibility
This removes some inlines when using visual studio to compile, uisng TPT_NO_INLINE. It also fixes many other problems visual studio has with the code
2012-09-07 00:52:56 +01:00
jacob1
2dcdca2761 fix spark color in nothing mode 2012-09-07 00:37:53 +01:00
jacob1
24b4b0b187 Fix bugs with energy particles in PIPE 2012-09-07 00:36:02 +01:00
jacob1
1391de2e3a Wall names in HUD
Conflicts:

	src/game/GameView.cpp
2012-09-07 00:35:33 +01:00
Simon Robertshaw
b0158e2f60 Changes to Smudge and blending modes (make them a little slower and easier to handle) 2012-09-05 21:49:34 +01:00
Simon Robertshaw
0a67e560f4 Fix Simulation Tool brush issue (misalignment/didn't work with small brushes). Fixes #167 2012-09-01 17:17:15 +01:00
Simon Robertshaw
322d224fa7 Get/Set single element properties 2012-08-30 17:09:27 +01:00
Simon Robertshaw
a9fba97c36 Fix streamline placement 2012-08-30 01:50:18 +01:00
Simon Robertshaw
58dc2559aa Implement retrieval of element properties 2012-08-29 22:04:07 +01:00
Simon Robertshaw
92f3ad5814 Black decorations only in thumbnails 2012-08-28 15:53:07 +01:00
Simon Robertshaw
1fb544815f Correct PHOT colour during fusion 2012-08-28 15:13:20 +01:00
Simon Robertshaw
14c0ea59a9 cold phot doesn't burn things 2012-08-28 15:09:32 +01:00
Simon Robertshaw
05e32f1698 Fix things melting with heat sim off 2012-08-28 15:08:11 +01:00
Simon Robertshaw
4263e3aab7 DTEC, generates a spark when something with it's ctype is nearby 2012-08-28 14:17:01 +01:00
Simon Robertshaw
29619e9ebf WOOD and PLNT turn grey when hot, bluish when cold 2012-08-28 13:19:34 +01:00
Simon Robertshaw
99b2d8d67d Limit SPNG saturation and reduce absorbtion rate for GEL and SPNG with some elements 2012-08-28 12:48:50 +01:00
Simon Robertshaw
5ded005b0c Correct proportions of CO2 and WATR when GEL/SPNG is absorbing BUBW 2012-08-28 12:40:18 +01:00
Simon Robertshaw
91ec4d1125 GEL and SPNG absorb water from more elements and leave behind what the water was mixed width 2012-08-28 12:38:18 +01:00
Simon Robertshaw
86fc8e1eb3 TPT: Prevent Acid from eating broken glass 2012-08-28 12:28:16 +01:00
Simon Robertshaw
072cfe67aa Missing part of TPT commit 04a09d997, for TTAN, nt and surround_space is now from 0 to 8 2012-08-27 15:11:45 +01:00
Simon Robertshaw
dd2fc64793 Fix bug in history restoring where the lastActiveIndex is not updated leading to incomplete restoring 2012-08-27 13:33:15 +01:00
Simon Robertshaw
0ca680f4c8 Enable decorations in renderer for local save items, disable for server save previews. 2012-08-27 13:32:17 +01:00
Simon Robertshaw
ebc4116675 Disable decorations when rendering saves 2012-08-26 16:37:17 +01:00
Simon Robertshaw
5c293ba9bf Fix messed up revert 2012-08-25 16:41:34 +01:00
Simon Robertshaw
59a78621d9 Complete "Consistent proportions of WATR and SALT in SLTW" after REALISTIC revert 2012-08-25 16:36:01 +01:00
Simon Robertshaw
1987efd6e5 Revert "HYGN now combusts and fuses properly"
This reverts commit ede6876a82.
2012-08-25 16:33:12 +01:00
Simon Robertshaw
9b10f0c390 Revert "final fusion fixes"
This reverts commit add4226f31.
2012-08-25 16:32:51 +01:00
Simon Robertshaw
082072a05e OPS: Fix byte order when unpacking 4 byte tmp fields 2012-08-25 16:29:27 +01:00
Simon Robertshaw
ae3c9ddf39 Don't you just hate those fencepost errors... Stop going out of bounds when traversing the X axis with gravity mask. 2012-08-24 20:36:23 +01:00
Simon Robertshaw
822539bcdb More efficient floodfill function for gravity walls, no need for larger stacks with 64bit builds 2012-08-24 18:22:02 +01:00
Simon Robertshaw
fb6f36907f PPIP glowing brick in fire mode 2012-08-21 14:58:23 +01:00
Simon Robertshaw
b6736f967e Add EMP flash, fixes #137 2012-08-21 13:00:31 +01:00
Simon Robertshaw
4b8ebe4abd Air heat simulation now knows about gravity mode. fixes #142 2012-08-21 12:26:39 +01:00
Bryan Hoyle
add4226f31 final fusion fixes 2012-08-20 17:46:51 -04:00
Bryan Hoyle
ede6876a82 HYGN now combusts and fuses properly 2012-08-20 16:59:19 -04:00
Simon Robertshaw
51a0fb2d45 TPT: Prevent CONV from destroying diamond 2012-08-20 16:54:56 +01:00
Simon Robertshaw
b318c3721a TPT: Powered pipe, based on jacob1's commits 2012-08-20 16:48:03 +01:00
Simon Robertshaw
9c599a7b9f TPT: fix enegery particles going into PIPE 2012-08-20 14:26:08 +01:00
Simon Robertshaw
fb02d57aca TPT: Fix salt/water proportions when dissolving into DSTW as well 2012-08-20 14:08:27 +01:00
Simon Robertshaw
29283b038c TPT: Consistent proportions of WATR and SALT in SLTW (1 SALT + 3 WATR = 4 SLTW) 2012-08-20 13:55:11 +01:00
Simon Robertshaw
7fc8d5f388 Add missing legacy update function 2012-08-20 13:41:03 +01:00
Savely Skresanov
d6fe7fa2c8 Basic realistic heat and latent heat support. 2012-08-19 20:06:10 +07:00
Simon Robertshaw
3d140d310e Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-08-19 11:30:57 +01:00
Simon Robertshaw
7ae2369dda Make ngrav negative, fixes #133 2012-08-19 11:30:44 +01:00
Simon Robertshaw
0092229132 Don't delete Simulation::Elements now that it's not runtime allocated 2012-08-19 00:49:24 +01:00
Simon Robertshaw
63da7a4afe Initialise stickman legs correctly 2012-08-18 17:31:31 +01:00
Simon Robertshaw
ce3bb6f755 Element slots default to disabled 2012-08-18 17:19:39 +01:00
Simon Robertshaw
9b2433f912 Fix typo 2012-08-18 17:13:13 +01:00
Simon Robertshaw
7018e46fac Remove disabled elements when simulating. Fix crash when kill_part is run on elements with invalid types 2012-08-18 17:08:24 +01:00
Simon Robertshaw
edad8f46af Undo/Snapshots, fixes #118 2012-08-16 22:03:40 +01:00
Simon Robertshaw
f19c7f62c7 Air invert and grid mode switching 2012-08-16 12:15:29 +01:00
Simon Robertshaw
a7711668b7 Strings.h for strcasecmp in Simulation 2012-08-14 18:06:18 +01:00
Simon Robertshaw
b06f7f5b6d Air and heat tool limits, fixes #112 2012-08-14 16:29:07 +01:00
Simon Robertshaw
074dcd0b42 Precompile some headers. Fix sconscript to prevent recompiling everything 2012-08-13 15:43:57 +01:00
Bryan Hoyle
ae469e8e02 oops, fixed a bad piece of code I added 2012-08-12 19:10:01 -04:00
Bryan Hoyle
1dc6c7cfef Opengl fixes 2012-08-12 17:40:44 -04:00
Simon Robertshaw
8ca27520a4 Use forward declarations more to avoid excessive includes 2012-08-12 22:32:57 +01:00
Simon Robertshaw
2f76c2374d TPT: Give menu color to elements without one (stickmen, TRON, and WARP) 2012-08-11 11:57:21 +01:00
Simon Robertshaw
a6b3674f22 Fix PIPE, fixes #92 2012-08-10 22:30:19 +01:00
Simon Robertshaw
3499cb3035 Wall brush, fixes #63 2012-08-10 18:59:05 +01:00
Simon Robertshaw
a45ca0363e Tool - Correct box drawing. Finishing touches to tool strength (Fixes #87) 2012-08-10 14:12:56 +01:00
Simon Robertshaw
810ea42f99 Only render gravity lensing if it's enabled, Ctrl and Shift to alter tool strength (Shift = x10, Ctrl = x0.1) 2012-08-10 14:03:23 +01:00
Simon Robertshaw
b01b0e422a HUD verbose sample info with 'd', fixes #71 2012-08-09 21:28:43 +01:00
Simon Robertshaw
9971ea63b7 Slow LIGH creation speed, fixes #86 2012-08-09 21:05:20 +01:00
Simon Robertshaw
a8dcc7a070 Started work on save as current name 2012-08-06 22:24:10 +01:00
Simon Robertshaw
662640c96c Fix previous merge with SOAP.cpp that created a bug in SOAP. add debug lines for PRTI, PRTO, WIFI and lines for SOAP. 2012-08-06 16:14:08 +01:00
Simon Robertshaw
d46a72aa3b Font glyphs for decorations and element search 2012-08-05 22:02:12 +01:00
Simon Robertshaw
4ce22e4e77 Wall Edge option, fixes #70 2012-08-05 18:35:12 +01:00
Simon Robertshaw
30f8049efc Allow 24bits of var for create_part, add tool for tesc. Fixes #72 2012-08-05 16:59:14 +01:00
Simon Robertshaw
3030d67516 Fan wall line tool, fixes #61 2012-08-05 16:14:33 +01:00
Simon Robertshaw
50103aa074 Fix some of the flood fill methods 2012-08-05 16:11:43 +01:00
Simon Robertshaw
ed270d8dbf Draw gravity zones when using grav wall 2012-08-05 15:26:17 +01:00
Simon Robertshaw
351ce1525f Update gravity walls, fixes issue #52 2012-08-05 14:03:54 +01:00
Simon Robertshaw
0558322709 Add icons for erase, improve icons for certain walls, fix issue #45 2012-08-04 15:26:55 +01:00
Simon Robertshaw
f32cd872ca Set initial stickman spit element in create_part, fixes the rest of #50 2012-08-04 14:38:59 +01:00
ntoskrnl
baf07e470e Build fixes for FreeBSD 2012-08-04 11:32:48 +01:00
Simon Robertshaw
11d2b0eb3c Correct VAC and EXOT colours, issue #49 2012-08-03 18:04:18 +01:00
Simon Robertshaw
347c382e99 Allow PROP to set types from element name, fixes issue #48 2012-08-03 12:52:07 +01:00
Simon Robertshaw
24006ee44a Grav colour, addresses rest of #41, colour will vary from original TPT 2012-08-03 01:40:13 +01:00
Simon Robertshaw
4233bc743c Use HFLM colour data, addresses some of issue #41 2012-08-03 01:18:39 +01:00
ntoskrnl
f94fabd999 Rename WIN32 preprocessor definition to WIN 2012-08-02 15:21:16 +01:00
Simon Robertshaw
90ad1fd856 Restart N. Grav when needed (somewhat effects issue #31) and fix shitty logic when setting paused state on loading save (Fixes issue #34) 2012-07-29 12:29:19 +01:00
Simon Robertshaw
824bde4ceb clear_sim now clears air and gravity maps better, fixes issue #31 2012-07-29 12:18:07 +01:00
Simon Robertshaw
1f914561b2 Better syncing for elementCount, fixes issue #21 2012-07-29 02:07:04 +01:00
Simon Robertshaw
0b3724215e Remove blockair update in Air.cpp function to fix TTAN - solves issue #30 2012-07-29 01:40:42 +01:00
Simon Robertshaw
4b1c388995 Update ambient heat when enabled, fixes issue #28 2012-07-28 12:30:41 +01:00
Simon Robertshaw
aa774771a0 Collapse gamesave to save space in memory 2012-07-28 02:23:21 +01:00
Simon Robertshaw
5befe5c25f Local file browser + some more interesting things like Progress bar UI component 2012-07-27 20:06:17 +01:00
Simon Robertshaw
8c7755d5d2 TPT: Now stickmen can shoot plasma. dc01f09f0e 2012-07-25 20:04:47 +01:00
Simon Robertshaw
79727c9193 Fix for previous commits 2012-07-25 19:47:27 +01:00
Simon Robertshaw
a033fe7e49 TPT: Add ptypes.enabled checks to a few more places 61f39f5464 2012-07-25 19:42:53 +01:00
Simon Robertshaw
a5d6c56f8c TPT: Salt should only melt ice that is above saltwater freezing temperature 3e1d3cd5a6 2012-07-25 19:33:40 +01:00
Simon Robertshaw
f8766201a6 TPT: Optimization for GoL, Added brush size and mouse wheel to lua! e7035233fd 2012-07-25 19:32:36 +01:00
Simon Robertshaw
76070f99e0 TPT: This should fix PLNT lag just a little bit... (mostly after shooting though NEUT) 5f3c10a684 2012-07-25 18:46:15 +01:00
Simon Robertshaw
fad2311c36 TPT: C5 should not explode when touching cold INSL a925eea52c 2012-07-25 18:44:30 +01:00
Simon Robertshaw
67d449df3d Fix typo in EMBR gravity 2012-07-25 18:43:19 +01:00
Simon Robertshaw
b9e16d4bc6 TPT: Prevent STKM falling through activated PVOD with a ctype that isn't STKM 637ee194e0 2012-07-25 18:32:10 +01:00
Simon Robertshaw
1e5eba3583 TPT: Make VOID and BHOL eat stickmen again 1f4f50682c 2012-07-25 18:27:08 +01:00
Simon Robertshaw
41cbd69ac8 TPT: Use atan2 for LIGH angle calculations 966f1dcc23 2012-07-25 18:25:37 +01:00
Simon Robertshaw
de4fe1a38e TPT: Reduce rate of lightning creation by clone 167740e839 2012-07-25 18:23:07 +01:00
Simon Robertshaw
5337f91736 TPT: Lightning direction affected by Newtonian gravity 3a946efdfd 2012-07-25 18:21:25 +01:00
Simon Robertshaw
55c870c518 TPT: Allow INST to be sparked directly with the brush 8de602d467 2012-07-25 18:15:13 +01:00
Simon Robertshaw
aa156fb933 TPT: Fix infinite loop when flood_INST finds some INST with a non zero lif... 9ee316c3e9 2012-07-25 18:13:09 +01:00
Simon Robertshaw
9edf65fb3f TPT: FIRW: less advection, and don't go faster when multiple fire particle... 9988dc17aa 2012-07-25 18:03:43 +01:00
Simon Robertshaw
38e2eec808 TPT: Completely remove SING formation from fusion 81771d8672 2012-07-25 18:02:38 +01:00
Simon Robertshaw
0b77f1b2ed TPT: Only create one NBLE particle for each fusing H2 particle 29aab750e5 2012-07-25 18:01:58 +01:00
Simon Robertshaw
971fbc71f9 TPT: fix compression during fusion 287822229f 2012-07-25 18:01:15 +01:00
Simon Robertshaw
2135d88644 TPT: Reset particle flags in create_part 135e91b84d 2012-07-25 17:52:26 +01:00
Simon Robertshaw
799954f383 TPT: Allow stickman head to go through everything 95ca29cc64 2012-07-25 17:51:37 +01:00
Simon Robertshaw
7859cc839c TPT: Prevent STKM floating in gases 31a61d0888 2012-07-25 17:45:30 +01:00
Simon Robertshaw
e36bc8e4ae TPT: Gravity modes and Newtonian gravity for fireworks 31ce22f122 2012-07-25 17:44:29 +01:00
Simon Robertshaw
811c2cb26b TPT: Use eval_move(PT_FIGH, ...) when fighters are checking for obstacles 79614a9719 2012-07-25 17:21:13 +01:00
Simon Robertshaw
6585a4640b TPT: Replace all explosion sparks with new element (EMBR) 1d5b081942 2012-07-25 17:12:15 +01:00
Simon Robertshaw
0afecb5b77 TPT: Replace all explosion sparks with new element (EMBR) 1d5b081942 2012-07-25 17:11:36 +01:00
Simon Robertshaw
57c356e495 TPT: Make ELEC+water form H2 and O2 in the correct proportions 9b2c2a78a6 2012-07-25 15:56:42 +01:00
Simon Robertshaw
6dc7eaf43e TPT: Prevent stacking from ELEC+NEUT, ELEC+water, and CO2 from BUBW ae5470ca78 2012-07-25 15:55:42 +01:00
Simon Robertshaw
08d1dd06ed TPT: Fix STKM causing stacking and falling through some powders c14704ae49 2012-07-25 15:47:18 +01:00
Simon Robertshaw
2214ab4eb0 TPT: Correct freezing temperature for SLTW (-21.1 C) 06d2d5267e 2012-07-25 15:36:40 +01:00
Simon Robertshaw
2189d298a7 TPT: Move INST flood fill into a separate function 36de2f19f5 2012-07-25 15:32:05 +01:00
Simon Robertshaw
fad383f392 TPT: Update to EXOT that makes it permeable to neutrons as well as electro... a104696620 2012-07-25 15:05:55 +01:00
Simon Robertshaw
32d9b87f66 Correct Stickman appearance 2012-07-25 14:24:03 +01:00
Simon Robertshaw
d50d45ecff Fix deco smudge tool 2012-07-24 15:56:01 +01:00
Simon Robertshaw
603cf3149d HUD improvements 2012-07-24 14:58:39 +01:00
Simon Robertshaw
e65e222f2c Integer values for prefs, Default decoration colour, clear decoration 2012-07-24 13:03:28 +01:00
Simon Robertshaw
f7d8556965 Icons for menu items 2012-07-21 18:43:46 +01:00
Simon Robertshaw
c2873180e2 GOL loads gol colours for use 2012-07-19 17:05:01 +01:00
Simon Robertshaw
2b4ec99894 Use two functions for renderer drawing instead of several, fix alignment with Zoom Window border 2012-07-19 16:37:56 +01:00
Simon Robertshaw
80044bb0f0 Renderer Presets and default graphics function 2012-07-18 17:22:35 +01:00
Simon Robertshaw
adc9cc0816 Move graphics into seperate folder 2012-07-06 16:06:26 +01:00
Simon Robertshaw
694a6ed4f2 Ammend to previous commit - the issue was not with smaller saves, but the accumulation of rendered particles on the framebuffer - fixed by clearing the fbo and pbo before rendering 2012-06-25 22:34:04 +01:00
Simon Robertshaw
2ffb45581f SaveRenderer working on OpenGL - doesn't seem to work with small saves though 2012-06-25 22:26:53 +01:00
Simon Robertshaw
dacb774ae0 Resizable window when using OpenGL interface 2012-06-25 16:10:40 +01:00
Simon Robertshaw
ab8f382acc Sign tool can now edit existing signs 2012-06-25 13:57:23 +01:00
Simon Robertshaw
04b007b36f Create FFT plan on demand instead of at startup on the main thread 2012-06-25 12:19:26 +01:00
Simon Robertshaw
550f6e28e0 Stage 1 of update process completed 2012-06-21 15:49:32 +01:00
Bryan Hoyle
3b29a74767 fixes to code and a option for opengl building for release 2012-06-20 15:05:25 -04:00
Bryan Hoyle
c775126272 Merging 2012-06-20 14:45:06 -04:00
Simon Robertshaw
09758b9152 SaveRenderer returns a placeholder thumbnail in case of OpenGL 2012-06-20 19:43:03 +01:00
Bryan Hoyle
e5e638448c remove some debugging 2012-06-20 14:42:42 -04:00
Bryan Hoyle
b35255b722 Renders an X in place of save icons, atm. 2012-06-20 14:25:41 -04:00
Bryan Hoyle
c9f837f21d Opengl can open saves now, just need to get it to render accurately later 2012-06-20 14:23:22 -04:00
Simon Robertshaw
edac8b5481 Free tools 2012-06-18 15:32:15 +01:00
Simon Robertshaw
741392f2c1 Free platent and elements 2012-06-18 15:25:24 +01:00
Simon Robertshaw
4bda62b68c TPT: Make ambient heat convection work a bit better 2012-06-13 01:40:13 +01:00
Simon Robertshaw
57548b60d9 TPT: STOR should not conduct heat 2012-06-13 01:38:09 +01:00
Simon Robertshaw
0cb47ab93c TPT: Remember ctype when cloning lava 2012-06-13 01:37:32 +01:00
Simon Robertshaw
f0778c2033 TPT: Prevent THDR from counting towards stacked particle limit 2012-06-13 01:28:33 +01:00
Simon Robertshaw
5f81b70787 TPT: Avoid stacking in INVS and FILT, and fix pressurised INVS graphics 2012-06-13 01:28:00 +01:00
Simon Robertshaw
2aebc294e8 TPT: Run stacking check less often 2012-06-13 01:21:33 +01:00
Simon Robertshaw
7e0a315880 TPT: Create BHOL when particles are stacked excessively 2012-06-13 01:14:21 +01:00
Simon Robertshaw
a4d156fc6b TPT: Prevent solid particles stacking in E-Hole 2012-06-13 01:06:44 +01:00
Simon Robertshaw
59920c1a62 TPT: TTAN updates 2012-06-13 01:03:21 +01:00
Simon Robertshaw
c63de0ff6d TPT: Return 0 after particle type change 2012-06-13 00:58:33 +01:00
Simon Robertshaw
427670682f TPT: EXOT 2012-06-13 00:57:02 +01:00
Simon Robertshaw
19d071f10b TPT: Tron wasn't keeping its NODIE flag 2012-06-12 21:30:08 +01:00
Simon Robertshaw
c7ec0b76f6 TPT: Fix the bug with not-spawning fighter. 2012-06-12 21:29:24 +01:00
Simon Robertshaw
ef777b92dc TPT: Put ifs into switch in create_part 2012-06-12 21:28:37 +01:00
Simon Robertshaw
db86294e6a TPT: Prevent allocation of particles with type==0, bleep bloop 2012-06-12 20:16:33 +01:00
Simon Robertshaw
9033786e49 TPT: Fix PROP_NEUTPENETRATE, particles weren't being moved into empty space 2012-06-12 20:15:33 +01:00
Simon Robertshaw
c0008efb74 Fix SOAP.cpp from previous commit 2012-06-12 20:14:02 +01:00
Simon Robertshaw
f8badc05d4 TPT: Fixed the bug with snow, where it melted without taking it's ctype into account. 2012-06-12 20:13:04 +01:00
Simon Robertshaw
9b8fba4a19 TPT: Fix SLTW boiling temperature typo 2012-06-12 20:07:51 +01:00
Simon Robertshaw
a3a8ef7f7a TPT: Soap bubbles are easily formed now. 2012-06-12 20:05:59 +01:00
Simon Robertshaw
2e1780ce4e TPT: VOID & PVOD can be set to only eat/not eat certain things 2012-06-12 19:59:19 +01:00
Simon Robertshaw
a95ceb4c92 TPT: energy type particles automatically go into photons, not pmap 2012-06-12 19:55:00 +01:00
Simon Robertshaw
d68110c351 TPT: small o2 fusion change 2012-06-12 19:32:44 +01:00
Simon Robertshaw
dd041d1699 TPT: GPMP activated at draw 2012-06-12 19:29:10 +01:00
Simon Robertshaw
780682c22d TPT: oxygen fusion, fix two small bugs 2012-06-12 19:26:47 +01:00
Simon Robertshaw
a93caaa3c7 TPT: fusion changes 2012-06-12 19:11:57 +01:00
Simon Robertshaw
0e8d055d8b TPT: Fix the bug with stickman standing on the screen edge. d0a1b14409 2012-06-12 18:54:03 +01:00
Simon Robertshaw
583bf2a091 TPT: Fix the bug where gel didn't transfer water from sponge. 0cf636ad24 2012-06-12 18:51:38 +01:00
Simon Robertshaw
1ccdc1dc12 TPT: Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me) c5b9b8d28a 2012-06-12 18:50:43 +01:00
Simon Robertshaw
af5c399c24 TPT: Update gravity mask when loading saves 0fb6b85706 2012-06-12 18:48:00 +01:00
Simon Robertshaw
efa0e5d0d6 TPT Fix infinite loop when trying to detach soap with extra ctype bits set eb0b2f9ca3 2012-06-12 18:46:24 +01:00
Simon Robertshaw
48459fc40d TPT: Change order of bomb loops - delete particles before creating sparks 089ea8b7a0 2012-06-12 18:45:03 +01:00
Simon Robertshaw
391165409d TPT: New flood_parts function, should fix crashing due to too much recursion a11202313d 2012-06-12 18:41:36 +01:00
Simon Robertshaw
10f51cb586 TPT: Make TTAN block pressure when framestepping 58ea2b2acf 2012-06-12 18:22:25 +01:00
Simon Robertshaw
e0ab8c5810 Correct TTAN high temperature transition 2012-06-12 18:18:26 +01:00
Simon Robertshaw
5f68a41742 TPT: Allow TTAN to conduct more than once 81f84c4678 2012-06-12 18:17:51 +01:00
Simon Robertshaw
7c5e74410b TPT: New element: Titanium, absorbs some neutrons, acts as a solid wall to air d7fa0b139e 2012-06-12 18:16:40 +01:00
Simon Robertshaw
6ae650d04c TPT: Fix TNT not exploding if multiple TNT particles are in the same place de6203e049 2012-06-12 18:00:03 +01:00
Simon Robertshaw
e3634e3b5f TPT: Remove silly copypasta from GPMP, causing gravity to depend on air pressure befd4f5ef5 2012-06-12 17:59:09 +01:00
Simon Robertshaw
a1a0fb5c02 TPT: Fix for PUMP 835d6bbfb9 2012-06-12 17:35:21 +01:00
Simon Robertshaw
cc8ae0dc44 TPT: Limit gel tmp value 1c5381662d 2012-06-12 17:32:43 +01:00
Simon Robertshaw
6af88ee7da TPT: Change pipe and portal to check element type using properties instead of falldown and state 11bd67eb61 2012-06-12 17:31:32 +01:00
Simon Robertshaw
50a587813e TPT: Add PROP_NOAMBHEAT to prevent certain elements from being heated by Ambient heat 8397b6e51a 2012-06-12 17:25:06 +01:00
Simon Robertshaw
80bb49ca12 TPT: One gel particle can't absorb more than 100 water particles now. 74979102b3 2012-06-12 17:08:15 +01:00
Simon Robertshaw
f2e1d38b58 TPT: Save soap bubbles 6717f4ff32 2012-06-12 17:06:38 +01:00
Simon Robertshaw
2633af01d7 TPT: Fix bounds checking for SING and make explosion pressure area smaller d7f798da60 2012-06-12 16:34:39 +01:00
Simon Robertshaw
a270acfc54 OPS loading: don't replace existing particles twice, and clear soap c 2012-06-12 16:30:27 +01:00
Simon Robertshaw
ad677189cb TPT: Use an array instead of ctype to cache tron colour 6101c04ff9 2012-06-12 16:20:35 +01:00
Simon Robertshaw
573035ac10 TPT: It's hard to be a fool (fix for the fix) ffee9df8e6 2012-06-12 16:03:26 +01:00
Simon Robertshaw
14cb5cf765 TPT: Gel won't move solids any more 68ab2e3148 2012-06-12 16:02:09 +01:00
Simon Robertshaw
6f814528fc Correct save reloading, add Vac and NGrav tools 2012-06-12 15:37:46 +01:00
Simon Robertshaw
3205df3a21 Saving and loading other flags from GameSave, remove old saveloader 2012-06-11 13:39:39 +01:00
Simon Robertshaw
c408e035fa Preview: Wait for save to load before opening, Simulation: Correct block coords when reading wall data, replace existing particles when placing stamps on top, Game: Clear the simulation when loading a save 2012-06-09 14:54:58 +01:00
Simon Robertshaw
0ee1e1875d Load save data when showing the save preview 2012-06-08 22:04:14 +01:00
Simon Robertshaw
61ed6e0276 Rename Save class to SaveInfo, introduce SaveFile for hanlding of local data (stamps and local saves). Rename Stamps browser to LocalBrowser, ready for sharing code with the local save browser 2012-06-07 14:23:26 +01:00
Simon Robertshaw
2e48fc6115 'No Image' icon when save rendering fails 2012-06-06 01:54:27 +01:00
Simon Robertshaw
8fae7dbade Saving and loading at position, yuse exceptions for parsing saves 2012-06-06 01:46:13 +01:00
Simon Robertshaw
49dafbfd26 Use a different method for decoding saves with uncompressed object in memory for stamps and clipboard, also allows for transformation (rotation), missing failure states and code for loading it into a Simulation 2012-06-05 20:08:35 +01:00
Simon Robertshaw
a247951115 Add missing header includer for C libraries. 2012-06-02 16:51:01 +01:00
Simon Robertshaw
cc0efb13f0 OPS save format from TPT 2012-05-22 16:01:39 +01:00
Simon Robertshaw
2c5400a732 Warp display with newer shader, Render options works in OpenGL 2012-05-17 22:34:16 +01:00
Simon Robertshaw
8efd07a849 Air tool 2012-05-17 22:10:17 +01:00
Simon Robertshaw
bbf7851596 Seperate new/old CreateParts functions 2012-05-15 20:01:20 +01:00
Simon Robertshaw
45563e97e8 Make flood_prop use PropertyType from StructProperty, Property tool works 2012-05-15 00:10:10 +01:00
Simon Robertshaw
0b4ad4f25c Add ability to introspect the Particle struct 2012-05-14 23:04:08 +01:00
Simon Robertshaw
7758fe52cb DropDown UI component 2012-05-13 20:00:22 +01:00
Simon Robertshaw
4032a0469b Click function for tools that aren't continuous. Debug helper for UI components (Ctrl+Shift D when DEBUG is defined), fix add sign window logic 2012-05-13 17:43:41 +01:00
Simon Robertshaw
724c99102e Stupid git 2012-05-12 22:28:45 +01:00
Simon Robertshaw
c5798c7456 Tools implemented in a similar way to elements 2012-05-12 18:11:20 +01:00
Simon Robertshaw
16d3895e9c Redo Wall IDs 2012-05-12 13:21:04 +01:00
Simon Robertshaw
51b17badf4 A bit of refactoring (elements) 2012-05-07 17:59:50 +01:00
Simon Robertshaw
bb8a3f76e3 OS X compiling working, Make it a bit more friendly with stricter compilers 2012-04-26 13:10:47 +01:00
Simon Robertshaw
96506610b2 Clean out graphics, add openGL graphics in seperate file, change brush to use unsigned char rather than boolean for bitmap/outline 2012-04-21 22:46:37 +01:00
Simon Robertshaw
75a9460c83 OpenGL rendering 2012-04-20 19:21:10 +01:00
Simon Robertshaw
ceb25440cb TPT: Fix sponge bug. f93a829671 2012-04-19 16:52:35 +01:00
Simon Robertshaw
699a8f699c Missing tron graphics function 2012-04-18 21:39:07 +01:00
Simon Robertshaw
0cc8f84e63 TPT: Fix the bug where you could set bad temp to insulators. 64629df1af 2012-04-18 21:35:14 +01:00
Simon Robertshaw
f8b1e1a232 TPT: Better description for tron d4a9f86503 2012-04-18 21:33:50 +01:00
Simon Robertshaw
44d70ec6b8 TPT: Alterations to TRON and fancy effects ffa5ccb666 2012-04-18 21:31:22 +01:00
Simon Robertshaw
e4d1c7141f TPT: TRON element, needs to glow and fancy explosion on crash eccf5658d2 2012-04-18 21:27:28 +01:00
Simon Robertshaw
472cb8916e TPT: A small fix for convection. ff8ce0ef3a 2012-04-18 21:21:32 +01:00
Simon Robertshaw
1fdaabca6d TPT: Viscosity change for gel. Water diffusion among sponge and gel (but with flying cake effect) c9bcc11d35 2012-04-18 21:20:31 +01:00
Simon Robertshaw
b40f13b66a TPT: Added gel - a liquid with variable heat conductivity and viscosity. 8523da398f 2012-04-18 21:18:37 +01:00
Simon Robertshaw
ff7428fc70 TPT: Fix crash when flood fill deleting life 7a844f51ff 2012-04-18 21:07:26 +01:00