jacksonmj
1eeed277a0
Fix initialisation of transitionOccurred
2014-11-06 00:46:15 +00:00
jacksonmj
829e2cca7d
Flatter surface when liquids solidify
2014-11-06 00:32:25 +00:00
jacksonmj
9e7ead9bcc
Change melting point for snow with wrong ctype back to 273.15
2014-11-05 23:32:49 +00:00
jacksonmj
57409b0b41
Change order in which particles are created by the rectangle and brush tools
...
to make liquid movement look less weird in normal gravity
2014-11-01 15:38:39 +00:00
jacksonmj
02e1969ef2
Fix SNOW(WATR) melting temperature
...
Broken by fixing SNOW(SLTW) melting temperature in a78bd78bfc
2014-10-31 16:39:30 +00:00
jacksonmj
f7b53d0231
Prevent fast particles from skipping over DESTROYALL wall
2014-10-27 17:50:58 +00:00
jacob1
12f00db240
loop edge mode from my mod (also works with stickmen)
2014-10-24 00:18:51 -04:00
jacob1
b59ecf2d65
add airblock wall
2014-07-03 14:30:12 -04:00
jacob1
f68fadb3f4
make PHOT only able to move 2 pixels at a time through things again
2014-07-03 12:05:26 -04:00
jacob1
45a051d4ea
New element: DRAY (Duplicator RAY)
...
Replicates a line of particles in front of it, affected by tmp and tmp2, and being sparked by PSCN or INWR
2014-07-03 00:59:41 -04:00
jacob1
4b4eb1a68e
Some changes which make GRVT work better
2014-07-02 23:07:10 -04:00
jacob1
70676aba4a
New element: GRVT (gravitons), energy particle that creates Newtonian Gravity
2014-07-02 23:06:45 -04:00
jacob1
42f5ec9f36
Fix crash with spark flood fill
2014-05-22 11:20:33 -04:00
jacksonmj
5e02073a2f
Fix TNT floodfill crash
2014-05-22 15:27:18 +01:00
mniip
21532821b7
fix crash when creating a fighter with an explicit particle ID
2014-05-14 06:41:18 +04:00
jacob1
20a7d0528b
also fix SOAP changing .ctype of particles it thinks it's attached to
2014-05-12 11:27:39 -04:00
jacob1
462bb78f3d
fix nx/ny again (values were reversed)
2014-04-26 14:39:40 -04:00
jacksonmj
4dae152b6a
Comments for some of the liquid movement code
2014-04-26 17:55:57 +01:00
jacob1
097e4968e0
fix invisible PHOT bug when going through GLAS sometimes
2014-04-26 12:40:29 -04:00
jacob1
270a3837bc
PROT goes through portals
2014-04-25 21:08:09 -04:00
jacob1
d87e21c9d4
fix bug where liquids don't stabalize in radial gravity
...
nx and ny are declared at the start of update_particles_i, but not reinitialized before the liquid attempts to move, so it will always try to move up and left first, and probably succeed.
2014-04-25 20:45:42 -04:00
jacob1
75034de5a4
fix crash when SOAP gets changed into another element, fixes #186
2014-04-12 15:52:12 -04:00
jacob1
a71cb3b254
fix / change 2, 3, and 4 from http://tpt.io/.265916
...
mostly makes BRAY act more like PHOT in some cases
2014-03-26 22:07:04 -04:00
jacksonmj
20cbcf8ad9
Velocity limit, to prevent NaNs
2014-03-27 00:35:20 +00:00
mniip
1266307070
stop neut from dragging particles inside energy walls, fixes jacob#18
2014-01-30 22:55:55 +04:00
jacob1
f66679e551
a little reorganization (maybe more later)
2014-01-20 13:52:53 -05:00
jacob1
1f1062408c
element palette converts elements stored in .ctype and .tmp when needed, fixes #105
2014-01-17 14:33:22 -05:00
mniip
69c9be0e99
implement generic property value as a union instead of void*
2014-01-16 11:00:47 -05:00
jacob1
d901b2f8ef
Fix crash with smudge tool around the edges
2014-01-09 12:55:39 -05:00
jacob1
aea8402383
fix holes in wall lines with a small radius (again)
2014-01-08 14:32:59 -05:00
jacob1
eaf0daec43
insulators block ambient heat (when there are a lot nearby)
2014-01-07 16:32:15 -05:00
jacob1
dcef255f47
fix flood fill. This was a mistype, and the original check I had doesn't work all the time anyway (so just remove it)
2014-01-07 16:32:15 -05:00
jacob1
355cd37ffe
Redo sandcolor to use alpha, so that when powders transition they don't stay the same color
...
Also make color change less sharply over time
2014-01-07 16:32:15 -05:00
jacob1
41cc0a398a
better way to prevent PROT in fusion
2014-01-07 16:32:15 -05:00
jacksonmj
7b0fdaa204
Use >= for high temperature transition comparisons and < for low temperature transitions
...
Fixes http://tpt.io/~1419883
2014-01-03 11:42:59 +00:00
mniip
fdfaa3a29b
add defines for window resolution
...
--amend
2013-12-29 20:12:50 +04:00
jacob1
c4562ec73e
check to make sure flood fill doesn't crash when pmap is errored (?)
2013-12-29 11:04:28 -05:00
jacksonmj
035dfa2e04
Fix some compiler warnings
2013-12-14 18:47:28 +00:00
jacob1
45bf0dfcdb
Merge pull request #180 from mniip/warnings
...
Warnings
2013-10-29 19:24:20 -07:00
mniip
bf908bbfbf
Fix various warnings, remove silly useless NO_INLINE system, remove the need for -fkeep-inline-functions
2013-10-30 04:47:07 +04:00
Simon Robertshaw
8b45c8f9e8
Merge remote-tracking branch 'china-richway2/CutGlitch' into develop,
...
closes #176
2013-10-29 21:46:33 +00:00
unknown
12261e263d
fix bug where Ctrl+X don't delete stacked particles
2013-10-23 21:06:19 +08:00
jacob1
dd73a7244f
reduce / prevent PROT in fusion even more
2013-10-20 10:37:28 -04:00
jacob1
d1e75c7a50
make PROT lasers easier to make, adjust velocities needed to make things when smashing PROT together, use FIRE_BLEND for PROT graphics
2013-09-28 20:31:35 -04:00
jacob1
ee093ae3b7
disable PHOT+H2 reaction during fusion
2013-09-14 09:49:19 -04:00
jacob1
e1b26346a1
ensure VIBR always eats PROT
2013-09-13 22:24:50 -04:00
jacob1
ae8e5e5c34
PROT+DEUT causes DEUT implosion (same as with NEUT, just negative pressure)
...
Also PHOT+H2 now also make PROT+ELEC (which will not combine to make more H2)
2013-09-13 22:02:03 -04:00
jacob1
074a2226e1
remove useless and laggy lightning_recreate check
2013-09-11 21:41:54 -04:00
jacob1
332aa25bf6
save pavg[] in saves, for VIRS, PIPE, and STOR
2013-09-11 20:41:43 -04:00
jacksonmj
9eccad80b1
Missing breaks in readOPS
...
Causing some elements to be loaded incorrectly
2013-09-08 18:14:12 +01:00
jacksonmj
2e52e209a6
CRAY: only set decoration colour after passing through FILT
2013-09-08 17:33:12 +01:00
jacksonmj
79edfe9589
Include elements[].Enabled in check for invalid lava ctype
2013-09-08 09:26:31 +01:00
jacob1
7d9fa1bfc7
new element: VIRS (also solid and gas virus states). Cured by SOAP (CURE element was not added)
2013-09-04 00:20:21 -04:00
jacob1
6c4f63be3b
proton collision reaction (might need to be modified). Also some ways to go to/from protons
2013-09-02 21:58:52 -04:00
jacob1
f1145f31f5
new element: PROT (protons) TODO: proton colliders to produce heavier elements
2013-09-01 21:52:38 -04:00
jacob1
2cbee180a1
fix bug where PROP wouldn't set properties of particle id 0
2013-08-29 22:34:50 -04:00
jacob1
d38af2764c
move QRTZ .tmp into .tmp2 and .ctype into .tmp, fixes bug where sparking QRTZ resets .ctype and stops it from growing
2013-08-29 22:18:35 -04:00
jacksonmj
bebe9bd8fd
Add a way for photons to set the colour of FILT (major version bump required)
...
Also add some new FILT modes, and make FILT modes affect BIZR and
BRAY colour in the same way as they affect photon colour. Photons
passing next to DTEC will set the colour of all FILT in a straight
line starting from any FILT adjacent to the DTEC (a bit like an
ARAY beam), and the exact colour of the photon will be used for
FILT interactions instead of the colour based on temperature.
FILT tmp=4: red shift, tmp=5: blue shift. Size of shift determined
by FILT temperature. tmp=6: FILT has no effect on photon colour
(possible before by using invalid tmp modes, but here's a supported
method of doing it. Invalid tmp modes should be automatically replaced
in existing saves).
Also, FILT mode is now described in the HUD.
2013-08-29 17:19:07 +01:00
jacob1
4746474127
fix occasional crash when flood fill deleting
2013-07-29 00:34:43 -04:00
jacob1
beff3db8d2
fix ctrl+x not deleting all signs
2013-07-25 18:23:02 -04:00
jacob1
da7d107f60
remove specific delete for walls, doesn't work very well and it conflicts with specific delete for elements
...
Also prevent wall replace mode, could never do anything because walls already replace everything
2013-07-18 18:54:09 -04:00
jacob1
40285e107a
flood delete will delete walls even if wall delete tool isn't selected
2013-07-18 18:30:24 -04:00
jacob1
6a4cc7e1f7
stickmen element defaults to right selected element if possible, or else still DUST
2013-07-18 17:57:04 -04:00
jacob1
e0d982367b
fix bug where saving and loading elements in saves relied on the name being consistent between versions. The palette should only be used for lua elements
2013-07-15 17:42:43 -04:00
jacob1
0214fcb5ae
particles can't be drawn with the brush inside of walls they don't belong, fix flood fill delete issue
2013-07-13 14:17:21 -04:00
jacob1
864f0e6f45
WIFI lines aren't drawn in persistent mode, and are based on current temp, not tmp, so they work when paused
2013-07-13 12:06:43 -04:00
jacob1
34db317e44
update rules to fix some problems and more closely match the current rules. fixes #126
2013-07-11 23:32:39 -04:00
jacob1
a06202c78f
fixes to wall and particle floodfill. Wall fill ignores particles and always goes to the edges, while particle fill will only ignore walls it can't exist in, and flood particle erase won't check for walls / edges at all
2013-07-11 22:43:36 -04:00
jacob1
081c58990e
fix floodfill and prop floodfil with photons
2013-07-10 17:59:16 -04:00
jacob1
3203e597b9
fix piston bugs, fix crashes, don't use bluescreens when compiled with debug mode in visual studio
2013-07-10 16:59:10 -04:00
Saveliy Skresanov
6e7a5488b5
Fixed the bug with SPWN not creating when redoing (Ctrl-Z).
2013-07-09 23:39:48 +07:00
jacob1
c1320d2007
fix sim.loadStamp return value, remove VINE_MODE
2013-06-27 12:10:55 -04:00
jacob1
776b2f6607
fix version tagging in saves
2013-06-24 00:02:00 -04:00
jacob1
43540eb7e4
Add back replace mode and specific delete *
...
* only usable by Lua
2013-06-22 22:48:51 -04:00
jacob1
3aac957e50
HUD displays the correct name of LIFE particles in the HUD, show mouse position in HUD on the edges of the screen
2013-06-20 20:29:20 -04:00
jacob1
06fb97bc40
fix BRMT always acting like it was created from TUGN
2013-06-20 00:10:24 -04:00
jacob1
b699bb176f
Add two new properties for CLNE-like elements
...
the thing CLNE does, drawing upon it will set ctype; and what BCLN does to CLNE - disables #1 ). Made use of the two new properties
2013-06-10 10:51:55 -04:00
jacob1
a6ee8e2af1
fix NEUT created from DEUT explosions sometimes having the deco color of previous particles. Also allow the deco editor to color energy particles instead
2013-06-09 11:15:24 -04:00
jacob1
8f72ee829f
PHOT can go through PBCN and BCLN, fixes differences in PHOT cloning found in save id:1213267
...
also some renaming / reorganizing in init_can_move
2013-06-07 12:45:36 -04:00
jacob1
5ae6b18677
GOLD changes photons to yellow
2013-06-06 16:02:21 -04:00
cracker64
2735a80d28
Fix STKM spawns, fix cases.
2013-05-21 18:19:05 -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
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
7856f727a5
rename TUGN to TUNG (more popular spelling). Broken BRMT smelts back into TUGN
2013-05-13 21:10:45 -04:00
Simon Robertshaw
c2cdec9e62
Togglable lua scripting
2013-05-11 11:52:35 +01:00
Saveliy Skresanov
9893f59657
Fix "blow power" for stick man, disable rocket boots on E-hole.
2013-05-08 23:08:29 +07: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
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
jacob1
2d0ce60afe
fix not being able to draw TUGN under high/low pressure
2013-05-04 20:34:47 -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
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
Simon Robertshaw
8d312ecdfa
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-04-07 12:46:09 +01:00
jacob1
36adc3c516
Fix NEUT not going through INVS
2013-03-25 01:18:47 -03:00
Simon Robertshaw
9abe51526c
Move all GUI source files into gui/
2013-03-22 14:14:17 +00:00
jacob1
3a738846a3
add identifier constants based on the display name to the lua api
2013-03-16 13:23:19 -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
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
6bea8f5235
revert life changes, will be redone later in a faster way
2013-03-03 19:58:53 -05:00
jacob1
f951e5cda9
fix LIFE
2013-03-03 19:07:15 -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
jacob1
17d79e8d8e
fix crash when drawing particles in invalid coordinates (using console)
2013-03-03 15:38:52 -05:00
jacob1
572d099e29
fix a few more memory errors
2013-02-24 22:09:33 -05: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
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
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
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
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
cd0af92fb3
minor fixes to color picker / small speed improvement
2013-02-08 11:39:14 -05: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
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
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
312dd8c0ba
revert stickmen CONV fix, and do it another way that doesn't crash
2012-12-23 18:17:04 -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
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
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
5362c56f7e
update gravity wall zones whether or not newtonian gravity is on. Fixes #92
2012-12-14 13:50:36 -05: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
2d7ac84c1d
give TRON the ability to go through activated SWCH
2012-12-06 10:56:24 -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
Simon Robertshaw
29189693b3
Element palette for automatic element ID/mod mapping
2012-11-12 10:22:16 +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
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
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
jacob1
6d1c7be740
initialize all stickmen variables, not just legs
2012-10-26 15:13:27 +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
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
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
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
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
jacob1
2a4298047c
Fix smudge issue
2012-09-25 22:57:11 +01:00
Simon Robertshaw
5b9032fb3f
Correct initialisation of FIGH
2012-09-14 22:23:35 +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
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
a9fba97c36
Fix streamline placement
2012-08-30 01:50:18 +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
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
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
082072a05e
OPS: Fix byte order when unpacking 4 byte tmp fields
2012-08-25 16:29:27 +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
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
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
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
a7711668b7
Strings.h for strcasecmp in Simulation
2012-08-14 18:06:18 +01:00
Simon Robertshaw
074dcd0b42
Precompile some headers. Fix sconscript to prevent recompiling everything
2012-08-13 15:43:57 +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
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
50103aa074
Fix some of the flood fill methods
2012-08-05 16:11:43 +01:00
Simon Robertshaw
351ce1525f
Update gravity walls, fixes issue #52
2012-08-05 14:03:54 +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
Simon Robertshaw
347c382e99
Allow PROP to set types from element name, fixes issue #48
2012-08-03 12:52:07 +01:00
ntoskrnl
f94fabd999
Rename WIN32 preprocessor definition to WIN
2012-08-02 15:21:16 +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
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
a033fe7e49
TPT: Add ptypes.enabled checks to a few more places 61f39f5464
2012-07-25 19:42:53 +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
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
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
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
08d1dd06ed
TPT: Fix STKM causing stacking and falling through some powders c14704ae49
2012-07-25 15:47:18 +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
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
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
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
a4d156fc6b
TPT: Prevent solid particles stacking in E-Hole
2012-06-13 01:06:44 +01:00
Simon Robertshaw
427670682f
TPT: EXOT
2012-06-13 00:57:02 +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
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
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
dd041d1699
TPT: GPMP activated at draw
2012-06-12 19:29:10 +01:00
Simon Robertshaw
af5c399c24
TPT: Update gravity mask when loading saves 0fb6b85706
2012-06-12 18:48:00 +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
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
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
f2e1d38b58
TPT: Save soap bubbles 6717f4ff32
2012-06-12 17:06:38 +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
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
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
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
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