summaryrefslogtreecommitdiff
path: root/src/elements
AgeCommit message (Collapse)AuthorFilesLines
2012-06-20Replace all explosion sparks with new element (EMBR)jacksonmj8-194/+200
Replaces: BOMB sparks and flash, electrons + glass sparks, sparks from IGNC, sparks from TNT explosion, and sparks from FWRK and FIRW.
2012-06-18Make ELEC+water form H2 and O2 in the correct proportionsjacksonmj1-3/+3
2012-06-17Prevent stacking from ELEC+NEUT, ELEC+water, and CO2 from BUBWjacksonmj2-13/+10
Also conserve number of particles when CO2 from BUBW is absorbed by water, and when splitting water into H2+O2 using ELEC.
2012-06-17Fix STKM causing stacking and falling through some powdersjacksonmj1-11/+12
2012-06-17Revert "Moved soap and stick men graphics things to special functions."Simon Robertshaw5-154/+9
This reverts commit 7f5408f196002476c4765f1cae833e1441e4b276. Conflicts: includes/powder.h
2012-06-15Move INST flood fill into a separate functionjacksonmj1-1/+1
Since there were so many if statements for INST in flood_parts. Also, allow INST inside walls to be sparked.
2012-06-13Added a tmp=1 flag to PLNT so that VINE will actually function like intended ↵Catelite2-1/+2
when VINE_MODE is disabled. Plant touching wood is unaffected, but vine that touches wood will grow.
2012-06-13Updated FRZZ element to behave somewhat like SNOW, since it has roughly the ↵Catelite1-0/+2
same physical properties. Also changed its element description, since it actually appears on a menu. Leftover FRZZ will eventually become ICE if touching ICE with FRZW ctype.
2012-06-13Update to EXOT that makes it permeable to neutrons as well as electrons. ↵Catelite3-37/+63
Neutrons cause a water>distilled water spread that enables EXOT's copy function, at its original speed. Electrons reset mode, but not tmp2. Trippy monochrome colors for copy mode. Conflicts: src/elements/exot.c
2012-06-12Remove sdl_scale from update_O2jacksonmj1-1/+1
Particle coords are not affected by sdl_scale, only mouse coords
2012-06-10Remember ctype when cloning lavajacksonmj4-11/+41
2012-06-10Revert "Make THDR TYPE_ENERGY again, so it goes in photon map"jacksonmj4-7/+5
This reverts commit 8b20bfd764308fddc1280b8a9d030e77503d0b0c. TYPE_ENERGY makes THDR move like photons, and means adjacent particles don't conduct as much heat from it (since the heat conduction code only looks for particles in pmap, not photons). Heat transfer could be fixed by increasing THDR's heat conductivity, but gas or powder movement is probably better than photon movement for THDR.
2012-06-09Avoid stacking in INVS and FILT, and fix pressurised INVS graphicsjacksonmj1-2/+1
Collisions now always work for particles inside INVS and FILT, so particles don't stack (just a single particle on top of each INVS/FILT). Pressurised INVS was being drawn using PMODE_FLAT (with no alpha blending), which sometimes hid particles inside INVS. Also limit BHOL tmp value to make sure it saves correctly.
2012-06-09Create BHOL when particles are stacked excessivelyjacksonmj1-1/+4
2012-06-09Make THDR TYPE_ENERGY again, so it goes in photon mapjacksonmj4-5/+7
Will simplify checking for excessive stacking
2012-06-07Unnecessary optimisationSimon Robertshaw1-13/+9
2012-06-07Neighbour check should be less or equal to 6 to find 2 TTANSimon Robertshaw1-1/+1
2012-06-07Titanium only blocks air when it is connectedSimon Robertshaw1-2/+23
2012-06-07Should return out after changing type.cracker641-0/+5
2012-06-07Tweaks to glow colors. EXOT now mimicks Heat View's color scale, and its ↵Catelite1-8/+17
irradiated color scheme uses tmp2 instead of temp so it appears to cycle.
2012-06-07...Slowed down replication a ton. Interferes with making bombs a ton, and ↵Catelite1-2/+3
makes the element seem less like insta-paste. Will still be usable for machines, though.
2012-06-07Added condition so that EXOT does not automatically replicate WARP to avoid ↵Catelite1-1/+1
confusion, and changed spawn tmp value to avoid instant copying on spawn.
2012-06-07Changed EXOT to change into touching particles in the five frames at the top ↵Catelite3-5/+8
of every tmp cycle. Also, changed BREC references into BREL for consistency since it isn't often mentioned.
2012-06-07...Doubled pressure generating limit, so it doesn't explode out of ↵Catelite1-1/+1
containers -quite- as much.
2012-06-07Added diffusion code for tmp2 in EXOT starting at >100 so that electron ↵Catelite2-8/+39
patterns won't cause abrupt fission reactions. Also, rearranged air generation line that depends on tmp already so that it doesn't abruptly switch on past 5000 and then violenly explode, but slowly increments instead.
2012-06-07Ton of changes to make EXOT work as expected. Added graphics to WARP to make ↵Catelite4-11/+75
it actually invisible besides BLOB mode, EXOT now makes rainbows and explodes with too many electrons o__o
2012-06-07Oops. +2 files.Catelite2-0/+73
2012-06-07Tron wasn't keeping its NODIE flag.cracker641-1/+1
2012-06-02Moved soap and stick men graphics things to special functions.Savely Skresanov5-9/+154
2012-05-26Soap bubbles are easily formed now. Also they inherit soap'sSavely Skresanov1-33/+31
decoration color.
2012-05-24remove lastx/lasty variables when OGLR is disabledJacob11-0/+2
Conflicts: src/graphics.c
2012-05-24limit amount of ELEC produced to prevent infinite reactionsJacob14-4/+4
2012-05-24small o2 fusion change, add my name to contibuters (it is ok for me to do ↵Jacob11-1/+1
that, right?)
2012-05-24oxygen fusion, fix two small bugsJacob13-22/+42
2012-05-23fusion changesJacob15-16/+14
2012-05-23fix compilingJacob11-2/+3
2012-05-23Fix the bug with stickman standing on the screen edge.Savely Skresanov1-4/+6
2012-05-23Fix the bug where gel didn't transfer water from sponge.Savely Skresanov1-0/+6
2012-05-23Make tron follow TRON_NOGROW , thought that was in there.... (github edit ↵cracker641-1/+2
because cate is annoying me)
2012-05-20Fix infinite loop when trying to detach soap with extra ctype bits setjacksonmj1-2/+2
2012-05-20Change order of bomb loops - delete particles before creating sparksjacksonmj1-12/+12
Fixes pressurised INVS being immune to bomb, as the sparks were being deleted instead of the INVS.
2012-05-12Fancy motion blur for OpenGL, fix a lot of dialogues in OpenGL, fix gravity ↵Simon Robertshaw2-2/+6
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 Robertshaw2-0/+27
Move blockair filling into update_particles so it can be used by elements
2012-05-11Fix TNT not exploding if multiple TNT particles are in the same placejacksonmj1-0/+1
flood_prop only changes the tmp value of one TNT particle at each coordinate. So some TNT particles can retain tmp=1 and keep running flood_prop, stopping the TNT from exploding.
2012-05-11Remove silly copypasta from GPMP, causing gravity to depend on air pressureSimon Robertshaw1-2/+0
2012-05-11Fix for PUMPSimon Robertshaw1-10/+7
2012-05-07Limit gel tmp valuejacksonmj1-0/+2
2012-05-07Change pipe and portal to check element type using properties instead of ↵jacksonmj2-4/+4
falldown and state
2012-05-06Added GPLv3+ license headers to all files in src/elements/Aditya Vaidya103-2/+1547
2012-04-29One gel particle can't absorb more than 100 water particles now.savask1-1/+1