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
Jacob1
1c7fdb0c26
oxygen fusion, fix two small bugs
2012-05-24 10:37:19 -04:00
Jacob1
1026963293
fusion changes
2012-05-23 19:53:50 -04:00
Jacob1
2656bcec2b
fix compiling
2012-05-23 18:54:25 -04:00
Savely Skresanov
d0a1b14409
Fix the bug with stickman standing on the screen edge.
2012-05-23 20:47:38 +07:00
Savely Skresanov
0cf636ad24
Fix the bug where gel didn't transfer water from sponge.
2012-05-23 10:19:54 +07:00
cracker64
c5b9b8d28a
Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me)
2012-05-22 23:26:28 -03:00
jacksonmj
eb0b2f9ca3
Fix infinite loop when trying to detach soap with extra ctype bits set
2012-05-20 23:22:47 +01:00
jacksonmj
089ea8b7a0
Change order of bomb loops - delete particles before creating sparks
...
Fixes pressurised INVS being immune to bomb, as the sparks were being
deleted instead of the INVS.
2012-05-20 23:22:37 +01:00
Simon Robertshaw
d69fc052fa
Fancy motion blur for OpenGL, fix a lot of dialogues in OpenGL, fix gravity lensing in OpenGL, ensure Phot and Neut are PMODE_ADD, not FLAT
2012-05-12 01:35:55 +01:00
Simon Robertshaw
d7fa0b139e
New element: Titanium, absorbs some neutrons, acts as a solid wall to air. Move blockair filling into update_particles so it can be used by elements
2012-05-11 21:02:58 +01:00
jacksonmj
de6203e049
Fix TNT not exploding if multiple TNT particles are in the same place
...
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-11 20:40:08 +01:00
Simon Robertshaw
befd4f5ef5
Remove silly copypasta from GPMP, causing gravity to depend on air pressure
2012-05-11 18:11:05 +01:00
Simon Robertshaw
835d6bbfb9
Fix for PUMP
2012-05-11 17:58:25 +01:00
jacksonmj
1c5381662d
Limit gel tmp value
2012-05-07 23:50:13 +01:00
jacksonmj
11bd67eb61
Change pipe and portal to check element type using properties instead of falldown and state
2012-05-07 14:09:14 +01:00
Aditya Vaidya
f69920b96c
Added GPLv3+ license headers to all files in src/elements/
2012-05-06 12:55:05 +01:00
savask
74979102b3
One gel particle can't absorb more than 100 water particles now.
2012-04-30 00:40:05 +07:00
jacksonmj
d7f798da60
Fix bounds checking for SING and make explosion pressure area smaller
...
Making the area smaller means a bit less pressure is generated, but it
does stop the pressure going through walls
2012-04-29 01:37:52 +01:00
jacksonmj
6101c04ff9
Use an array instead of ctype to cache tron colour
2012-04-27 18:09:54 +01:00
savask
ffee9df8e6
It's hard to be a fool (fix for the fix)
2012-04-27 19:49:01 +07:00
savask
68ab2e3148
Gel won't move solids any more.
2012-04-27 19:36:08 +07:00
Simon Robertshaw
b5a52838c7
Change STOR, PIPE, DUST to make correct use of .flags field.
2012-04-19 16:37:53 +01:00
Simon Robertshaw
62ecf1d87e
Ensure TRON head doesn't fade
2012-04-18 16:06:43 +01:00
cracker64
c0947d9fea
Should fix any border crashes
2012-04-18 11:57:27 -03:00
Simon Robertshaw
ffa5ccb666
Alterations to TRON and fancy effects
2012-04-17 22:38:27 +01:00
cracker64
eccf5658d2
TRON element, needs to glow and fancy explosion on crash
2012-04-17 15:55:58 -04:00