jacob1
76b92952b1
adjust tool strengths a little, to make them a little faster
2013-06-06 22:19:51 -04:00
jacob1
5ae6b18677
GOLD changes photons to yellow
2013-06-06 16:02:21 -04:00
jacob1
8d7ab7f5e2
allow creating WIND lines from lua
2013-06-01 21:57:03 -04:00
jacob1
80380bbaa3
even more lua simulation api functions
2013-05-30 22:28:42 -04:00
cracker64
2735a80d28
Fix STKM spawns, fix cases.
2013-05-21 18:19:05 -04:00
cracker64
e1d8585871
Jacob can't into switches
2013-05-21 17:54:37 -03:00
jacob1
6fec955f41
TPT: Stop STKM being able to jump on the bottom of the screen 509b84b4f
2013-05-20 16:50:49 -04:00
jacob1
35f84a0942
Merge remote-tracking branch 'origin/master'
2013-05-20 11:27:18 -04:00
jacob1
826b966668
reduce rand() chances to 5x the old values in elements that were changed to 3x3 loop checks instead of 5x5. Also some other fixes I found when looking at what had been changed.
2013-05-20 11:26:51 -04:00
jacob1
d29b001d82
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-05-19 22:59:42 -04:00
jacksonmj
45f057957b
Fix description: METL does not break under pressure
2013-05-19 21:46:55 +01:00
jacob1
5b1389621f
minor fixes to descriptions (again)
2013-05-18 23:12:37 -04:00
jacob1
981f6984c2
Merge branch 'HEAD' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-05-17 12:44:25 -04:00
jacob1
cbd402d8cb
fix CFLM making VIBR unable to explode
2013-05-17 12:44:18 -04:00
jacob1
7b6ded50dc
rename GRAV back to PGRV, fix formatting in generator, remove useless file
2013-05-16 20:04:39 -04:00
jacob1
027649e858
lua simulation api functions for drawing with tools / deco
2013-05-16 19:33:30 -04:00
jacob1
6f8e2c0345
remove unneeded / duplicate constants, fix SPC_AIR/other tools so it won't conflict with lua elements (the 11th one won't work right now)
2013-05-16 17:01:33 -04:00
jacob1
751da54183
make making VIBR from molten TTAN+EXOT a little easier (molten VIBR slowly kills EXOT)
2013-05-16 15:09:17 -04:00
jacob1
ebe145b39f
soap lines show in nothing mode, some small changes to arguments for sim api drawing functions
2013-05-16 00:55:44 -04:00
jacob1
81876a93a3
redo some brush drawing stuff to remove useless checks, and to allow for replace mode in the future
2013-05-16 00:20:07 -04:00
jacob1
18ddb7a155
some more description changes
2013-05-13 22:12:03 -04:00
jacob1
7856f727a5
rename TUGN to TUNG (more popular spelling). Broken BRMT smelts back into TUGN
2013-05-13 21:10:45 -04:00
mniip
4d9b9b17d7
D:
2013-05-11 15:08:32 +04:00
Simon Robertshaw
c2cdec9e62
Togglable lua scripting
2013-05-11 11:52:35 +01:00
jacob1
67e1213905
fix tpt.message_box, fix compiling error
2013-05-09 18:52:13 -04:00
Saveliy Skresanov
f35f221554
Rocket boots for fighters.
2013-05-08 23:36:04 +07:00
Saveliy Skresanov
c6930ddc5f
Merge remote-tracking branch 'upstream/master'
2013-05-08 23:10:01 +07:00
Saveliy Skresanov
9893f59657
Fix "blow power" for stick man, disable rocket boots on E-hole.
2013-05-08 23:08:29 +07:00
jacob1
645bcb1bcd
Merge remote-tracking branch 'origin/master'
2013-05-08 10:29:33 -04:00
jacob1
c0b4592839
fix PSCN BRAY (tmp = 2) not stopping normal BRAY from going through
...
also some other random things
2013-05-08 10:29:10 -04:00
jacksonmj
89a0603b53
Rocket boots for stickman, because why not
...
Pass through gravity wall to activate, fan wall to deactivate.
Accelerate with left/up/right keys. Plasma is spawned when accelerating,
and STKM is immune to plasma but not other hot elements when rocket
boots are enabled. Hold left+right to slow down quickly.
STKM spawn element is retained and can still be created while using
rocket boots, but it may be difficult to do anything useful with the
spawn element whilst spewing hot plasma everywhere.
2013-05-08 15:12:28 +01:00
cracker64
45c321f1b3
Fix ARAY better, instead of relying on conduction check to stop on BRAY, which we know doesn't conduct.
2013-05-08 07:48:54 -04:00
jacksonmj
20c261826d
STKM - fix jumping in the x direction in different gravity modes
2013-05-07 15:01:24 +01:00
cracker64
2f8574f62b
gol2 array is static size, adding new GoL won't increase memory usage.
2013-05-06 13:30:03 -04:00
cracker64
77102f4bba
Optimize GoL a bit, haven't changed gol2 yet.
2013-05-05 18:10:13 -04:00
Simon Robertshaw
afbef49db2
Fix temperature sensor
2013-05-05 14:30:04 +01:00
jacob1
2d0ce60afe
fix not being able to draw TUGN under high/low pressure
2013-05-04 20:34:47 -04:00
jacob1
cb5ca55fc2
New Element: Pressure sensor
2013-05-04 20:28:28 -04:00
jacob1
08f05d69c1
move some elements around
2013-05-04 19:50:11 -04:00
jacob1
36efb48644
possible piston bug fix for save 1176828
2013-05-04 16:40:04 -04:00
jacksonmj
79a75c4441
Fix solidification temperature of molten TUGN
...
Previously it was 973 K, not the same as the melting point of TUGN
2013-05-04 17:19:25 +01:00
Simon Robertshaw
ed9710c33d
Tungsten breaks under pressure changes
2013-05-04 14:44:16 +01:00
Simon Robertshaw
cab667001d
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-05-04 14:42:23 +01:00
jacob1
0b2e8a412e
fix some descriptions
2013-05-03 23:19:16 -04:00
jacob1
c68e4b1393
change descriptions of many elements to be more consistent, contain more info, and be more helpful.
2013-05-03 22:42:36 -04:00
jacob1
3018c597c4
make GOLD sparkle slightly, and it kills NEUT
2013-05-03 19:47:09 -04:00
Simon Robertshaw
dd0f5f5efb
New element: Tungsten, very high melting point
2013-05-03 22:33:39 +01:00
jacksonmj
2eaed9c9d4
Correct gold melting point
2013-04-30 23:10:07 +01:00
jacksonmj
526e93204a
INST flood fill change so that vertical conduction is only prevented for 1px wire crossings. Needs thorough testing
...
Fixes #129 , and prevents INST diodes when using a 2px vertical crossing a
1px horizontal.
2013-04-30 22:34:06 +01:00
jacksonmj
9bc939d422
Less dependence on particle order for GOLD fast electricity conduction
2013-04-27 13:55:41 +01:00
Simon Robertshaw
828569415f
BREAKING NEWS: Hell has frozen over
...
New element, GOLD, a corrosion resistant metal that can conduct electricity faster, molten GOLD will turn into molten VIBR on contact with EXOT
2013-04-27 11:38:20 +01:00
Julian Meyer
649e5f2042
Add --nofft option to compile without FFTW3
...
This should help Mac users who were having trouble compiling.
2013-04-10 00:20:36 +01:00
Simon Robertshaw
8d312ecdfa
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-04-07 12:46:09 +01:00
cracker64
f7dd658a30
SPRK from SWCH should check both cases.
2013-03-27 12:34:03 -03:00
jacob1
010f7790eb
Fix CRAY bug that deletes particle 0
2013-03-25 12:36:04 -03:00
jacob1
36adc3c516
Fix NEUT not going through INVS
2013-03-25 01:18:47 -03:00
Simon Robertshaw
9b5b85f9b0
Merge branch 'reorganisation' of github.com:FacialTurd/The-Powder-Toy
2013-03-24 12:24:17 +00:00
jacob1
c50e12df28
CFLM defusses VIBR, a few speed improvements to VIBR
2013-03-23 10:53:49 -04:00
Simon Robertshaw
9abe51526c
Move all GUI source files into gui/
2013-03-22 14:14:17 +00:00
jacob1
d357fcdc36
add back bounds check to DTEC/TSNS where needed, change VIBR back to 5x5 loop checks
...
a better way to change it to 3x3 may have to be found that has the same ratios, other elements like WATRs have their rates changed too
2013-03-17 12:21:45 -04:00
jacob1
3a738846a3
add identifier constants based on the display name to the lua api
2013-03-16 13:23:19 -04:00
Saveliy Skresanov
d76650f7e6
Remove unnecessary code in legacy part.
2013-03-16 23:16:08 +07:00
Saveliy Skresanov
43974d8537
Narrowed loops for all elements in the first list.
...
Probabilities might be messed up a bit, I'm not sure.
2013-03-16 23:03:02 +07:00
jacob1
ff304321c5
new PSTN arms get deco color of the pushing pistons
2013-03-15 21:32:46 -04:00
Simon Robertshaw
73b6ff4efb
Use VideoBuffer in place of thumbnail
2013-03-15 12:59:55 +00:00
jacob1
10e104f3f5
change BOUNDS_CHECK define to just be true, it isn't needed since an element can never update when it's closer than 3 pixels away from the edges of a save.
2013-03-13 15:56:40 -04:00
jacob1
e493cf8a47
fix all tab spacing issues in all the element files
2013-03-13 15:54:34 -04:00
cracker64
319ffb7e77
Change some old NEUTPENETRATE to NEUTPASS, NEUT should only displace GOO, WOOD, and PLNT.
2013-03-11 17:34:49 -04:00
jacob1
e6f6eedd13
fix empty signs being created when shifting them out of bounds, draw parts of images when it goes partway off the top of the screen.
2013-03-09 16:50:36 -05:00
jacob1
a411fda7de
fix CRAY(SPRK) difference
2013-03-06 21:13:42 -05:00
jacob1
9316054ab2
fix CRAY(SPRK) bugs (?)
2013-03-06 14:23:26 -05:00
jacob1
037618e6f8
remove auto generated comments from all files, fix some missing tabs, remove unused variables from config.h
2013-03-06 12:05:59 -05:00
jacob1
0f5b4a9ec8
fix pressing esc in login prompt logging you out, fix possible sign bug crash
2013-03-04 14:57:40 -05:00
jacob1
6bea8f5235
revert life changes, will be redone later in a faster way
2013-03-03 19:58:53 -05:00
jacob1
55f090b4d2
Merge remote-tracking branch 'origin/master'
2013-03-03 19:08:05 -05:00
jacob1
f951e5cda9
fix LIFE
2013-03-03 19:07:15 -05:00
cracker64
de6bb6a960
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-03-03 17:08:36 -05:00
jacob1
8b83ae9f95
PSTN ctype sets the element that stops it, FRME with a tmp of one is non-sticky (doesn't pull)
2013-03-03 16:36:37 -05:00
cracker64
2be0b22211
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-03-03 16:32:11 -05:00
cracker64
5e1c7d7932
Some better comments in SPRK, renamed rt and ct.
2013-03-03 16:30:34 -05:00
jacob1
cca1898ee8
Merge remote-tracking branch 'origin/master'
2013-03-03 15:39:10 -05:00
jacob1
17d79e8d8e
fix crash when drawing particles in invalid coordinates (using console)
2013-03-03 15:38:52 -05:00
cracker64
bb87299eb4
Missed one SPRK case.
2013-03-02 20:07:17 -05:00
jacob1
846d7d8064
allow NEUT to travel through ICE and SNOW, and for it to turn OIL to GAS (both like inextremely old versions)
2013-03-02 19:07:00 -05:00
cracker64
85cb4b37c9
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-03-02 00:42:17 -05:00
cracker64
d58100dc07
More fixes, redid a bunch of SPRK, so far everything I've tested works fine.
2013-03-02 00:42:07 -05:00
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
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
Simon Robertshaw
ea37facf83
TPT: No unmeltable ice anymore. e4448dc1d6
2012-04-18 21:05:14 +01:00
Simon Robertshaw
bfb37563ca
TPT: Use graphics function for BCOL a1bd20db91
2012-04-18 21:04:37 +01:00
Simon Robertshaw
d85049fb93
TPT: A fix for ice with ctype = 0. e52f730969
2012-04-18 21:01:54 +01:00
Simon Robertshaw
94e7123791
TPT: Allow DEST to be cloned with CLNE, PCLN, BCLN and PBCN 57d8335ca5
2012-04-18 20:46:34 +01:00
Simon Robertshaw
10e3f176d2
TPT: REALISTIC - Latent heat. It may be buggy, and enthalpy table isn't filled, but it works 4b4830b5a4
2012-04-18 20:44:01 +01:00
Simon Robertshaw
d9cca3ec1e
TPT: Fixed burning temp. for fire. 00839a3b14
2012-04-18 19:28:18 +01:00
Simon Robertshaw
6be1b869e5
TPT: Fix ELEC being put into pmap instead of photons 5a3faa0584
2012-04-18 19:20:04 +01:00
Simon Robertshaw
779ac383dc
TPT: Fix major update_particles_i bug, do_move was being called on nonexistant particles, causing kill_part to kill another particle 96ec3486e8
2012-04-18 19:02:27 +01:00
Simon Robertshaw
bf935ac7d8
TPT: fusion step 2 + modify temp/pressure of step 1 803ded3b33
2012-04-18 18:40:14 +01:00
Simon Robertshaw
43ae47ba77
TPT: Added smudge tool afbe8cf38e
2012-04-18 16:40:43 +01:00
Simon Robertshaw
a761fa5cbc
TPT: Remove 2 pixels per frame speed limit in detector wall b4a06df0b2
2012-04-18 16:14:10 +01:00
Simon Robertshaw
6f3954b926
TPT: (REALISTIC) Better air<->body heat conduction. Air density now influences on it (things don't heat vacuum). 71acd578b6
2012-04-18 15:14:40 +01:00
Simon Robertshaw
add4ccb034
TPT: Volume from heat change (for REALISTIC) 290cac8b7e
2012-04-18 15:11:51 +01:00
Simon Robertshaw
d03a9c8fe5
TPT: Rotate/reflect particle, air, and fan velocities in transform_save 830629be3f
2012-04-18 15:10:09 +01:00
Simon Robertshaw
f84dc03c23
TPT: A new unstable REALISTIC option. No guarantees - but more realistic behaviour. f41f96f598
2012-04-18 14:50:29 +01:00
Simon Robertshaw
82a1933400
TPT: Old nothing display mode in the form of Basic colour mode fe82685257
2012-04-18 14:43:09 +01:00
Simon Robertshaw
80a77f4750
TPT: Added FRAY - Force-ray and RPEL - Repeller f6696282e1
2012-04-17 18:42:36 +01:00
Simon Robertshaw
2417ad3b41
TPT: Prevent gaps in beams of photons from powered clone 3702438482
2012-04-17 18:07:22 +01:00
Simon Robertshaw
fd09db2345
TPT: Prevent ambient heat going through walls ccb88b6b3b
2012-04-17 17:32:06 +01:00
Simon Robertshaw
a3e97d51d1
TPT: Change wifi so that it always takes one frame to transmit a722d7a396
2012-04-17 17:18:35 +01:00
Simon Robertshaw
ca1690efe1
TPT: Separate loop for updating life, and add SPRK life checks to most electronics 6bdc05cc40
2012-04-17 17:14:23 +01:00
Simon Robertshaw
75f6212751
TPT: Another change to the eval_move check in create_part eaf2af6d40
2012-04-17 16:55:43 +01:00
Simon Robertshaw
db1ffd3208
TPT: Fix WARP destroying DMND a9c198dd46
2012-04-17 16:45:05 +01:00
Simon Robertshaw
065ca8b9f5
TPT: Only check the bits actually used for wavelength in photon ctype Fixes black photons not being killed after passing through pipe 748a528fe0
2012-04-17 16:33:04 +01:00
Simon Robertshaw
475fd1a0b8
TPT: Solids wall description, and check build_save was successful when saving a stamp 44545d4c96
2012-04-17 16:30:04 +01:00
Simon Robertshaw
f4e2d188c2
transform_save should check wall coordinates against size in blocks, not the actual size ff6aa0227d
2012-04-17 16:11:07 +01:00
Simon Robertshaw
027833fe20
TPT Whoops, eval_move returning 1 should not allow particle creation edcf6d7b2f
2012-04-17 16:06:39 +01:00
Simon Robertshaw
25ce83d5bf
TPT: Implement PROP_NEUTABSORB bdf277e687
2012-04-17 16:04:48 +01:00
Simon Robertshaw
c3c31b20b0
Fix portals
2012-04-16 21:19:12 +01:00
Simon Robertshaw
465cb12af4
Newtonian gravity working
2012-04-16 13:58:20 +01:00
Simon Robertshaw
798c78b04e
Add missing GOL data
2012-04-09 11:46:42 +01:00
Simon Robertshaw
c88079d084
Element sampling HUD thingy (No very good with MVC)
2012-04-08 00:11:21 +01:00
Simon Robertshaw
838a612026
Use a single instance of a background simulation for thumbnail rendering
2012-04-03 17:08:56 +01:00
Simon Robertshaw
73c5082cbc
Super, megaheavyweight thumbnail renderer
2012-04-03 14:07:39 +01:00
Simon Robertshaw
efddc12e5d
Stamps browser, placement + clipboard sampling and placement - No clipboard or stamp thumbnail generation, needs thumbnail generator from SaveLoader
2012-04-02 17:01:28 +01:00
Simon Robertshaw
e9770d8ee7
Clipboard and Stamp from selection (no way to paste/place yet)
2012-03-28 22:01:44 +01:00
Simon Robertshaw
81f3114cb2
Better sliders for Decoration editor
2012-03-05 17:10:18 +00:00
Simon Robertshaw
55acb6aa80
More fancy Sliders for deco colour
2012-03-05 15:24:52 +00:00
Simon Robertshaw
3bbaa1a111
Decoration tools - no way to set colour yet
2012-03-03 21:38:22 +00:00
Simon Robertshaw
725f1aff85
Fix thumbnail alignment for save buttons, add code for building PSv format
2012-02-11 17:04:39 +00:00
Simon Robertshaw
6641f1d541
Frame stepping
2012-02-02 11:55:43 +00:00
Simon Robertshaw
f5dd32b284
Working GOL (No graphics
2012-02-02 00:33:10 +00:00
Simon Robertshaw
857b0cc1fc
Load user information from preferences, fps display for testing
2012-01-31 18:49:14 +00:00
Simon Robertshaw
259fc2bcf7
ASCII for key events, save and Textarea (no caret, yet)
2012-01-30 00:40:28 +00:00
Simon Robertshaw
58ba7f8800
Stop freeing memory twice, also clear signs correctly
2012-01-27 22:01:22 +00:00
Simon Robertshaw
2a7628dfd0
Render options
2012-01-27 13:27:40 +00:00
Simon Robertshaw
824d3c069b
Clear air properly
2012-01-26 16:23:18 +00:00
Simon Robertshaw
d520a70acf
Save loading and reloading
2012-01-26 16:18:43 +00:00
Simon Robertshaw
9e1be78bc2
I've got to a point where I can no longer be bothered to think of a proper commit comment
2012-01-26 01:13:33 +00:00
Simon Robertshaw
c5cc1870f3
Fix some memory leaks
2012-01-25 18:42:35 +00:00
Simon Robertshaw
04e4a2346d
Wall menus
2012-01-24 21:19:29 +00:00
Simon Robertshaw
97b35bc470
Various
2012-01-24 20:19:19 +00:00
Simon Robertshaw
19c1fa5dcb
Brush class for drawing on simulation, more interface for game
2012-01-22 14:45:37 +00:00
Simon Robertshaw
8ec6aae617
Better cleanup for simulation - fix memory leaks
2012-01-21 13:19:10 +00:00
Simon Robertshaw
fa201a7aeb
Fix some uninitialised variables
2012-01-20 23:42:17 +00:00
Simon Robertshaw
4949a5eac0
Fix case for header files
2012-01-20 22:10:42 +00:00
Simon Robertshaw
44639a6423
Some folder changes, started search and client
2012-01-19 13:44:59 +00:00