summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-08-02move some key stuff out of sdl_poll, zoom won't be triggered even when ↵jacob12-97/+106
disabled by lua now Conflicts: src/interface.c src/main.c
2012-08-01Disable decorations by defaultSimon Robertshaw1-0/+1
2012-07-24Correct pasting text within existing text, courtesy of jacob1Simon Robertshaw1-1/+1
2012-07-190 is a valid value for activeMenujacksonmj1-1/+1
2012-07-12Now stickmen can shoot plasma.Savely Skresanov1-1/+4
2012-07-09Add ptypes.enabled checks to a few more placesjacksonmj10-15/+15
2012-07-09Salt should only melt ice that is above saltwater freezing temperaturejacksonmj1-1/+1
2012-07-08Optimization for GoL, Added brush size and mouse wheel to lua!cracker644-23/+34
2012-07-08This should fix PLNT lag just a little bit... (mostly after shooting through ↵cracker641-1/+1
NEUT)
2012-07-06Ensure an array terminator is only written if the signs array actually exists.Simon Robertshaw1-1/+1
2012-06-29C5 should not explode when touching cold INSLjacksonmj1-1/+1
2012-06-29Ensure any clicks on stacked save link signs only open the first found sign.Simon Robertshaw1-0/+1
2012-06-28Stop STKM being able to jump on the bottom of the screenjacksonmj1-5/+6
2012-06-28Prevent acid from eating broken glassjacksonmj1-1/+1
2012-06-28Prevent STKM falling through activated PVOD with a ctype that isn't STKMjacksonmj1-5/+18
2012-06-28Make VOID and BHOL eat stickmen againjacksonmj1-0/+13
Broken by making stickmen heads pass through everything, since the eating happened in try_move, which stickmen no longer use for head movement.
2012-06-28Use atan2 for LIGH angle calculationsjacksonmj2-7/+9
atan2 gives the actual angle (in the range -pi to pi). acos and asin just give the principal value (in the range 0 to pi, or -pi/2 to pi/2)
2012-06-26Reduce rate of lightning creation by clonejacksonmj4-4/+4
2012-06-26Lightning direction affected by Newtonian gravityjacksonmj2-19/+22
2012-06-26Allow INST to be sparked directly with the brushjacksonmj1-0/+5
2012-06-26Fix infinite loop when flood_INST finds some INST with a non zero life valuejacksonmj1-9/+29
Also fix memory leaks when flood fill functions return early.
2012-06-23FIRW: less advection, and don't go faster when multiple fire particles are ↵jacksonmj2-1/+2
touching it
2012-06-22Completely remove SING formation from fusionjacksonmj2-2/+0
2012-06-22Only create one NBLE particle for each fusing H2 particlejacksonmj1-6/+0
2012-06-22fix compression during fusionJacob15-24/+20
Conflicts: src/powder.c
2012-06-22Reset particle flags in create_partjacksonmj1-0/+1
2012-06-22Allow stickman head to go through everythingjacksonmj1-1/+25
2012-06-22Prevent STKM floating in gasesjacksonmj1-1/+1
2012-06-21Gravity modes and Newtonian gravity for fireworksjacksonmj4-18/+70
Resolves issue #59
2012-06-21Fix minor bug with deco sample tooljacksonmj1-3/+3
If particles are not being drawn with blendpixel, then it is possible for the R/G/B component of a pixel to be 255. Adding 1 gives 256, which does not produce the right colour when combined into a RRGGBB value
2012-06-20Use eval_move(PT_FIGH, ...) when fighters are checking for obstaclesjacksonmj2-13/+13
Also stop fighters being included in the stacking check
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.