summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-06-20Save an extra tmp2 byte, for EXOTjacksonmj1-2/+17
2012-06-20Replace all explosion sparks with new element (EMBR)jacksonmj11-201/+259
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 powdersjacksonmj2-22/+26
2012-06-17Correct freezing temperature for SLTW (-21.1 C)jacksonmj1-2/+2
2012-06-17Revert "Moved soap and stick men graphics things to special functions."Simon Robertshaw7-157/+140
This reverts commit 7f5408f196002476c4765f1cae833e1441e4b276. Conflicts: includes/powder.h
2012-06-15Move INST flood fill into a separate functionjacksonmj2-97/+150
Since there were so many if statements for INST in flood_parts. Also, allow INST inside walls to be sparked.
2012-06-14Fix bug with the improvement to text wrappingjacksonmj1-4/+4
Cursor was sometimes in the wrong place
2012-06-14Minor improvement to text wrappingjacksonmj1-0/+8
When text flows onto a new line, don't put the space between words at the start of the new line.
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 ↵Catelite2-3/+5
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. ↵Catelite4-37/+64
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-12Make ambient heat convection work a bit betterjacksonmj1-3/+3
Previously, it was comparing the temperature of the current cell to the average of the cells around it (plus some advection affecting the average, but that makes no difference if the air starts out stationary), and basing the velocity change on this temperature difference. If the cell below is hotter and the cell above is cooler, the air should rise. But in this case, the average of surrounding cells tends to be near the temperature of the current cell, so not much happens. Just using the temperature difference between the current cell and the cell above makes convection work a lot better.
2012-06-12Remove sdl_scale from update_O2jacksonmj1-1/+1
Particle coords are not affected by sdl_scale, only mouse coords
2012-06-12STOR should not conduct heatSimon Robertshaw1-1/+1
2012-06-10Remember ctype when cloning lavajacksonmj4-11/+41
2012-06-10Prevent THDR from counting towards stacked particle limitjacksonmj1-1/+4
2012-06-10Revert "Make THDR TYPE_ENERGY again, so it goes in photon map"jacksonmj6-9/+7
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 graphicsjacksonmj2-3/+6
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-09Run stacking check less oftenjacksonmj3-6/+11
But force it to be run after loading a save so that really extreme numbers of stacked particles form BHOL immediately
2012-06-09Create BHOL when particles are stacked excessivelyjacksonmj2-1/+70
2012-06-09Prevent solid particles stacking in E-Holejacksonmj1-1/+1
Such as occurs when cloning a solid in E-Hole
2012-06-09Make THDR TYPE_ENERGY again, so it goes in photon mapjacksonmj6-7/+9
Will simplify checking for excessive stacking
2012-06-08Fix session check on startup - Session check was looking at the response ↵Simon Robertshaw1-1/+1
code from the version check, should the session check request complete before the version check, the response code would not be valid and the response would be discarded.
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 Robertshaw2-5/+26
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 ↵Catelite2-1/+2
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 ↵Catelite6-14/+79
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-07omg EXOT element, made from BREL element sparked repeatedly while under >10 ↵Catelite2-4/+7
pressure. Not at all finished, but looks cool :D
2012-06-07Tron wasn't keeping its NODIE flag.cracker641-1/+1
2012-06-05Fix the bug with not-spawning fighter.Savely Skresanov1-2/+0
2012-06-05Put ifs into switch in create_part. Delete useless PSv saving function.Savely Skresanov2-414/+218
2012-06-02Moved soap and stick men graphics things to special functions.Savely Skresanov7-140/+157
2012-06-01Deferred loading of save filesSimon Robertshaw3-26/+63
2012-06-01Fix command line save opening (save was being cleared immediately after loading)jacksonmj1-24/+20
2012-05-31Check fire colour values are within the range 0-255jacksonmj1-0/+9
Fixes flashing dust
2012-05-31Don't draw wall frame in loaded saves.Savely Skresanov1-0/+3
2012-05-31Added a settings option to draw a wall frame around screen.Savely Skresanov3-2/+54
2012-05-31Prevent allocation of particles with type==0Simon Robertshaw1-1/+1
bleep bloop
2012-05-30Fix PROP_NEUTPENETRATE, particles weren't being moved into empty spacejacksonmj1-1/+1
2012-05-30Fixed the bug with snow, where it melted without taking it's ctype intoSavely Skresanov2-6/+6
account.