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
Simon Robertshaw
876c861c42
Fix LCRY/ELEC infinite loop, BIZR turns photons into electrons, SING explodes with electrons, electrons react with deut.
2011-11-21 00:48:39 +00:00
Simon Robertshaw
f508013332
New tables in lua API: el and version: element ids and version info respectively. New lua functions: element (get element id from name) and element_func for hooking/overriding element update functions
2011-11-18 19:38:08 +00:00
Simon Robertshaw
856f9574b6
Change LCRy workings and add ELEC (wip)
2011-10-30 16:22:33 +00:00
Simon Robertshaw
5ab1ab8b46
Fix FIGH loading and bad variable names
2011-10-26 21:34:24 +01:00
savask
03902ec9a4
Made a special structure for stick mans.
2011-10-26 15:36:00 +01:00
savask
5652ecc5c2
Some work on lightning for stick mans and fighters.
2011-10-26 15:35:00 +01:00
savask
a075fd5a9a
Fix one merging error, and adjusted fighters' array.
2011-10-26 15:34:54 +01:00
savask
00d604820d
Added fighters.
2011-10-26 15:31:55 +01:00
Simon Robertshaw
b549688fdd
Compatibility with MSVC - devast8a
2011-10-23 17:59:04 +01:00
jacksonmj
034cd4ed62
FILT subtracts photon colours when tmp=3
2011-10-19 17:47:40 +08:00
jacksonmj
9fed467a28
Fix infinite temperatures
...
May also need -fno-finite-math-only, but it works fine for me without it
2011-10-19 17:47:39 +08:00
jacksonmj
633c3da401
Fix crash with abnormal ICE ctype
2011-10-15 01:04:59 +08:00
jacksonmj
8e877594c9
Allow STKM to use lightning
2011-10-15 01:04:58 +08:00
Simon Robertshaw
37e15bf3ad
Replace use of gravy and gravf with gravxf and gravyf
2011-10-14 13:18:00 +01:00
jacksonmj
af21bcd353
Some changes to LIGH/EMP/TESC based on changes in MaksProg's mod v0.3
...
Weaker and shorter EMP flash.
TESC has correct tmp value when created with replace mode.
LIGH harms STKM.
Gravity affects LIGH in create_part if p==-2, instead of in update_LIGH,
so that TESC lightning is not affected by gravity.
2011-10-14 00:33:22 +08:00
jacksonmj
2f46dca7c1
Some work on DEST, EMP, LIGH
...
Change indentation to tabs, respect temperature limit (if a hotter
reaction is required, should raise temp limit instead of ignoring it).
DEST: fix TYPE_SOLID check, and prevent it displacing DMND
EMP: randomise DLAY delay instead of heating it (since DLAY does not melt
and does not transfer heat)
Fix nearest_part so that t=-1 does not include dead particles
2011-10-14 00:33:20 +08:00
jacksonmj
107e77a1a1
Prevent extra particles at the end of 1px lines
2011-10-14 00:33:20 +08:00
Simon Robertshaw
6178bb4605
Fixes for LIGH and TESC, LIGH observes gravity setting
2011-10-11 10:34:33 +01:00