jacksonmj
34da698df1
Consistent proportions of WATR and SALT in SLTW
...
1 SALT + 3 WATR = 4 SLTW
2012-08-02 18:08:24 +01:00
Savely Skresanov
dc01f09f0e
Now stickmen can shoot plasma.
2012-07-12 22:24:19 +07:00
jacksonmj
61f39f5464
Add ptypes.enabled checks to a few more places
2012-07-09 20:09:29 +01:00
jacksonmj
3e1d3cd5a6
Salt should only melt ice that is above saltwater freezing temperature
2012-07-09 19:21:40 +01:00
cracker64
5f3c10a684
This should fix PLNT lag just a little bit... (mostly after shooting through NEUT)
2012-07-07 23:15:37 -03:00
jacksonmj
a925eea52c
C5 should not explode when touching cold INSL
2012-06-30 00:13:34 +01:00
jacksonmj
509b84b4f1
Stop STKM being able to jump on the bottom of the screen
2012-06-29 00:50:52 +01:00
jacksonmj
1f4f50682c
Make VOID and BHOL eat stickmen again
...
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-29 00:27:28 +01:00
jacksonmj
966f1dcc23
Use atan2 for LIGH angle calculations
...
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-29 00:04:46 +01:00
jacksonmj
167740e839
Reduce rate of lightning creation by clone
2012-06-27 00:59:07 +01:00
jacksonmj
3a946efdfd
Lightning direction affected by Newtonian gravity
2012-06-27 00:52:12 +01:00
jacksonmj
9988dc17aa
FIRW: less advection, and don't go faster when multiple fire particles are touching it
2012-06-23 16:54:38 +01:00
jacksonmj
81771d8672
Completely remove SING formation from fusion
2012-06-23 00:24:36 +01:00
jacksonmj
29aab750e5
Only create one NBLE particle for each fusing H2 particle
2012-06-23 00:10:39 +01:00
Jacob1
287822229f
fix compression during fusion
...
Conflicts:
src/powder.c
2012-06-23 00:10:39 +01:00
jacksonmj
31ce22f122
Gravity modes and Newtonian gravity for fireworks
...
Resolves issue #59
2012-06-21 13:58:35 +01:00
jacksonmj
79614a9719
Use eval_move(PT_FIGH, ...) when fighters are checking for obstacles
...
Also stop fighters being included in the stacking check
2012-06-20 22:40:08 +01:00
jacksonmj
1d5b081942
Replace all explosion sparks with new element (EMBR)
...
Replaces: BOMB sparks and flash, electrons + glass sparks, sparks from
IGNC, sparks from TNT explosion, and sparks from FWRK and FIRW.
2012-06-20 22:15:45 +01:00
jacksonmj
9b2c2a78a6
Make ELEC+water form H2 and O2 in the correct proportions
2012-06-18 22:47:38 +01:00
jacksonmj
ae5470ca78
Prevent stacking from ELEC+NEUT, ELEC+water, and CO2 from BUBW
...
Also conserve number of particles when CO2 from BUBW is absorbed by
water, and when splitting water into H2+O2 using ELEC.
2012-06-18 00:44:37 +01:00
jacksonmj
c14704ae49
Fix STKM causing stacking and falling through some powders
2012-06-17 23:54:47 +01:00
Simon Robertshaw
4b073de82a
Revert "Moved soap and stick men graphics things to special functions."
...
This reverts commit 7f5408f196
.
Conflicts:
includes/powder.h
2012-06-17 22:34:17 +01:00
jacksonmj
36de2f19f5
Move INST flood fill into a separate function
...
Since there were so many if statements for INST in flood_parts. Also, allow
INST inside walls to be sparked.
2012-06-15 13:45:55 +01:00
Catelite
a83a995f23
Added a tmp=1 flag to PLNT so that VINE will actually function like intended when VINE_MODE is disabled. Plant touching wood is unaffected, but vine that touches wood will grow.
2012-06-13 18:28:27 +01:00
Catelite
12cf2a3145
Updated FRZZ element to behave somewhat like SNOW, since it has roughly the 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-13 18:28:13 +01:00
Catelite
a104696620
Update to EXOT that makes it permeable to neutrons as well as electrons. 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-13 13:51:24 +01:00
jacksonmj
35d125cf53
Remove sdl_scale from update_O2
...
Particle coords are not affected by sdl_scale, only mouse coords
2012-06-13 00:45:35 +01:00
jacksonmj
7707943981
Remember ctype when cloning lava
2012-06-10 22:57:26 +01:00
jacksonmj
6d307b47b5
Revert "Make THDR TYPE_ENERGY again, so it goes in photon map"
...
This reverts commit 8b20bfd764
.
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-10 21:29:16 +01:00
jacksonmj
303a32f290
Avoid stacking in INVS and FILT, and fix pressurised INVS graphics
...
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-09 16:09:14 +01:00
jacksonmj
5d4c21d83b
Create BHOL when particles are stacked excessively
2012-06-09 12:37:44 +01:00
jacksonmj
8b20bfd764
Make THDR TYPE_ENERGY again, so it goes in photon map
...
Will simplify checking for excessive stacking
2012-06-09 11:08:11 +01:00
Simon Robertshaw
46d43d3020
Unnecessary optimisation
2012-06-07 19:54:13 +01:00
Simon Robertshaw
1d7b77b144
Neighbour check should be less or equal to 6 to find 2 TTAN
2012-06-07 19:31:45 +01:00
Simon Robertshaw
04a09d997d
Titanium only blocks air when it is connected
2012-06-07 19:17:50 +01:00
cracker64
bacde18e33
Should return out after changing type.
2012-06-07 14:03:20 -03:00
Catelite
a717f67f62
Tweaks to glow colors. EXOT now mimicks Heat View's color scale, and its irradiated color scheme uses tmp2 instead of temp so it appears to cycle.
2012-06-07 17:55:08 +01:00
Catelite
a360c28135
...Slowed down replication a ton. Interferes with making bombs a ton, and makes the element seem less like insta-paste. Will still be usable for machines, though.
2012-06-07 14:03:53 +01:00
Catelite
4e3d87737e
Added condition so that EXOT does not automatically replicate WARP to avoid confusion, and changed spawn tmp value to avoid instant copying on spawn.
2012-06-07 14:03:44 +01:00
Catelite
dfb0357382
Changed EXOT to change into touching particles in the five frames at the top of every tmp cycle. Also, changed BREC references into BREL for consistency since it isn't often mentioned.
2012-06-07 14:03:38 +01:00
Catelite
b5202ad38a
...Doubled pressure generating limit, so it doesn't explode out of containers -quite- as much.
2012-06-07 14:03:31 +01:00
Catelite
f77f1ab485
Added diffusion code for tmp2 in EXOT starting at >100 so that electron 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-07 14:03:22 +01:00
Catelite
c07afe4c89
Ton of changes to make EXOT work as expected. Added graphics to WARP to make it actually invisible besides BLOB mode, EXOT now makes rainbows and explodes with too many electrons o__o
2012-06-07 14:03:16 +01:00
Catelite
fe39fdb0e5
Oops. +2 files.
2012-06-07 14:03:08 +01:00
cracker64
c1d7aa229f
Tron wasn't keeping its NODIE flag.
2012-06-07 01:04:51 -03:00
Savely Skresanov
7f5408f196
Moved soap and stick men graphics things to special functions.
2012-06-02 21:59:25 +07:00
Savely Skresanov
ab8eeb6dd9
Soap bubbles are easily formed now. Also they inherit soap's
...
decoration color.
2012-05-26 19:01:14 +07:00
Jacob1
4da9a26502
remove lastx/lasty variables when OGLR is disabled
...
Conflicts:
src/graphics.c
2012-05-24 19:57:29 +01:00
Jacob1
e4686724ac
limit amount of ELEC produced to prevent infinite reactions
2012-05-24 11:02:42 -04:00
Jacob1
e79d18c58c
small o2 fusion change, add my name to contibuters (it is ok for me to do that, right?)
2012-05-24 11:01:30 -04:00