summaryrefslogtreecommitdiff
path: root/includes/powder.h
AgeCommit message (Collapse)AuthorFilesLines
2012-11-17Remove old codeSimon Robertshaw1-855/+0
2012-09-02DTEC, generates a spark when something with it's ctype is nearbyjacob11-1/+3
2012-09-02WOOD and PLNT turn grey when hot, bluish when coldjacksonmj1-0/+3
2012-08-13Powered pipe, based on jacob1's commitsjacksonmj1-3/+5
PSCN to turn on, NSCN to turn off, INST to reverse. Differences from jacob1's commit include: flood fill function that includes 1px diagonal pipes, powered/reversed state stored in tmp instead of flags, sparks from PSCN/NSCN/INST always take effect the following frame, single pixel pipe directions are a number from 0 to 7 so "if(coords)" does not check whether one is set (store another "transfers according to 1px pipe direction" bit for reverse flow).
2012-08-09Give menu color to elements without one (stickmen, TRON, and WARP) The color ↵jacob11-3/+0
is ignored, so they still look the same (amended to remove "*pixel_mode &= ~PMODE;", since *pixel_mode is set to PSPEC_STICKMAN immediately afterwards)
2012-06-21Gravity modes and Newtonian gravity for fireworksjacksonmj1-0/+2
Resolves issue #59
2012-06-20Replace all explosion sparks with new element (EMBR)jacksonmj1-1/+3
Replaces: BOMB sparks and flash, electrons + glass sparks, sparks from IGNC, sparks from TNT explosion, and sparks from FWRK and FIRW.
2012-06-17Revert "Moved soap and stick men graphics things to special functions."Simon Robertshaw1-2/+2
This reverts commit 7f5408f196002476c4765f1cae833e1441e4b276. Conflicts: includes/powder.h
2012-06-15Move INST flood fill into a separate functionjacksonmj1-0/+2
Since there were so many if statements for INST in flood_parts. Also, allow INST inside walls to be sparked.
2012-06-09Run stacking check less oftenjacksonmj1-0/+1
But force it to be run after loading a save so that really extreme numbers of stacked particles form BHOL immediately
2012-06-07Changed EXOT to change into touching particles in the five frames at the top ↵Catelite1-1/+1
of every tmp cycle. Also, changed BREC references into BREL for consistency since it isn't often mentioned.
2012-06-07Ton of changes to make EXOT work as expected. Added graphics to WARP to make ↵Catelite1-0/+1
it actually invisible besides BLOB mode, EXOT now makes rainbows and explodes with too many electrons o__o
2012-06-07omg EXOT element, made from BREL element sparked repeatedly while under >10 ↵Catelite1-0/+4
pressure. Not at all finished, but looks cool :D
2012-06-02Moved soap and stick men graphics things to special functions.Savely Skresanov1-2/+4
2012-05-24remove lastx/lasty variables when OGLR is disabledJacob11-0/+2
Conflicts: src/graphics.c
2012-05-17Spellingjacksonmj1-6/+6
("gases" seems to be the more popular version of the plural noun)
2012-05-12Fancy motion blur for OpenGL, fix a lot of dialogues in OpenGL, fix gravity ↵Simon Robertshaw1-0/+1
lensing in OpenGL, ensure Phot and Neut are PMODE_ADD, not FLAT
2012-05-11New element: Titanium, absorbs some neutrons, acts as a solid wall to air. ↵Simon Robertshaw1-0/+2
Move blockair filling into update_particles so it can be used by elements
2012-05-06Change license from GPLv2+ to GPLv3+jacksonmj1-0/+16
Also add headers stating the license to some more of the source files
2012-04-30Merge branch 'master' of github.com:FacialTurd/The-Powder-ToySimon Robertshaw1-0/+2
2012-04-30Add PROP_NOAMBHEAT to prevent certain elements from being heated by Ambient ↵Simon Robertshaw1-1/+2
heat, Add PROP_NOAMBHEAT to FILT to fix http://powdertoy.co.uk/Discussions/Thread/View.html?Thread=13579
2012-04-27Use an array instead of ctype to cache tron colourjacksonmj1-0/+2
2012-04-27Fix compiler warning, GRAPHICS_FUNC_ARGS is not declared in graphics.hjacksonmj1-0/+1
2012-04-19Fix sponge bug.savask1-0/+1
2012-04-17Alterations to TRON and fancy effectsSimon Robertshaw1-0/+1
2012-04-17Took wrong update functioncracker641-1/+1
2012-04-17TRON element, needs to glow and fancy explosion on crashcracker641-0/+2
2012-04-15Added gel - a liquid with variable heat conductivity and viscosity.savask1-0/+3
2012-03-31REALISTIC - Latent heat. It may be buggy, and enthalpy table isn'tsavask1-0/+1
filled, but it works.
2012-03-14fusion step 2 + modify temp/pressure of step 1Jacob11-0/+1
2012-03-14soap lines, create_parts fix, compiling fixesJacob11-1/+1
2012-02-25Added FRAY - Force-ray and RPEL - RepellerSimon Robertshaw1-1/+5
2012-02-19Prevent gaps in beams of photons from powered clonejacksonmj1-0/+1
2012-01-25Solids wall description, and check build_save was successful when saving a stampjacksonmj1-1/+1
2012-01-25Implement PROP_NEUTABSORBjacksonmj1-2/+2
2012-01-25Make transform_save work with new save functionsjacksonmj1-2/+0
Conflicts: src/powder.c
2012-01-01BRMT + BREL = THRM at high temperaturesSimon Robertshaw1-0/+1
2011-12-19New element: Ignition cordSimon Robertshaw1-18/+20
2011-12-19Revert "Directly read/write element type properties"Simon Robertshaw1-344/+4
This reverts commit 0da91a783f51aa6ab1fe2648fc34f80efc38a504.
2011-12-18Merge with new lua functionalitySimon Robertshaw1-1/+1
2011-12-18Move Newtonian gravity into a new filejacksonmj1-5/+0
2011-12-10Fix memory leaks, allow changing of element name (To fix: element names in ↵Simon Robertshaw1-1/+1
some arrays out of sync)
2011-12-08Revert "Directly read/write element type properties"Simon Robertshaw1-4/+344
This reverts commit 0da91a783f51aa6ab1fe2648fc34f80efc38a504.
2011-12-08Directly read/write element type propertiesSimon Robertshaw1-344/+4
2011-12-03Fix spark effect on BOMB, another attempt at TNT (Explosive with more pressure)Simon Robertshaw1-7/+8
2011-11-26Allow pipe to grab from photon map, BRAY beam takes temp from ARAYSimon Robertshaw1-1/+1
2011-11-02CAUS now kills stick man. Also stick mans can have gas power now.savask1-1/+1
2011-11-01ACEL and DCEL, need to be in a better sectionSimon Robertshaw1-2/+8
2011-11-01Made fighters shoot anything deadly.savask1-1/+1
2011-11-01Fix Wireworld graphicsSimon Robertshaw1-1/+2