Commit Graph

580 Commits

Author SHA1 Message Date
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
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