Commit Graph

472 Commits

Author SHA1 Message Date
savask
f93a829672 Fix sponge bug. 2012-04-19 21:42:25 +07:00
savask
64629df1af Fix the bug where you could set "bad" temp to insulators. 2012-04-18 16:50:24 +07: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
savask
ff8ce0ef3a A small fix for convection. 2012-04-17 21:28:42 +07:00
savask
c9bcc11d35 Viscosity change for gel. Water diffusion among sponge and gel (but with
flying cake effect)
2012-04-15 21:48:24 +07:00
savask
8523da398f Added gel - a liquid with variable heat conductivity and viscosity. 2012-04-15 17:56:55 +07:00
jacksonmj
7a844f51ff Fix crash when flood fill deleting life 2012-04-14 19:12:08 +01:00
savask
e4448dc1d6 No unmeltable ice anymore. 2012-04-14 17:30:57 +07:00
savask
e52f730969 A fix for ice with ctype = 0. 2012-04-07 14:53:00 +07:00
Simon Robertshaw
57d8335ca5 Allow DEST to be cloned with CLNE, PCLN, BCLN and PBCN. Add icon for Force elements, minor edits to Gas and Atomic element icons 2012-04-03 23:54:51 +01:00
savask
4b4830b5a4 REALISTIC - Latent heat. It may be buggy, and enthalpy table isn't
filled, but it works.
2012-04-01 00:27:01 +07:00
jacksonmj
57aa7b88f1 More brush fixes
Fixes a problem with the triangle brush caused by InCurrentBrush
calculating the bottom left or bottom right points to be outside the
triangle at certain brush sizes.

Also fixes some points in the brush outline being heated twice when a
line is drawn with the heat tool.
2012-03-30 16:32:51 +01:00
jacksonmj
19968dbaab Brush fixes
Heat tool was heating a vertical line in the middle of the brush twice.

When drawing a vertical line with the triangle brush, it was one pixel
too thin.
2012-03-29 11:02:10 +01:00
Jacob1
5a3faa0584 Fix ELEC being put into pmap instead of photons 2012-03-26 16:18:13 +01:00
Jacob1
2d1c5696a4 triangle brush fixes 2012-03-26 16:12:53 +01:00
jacksonmj
2c3a2e2519 Remove squares.h, since it doesn't seem to give any speed advantage over sqrtf 2012-03-26 16:09:58 +01:00
Simon Robertshaw
12270f1ef3 Fix Replacemode delete on Tools 2012-03-23 10:22:46 +00:00
Jacob1
4fcfb05f25 fix 10000 compiler warnings, put nble.c in right spot, delete create_moving_solid 2012-03-14 20:43:53 -04:00
Jacob1
96ec3486e8 Fix major update_particles_i bug, do_move was being called on nonexistant particles, causing kill_part to kill another particle 2012-03-14 19:46:56 -04:00
Jacob1
dc688470a6 soap lines, create_parts fix, compiling fixes 2012-03-14 19:20:27 -04:00
Jacob1
134869d5e2 Fix rx = 0 crash 2012-03-14 18:58:52 -04:00
Jacob1
5a98d30a8f Make create_parts smaller/make cirlce code not repeat 3 times 2012-03-14 18:56:17 -04:00
Jacob1
75efca472c When creating a line, only fill in the first circle, and draw outlines the rest of the line 2012-03-14 18:52:24 -04:00
Jacob1
dea920680b Specific delete speed increase, delete useless(?) if statement 2012-03-14 18:50:29 -04:00
Jacob1
5f51cb3042 Way faster deleting 2012-03-14 18:49:57 -04:00
Jacob1
2f16a59998 Fixed triangle brush, but maybe I could keep it in as diamond brush 2012-03-14 18:49:24 -04:00
Jacob1
1cfcd25c36 Increase drawing speed 2012-03-14 18:49:19 -04:00
jacksonmj
b4a06df0b2 Remove 2 pixels per frame speed limit in detector wall 2012-03-14 21:57:47 +00:00
savask
71acd578b6 (REALISTIC) Better air<->body heat conduction. Air density now
influences on it (things don't heat vacuum).
2012-03-09 23:45:36 +07:00
savask
290cac8b7e Volume from heat change (for REALISTIC) 2012-03-02 21:31:48 +07:00
savask
f41f96f598 A new unstable REALISTIC option. No guarantees - but more realistic behaviour.
Better diffusion and heat transition.
2012-02-25 19:55:03 +07:00
jacksonmj
3702438482 Prevent gaps in beams of photons from powered clone 2012-02-19 00:49:04 +00:00
jacksonmj
a722d7a396 Change wifi so that it always takes one frame to transmit 2012-02-05 22:45:29 +08:00
jacksonmj
6bdc05cc40 Separate loop for updating life, and add SPRK life checks to most electronics 2012-02-05 22:45:29 +08:00
jacksonmj
eaf2af6d40 Another change to the eval_move check in create_part
Creating a particle where there was a wall but no existing particle was
broken, since eval_move returns 1 for moving into empty space.
2012-01-26 22:15:56 +08:00
jacksonmj
a9c198dd46 Fix WARP destroying DMND
If WARP moved in its update function, then the x/y variables in the main
loop were out of date. When the normal movement code ran, changes were
made to the wrong place in the pmap. This resulted in some particles
with low IDs being destroyed by the addition of WARP+SING.

This change might also fix the WARP+PRTI crash that I never managed to
reproduce.
2012-01-25 21:33:22 +08:00
jacksonmj
748a528fe0 Only check the bits actually used for wavelength in photon ctype
Fixes black photons not being killed after passing through pipe
2012-01-25 21:33:22 +08:00
jacksonmj
edcf6d7b2f Whoops, eval_move returning 1 should not allow particle creation 2012-01-25 21:33:20 +08:00
jacksonmj
bdf277e687 Implement PROP_NEUTABSORB 2012-01-25 21:33:20 +08:00
jacksonmj
16ea042bab Make transform_save work with new save functions
Conflicts:

	src/powder.c
2012-01-25 13:31:05 +00:00
jacksonmj
56b45c982b eval_move in create_part if a particle already exists in the requested position
To allow Lua tpt.create to create photons in glass
2012-01-05 08:46:11 +08:00
jacksonmj
f04577598b Fix creation of invalid wall tiles by sign tool 2011-12-29 06:39:59 +08:00
Simon Robertshaw
a716c59610 Added some heat to TNT and IGNC 2011-12-21 17:39:53 +00:00
Simon Robertshaw
810adc81fe Use reduced resolution gravity maps for improved performance 2011-12-19 21:35:40 +00:00
Simon Robertshaw
d6953be3a8 New element: Ignition cord 2011-12-19 14:29:01 +00:00
jacksonmj
934d1da66e Move Newtonian gravity into a new file 2011-12-18 22:04:47 +08:00
jacksonmj
20dd54f36e Set BIZR/G/S ctype when loading a save, set BIZS ctype in create_part 2011-12-10 23:53:42 +08:00
Jacob1
939a599b80 Fix tnt/prop crash, it was using up all the memory on the computer 2011-12-06 16:08:05 +08:00
Simon Robertshaw
d17336b467 Allow pipe to grab from photon map, BRAY beam takes temp from ARAY 2011-11-26 12:44:52 +00:00