summaryrefslogtreecommitdiff
path: root/src/powder.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-25Fix WARP destroying DMNDjacksonmj1-2/+9
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-25Only check the bits actually used for wavelength in photon ctypejacksonmj1-1/+1
Fixes black photons not being killed after passing through pipe
2012-01-25Whoops, eval_move returning 1 should not allow particle creationjacksonmj1-1/+1
2012-01-25Implement PROP_NEUTABSORBjacksonmj1-0/+7
2012-01-25Make transform_save work with new save functionsjacksonmj1-115/+0
Conflicts: src/powder.c
2012-01-05eval_move in create_part if a particle already exists in the requested positionjacksonmj1-1/+1
To allow Lua tpt.create to create photons in glass
2011-12-28Fix creation of invalid wall tiles by sign tooljacksonmj1-1/+1
2011-12-21Added some heat to TNT and IGNCSimon Robertshaw1-1/+1
2011-12-19Use reduced resolution gravity maps for improved performanceSimon Robertshaw1-13/+13
2011-12-19New element: Ignition cordSimon Robertshaw1-0/+3
2011-12-18Move Newtonian gravity into a new filejacksonmj1-90/+1
2011-12-10Set BIZR/G/S ctype when loading a save, set BIZS ctype in create_partjacksonmj1-1/+1
2011-12-06Fix tnt/prop crash, it was using up all the memory on the computerJacob11-0/+1
2011-11-26Allow pipe to grab from photon map, BRAY beam takes temp from ARAYSimon Robertshaw1-0/+11
2011-11-21Fix LCRY/ELEC infinite loop, BIZR turns photons into electrons, SING ↵Simon Robertshaw1-0/+8
explodes with electrons, electrons react with deut.
2011-11-18New tables in lua API: el and version: element ids and version info ↵Simon Robertshaw1-0/+14
respectively. New lua functions: element (get element id from name) and element_func for hooking/overriding element update functions
2011-10-30Change LCRy workings and add ELEC (wip)Simon Robertshaw1-10/+18
2011-10-26Fix FIGH loading and bad variable namesSimon Robertshaw1-7/+7
2011-10-26Made a special structure for stick mans.savask1-28/+26
2011-10-26Some work on lightning for stick mans and fighters.savask1-1/+1
2011-10-26Fix one merging error, and adjusted fighters' array.savask1-1/+1
2011-10-26Added fighters.savask1-7/+57
2011-10-23Compatibility with MSVC - devast8aSimon Robertshaw1-3/+3
2011-10-19FILT subtracts photon colours when tmp=3jacksonmj1-0/+2
2011-10-19Fix infinite temperaturesjacksonmj1-1/+2
May also need -fno-finite-math-only, but it works fine for me without it
2011-10-14Fix crash with abnormal ICE ctypejacksonmj1-1/+1
2011-10-14Allow STKM to use lightningjacksonmj1-2/+4
2011-10-14Replace use of gravy and gravf with gravxf and gravyfSimon Robertshaw1-9/+9
2011-10-13Some changes to LIGH/EMP/TESC based on changes in MaksProg's mod v0.3jacksonmj1-35/+33
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-13Some work on DEST, EMP, LIGHjacksonmj1-1/+2
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-13Prevent extra particles at the end of 1px linesjacksonmj1-1/+2
2011-10-11Fixes for LIGH and TESC, LIGH observes gravity settingSimon Robertshaw1-4/+28
2011-10-10Fix erronous assignment and add MaksProg to contributors listSimon Robertshaw1-1/+1
2011-10-10More functionality for LIGH, better english on element descriptionsSimon Robertshaw1-0/+49
2011-10-10Elements, LIGH, TESC, EMP and DEST thanks to MaksProgSimon Robertshaw1-3/+3
2011-10-09Pretty effect when drawing powders, activate with 'n'Simon Robertshaw1-0/+14
2011-10-07Fix typo allowing liquids to teleport through solidsjacksonmj1-1/+1
2011-10-06Fix WHOL/VENT not eating ANAR, and fix PVOD eating PHOT/NEUT when offjacksonmj1-18/+8
2011-09-30Added extra functions to FILT (determined by tmp, modes are convert, filter ↵Simon Robertshaw1-2/+76
and add, convert is default). Added property edit tool, changes the properties of materials
2011-09-23Prevent water equalization from moving onto particles.cracker641-1/+1
2011-09-23Added Caustic gas, similar to acid, created with acid and water vapourSimon Robertshaw1-1/+1
2011-09-22Fix walls with water equalization.cracker641-4/+4
Also annoying inlines for visual studio.
2011-09-21Water level equalization test! In options menu, or tpt.watertest() .cracker641-0/+61
2011-09-18Fix disappearing particles, e.g. with a box of CONV (ctype DEUT) containing ↵jacksonmj1-0/+8
neutrons
2011-09-10Small changes to STOR, prevent setting Ctype to solid from cursor, allow any ↵Simon Robertshaw1-1/+1
type when ctype not set and correct discharge location bias
2011-09-08Add energy-only wall and make STOR show when it's holding a particleSimon Robertshaw1-2/+5
2011-09-03Convert ElementSimon Robertshaw1-0/+1
2011-09-03Added Powered VoidSimon Robertshaw1-0/+17
2011-09-02Limit particle-air heat transfer ratejacksonmj1-0/+1
2011-08-30Always check bmap when creating particlesjacksonmj1-1/+1