summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-05-21Fix STKM spawns, fix cases.cracker641-72/+60
2013-05-17rename GRAV back to PGRV, fix formatting in generator, remove useless filejacob11-1/+1
2013-05-16lua simulation api functions for drawing with tools / decojacob11-1/+1
2013-05-16remove unneeded / duplicate constants, fix SPC_AIR/other tools so it won't ↵jacob11-88/+17
conflict with lua elements (the 11th one won't work right now)
2013-05-16redo some brush drawing stuff to remove useless checks, and to allow for ↵jacob11-163/+82
replace mode in the future
2013-05-14rename TUGN to TUNG (more popular spelling). Broken BRMT smelts back into TUGNjacob11-58/+99
2013-05-11Togglable lua scriptingSimon Robertshaw1-0/+8
2013-05-08Fix "blow power" for stick man, disable rocket boots on E-hole.Saveliy Skresanov1-1/+1
2013-05-08Rocket boots for stickman, because why notjacksonmj1-0/+5
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-06gol2 array is static size, adding new GoL won't increase memory usage.cracker641-6/+24
2013-05-05Optimize GoL a bit, haven't changed gol2 yet.cracker641-38/+40
2013-05-05fix not being able to draw TUGN under high/low pressurejacob11-7/+1
2013-05-04Fix solidification temperature of molten TUGNjacksonmj1-0/+3
Previously it was 973 K, not the same as the melting point of TUGN
2013-04-30INST flood fill change so that vertical conduction is only prevented for 1px ↵jacksonmj1-4/+4
wire crossings. Needs thorough testing Fixes #129 , and prevents INST diodes when using a 2px vertical crossing a 1px horizontal.
2013-04-07Merge branch 'master' of github.com:FacialTurd/The-Powder-ToySimon Robertshaw1-0/+1
2013-03-25Fix NEUT not going through INVSjacob11-0/+1
2013-03-22Move all GUI source files into gui/Simon Robertshaw1-1/+1
2013-03-16add identifier constants based on the display name to the lua apijacob11-3/+3
2013-03-11Change some old NEUTPENETRATE to NEUTPASS, NEUT should only displace GOO, ↵cracker641-2/+0
WOOD, and PLNT.
2013-03-09fix empty signs being created when shifting them out of bounds, draw parts ↵jacob11-4/+7
of images when it goes partway off the top of the screen.
2013-03-06remove auto generated comments from all files, fix some missing tabs, remove ↵jacob11-5/+5
unused variables from config.h
2013-03-04revert life changes, will be redone later in a faster wayjacob11-0/+5
2013-03-04fix LIFEjacob11-27/+20
2013-03-03PSTN ctype sets the element that stops it, FRME with a tmp of one is ↵jacob11-2/+2
non-sticky (doesn't pull)
2013-03-03fix crash when drawing particles in invalid coordinates (using console)jacob11-7/+7
2013-02-25fix a few more memory errorsjacob11-6/+2
2013-02-24fix problems found with valgrind with shifting stamps and savingjacob11-1/+9
2013-02-24ACEL and DCEL use life for strength valueSimon Robertshaw1-6/+1
2013-02-24allow ACEL and DCEL strength to be modified with ctypejacob11-0/+6
2013-02-22CRAY spawns elements at its temp, fix color glitch with ARAY too, move FRME ↵jacob11-0/+1
to force
2013-02-22fix PSTN bugs where FRME would still move even if all of it couldn't, fix ↵jacob11-4/+1
PSTN going through walls, fix bug where the PSTN extention may not be created in some glitched cases
2013-02-20fix CRAY INST mode ignoring length, fix CRAY going ignoring walls, fix CRAY ↵jacob11-2/+32
+ GOL particles, allow CRAY to create sparks
2013-02-10make smudge tool more similar to the old onejacob11-11/+13
2013-02-09fix tpt.selectedl not updating with sample brush, always put photons[] on ↵jacob11-6/+6
top in HUD
2013-02-08minor fixes to color picker / small speed improvementjacob11-47/+54
2013-01-20C-RAY: Similar to A-RAY, creates particlesSimon Robertshaw1-1/+2
2013-01-20attempt to fix random deletion bug (can't reproduce easily, so can't tell if ↵jacob11-7/+8
it's fixed easily)
2013-01-07save signs in snapshotsjacob11-0/+2
2013-01-07fix many more uninitialized variablesjacob11-11/+15
2013-01-06fix element function replacement optionjacob11-11/+4
2013-01-04fix Ctrl+x being one pixel off, better xor_rect from tpt, delete test.cjacob11-2/+2
2012-12-23revert stickmen CONV fix, and do it another way that doesn't crashjacob11-8/+31
2012-12-18use kill_part when creating a new particle over an index, fixes STKM not ↵jacob11-6/+1
respawning after CONV and probably other stuff too
2012-12-18fix undo not allowing any more stickmen to be placed, save stickmen in snapshotsjacob11-2/+6
2012-12-18make TSNS not detect METL, some other sensor and CONV fixesjacob11-12/+10
2012-12-18make water equalization use flags, not tmp2 (fixes EXOT / BUBW)jacob11-5/+8
2012-12-18initialize variables in air.cpp and simulation.cppjacob11-6/+10
2012-12-18fix '=' resetting air heat, fix uninitialized ambient heat setting, a few ↵jacob11-9/+11
LOLZ / LOVE changes
2012-12-18fix WARP being invisible, make it visible in heat display mode thoughjacob11-0/+4
2012-12-15save stamps on 1 pixel grid (works exactly like in tpt now), delete signs ↵jacob11-13/+21
with Ctrl+X, also fixes stamps on very bottom/right edge and other edge cases