summaryrefslogtreecommitdiff
path: root/src/elements/emp.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-17Remove old codeSimon Robertshaw1-143/+0
2012-06-07Changed EXOT to change into touching particles in the five frames at the top ↵Catelite1-4/+4
of every tmp cycle. Also, changed BREC references into BREL for consistency since it isn't often mentioned.
2012-05-06Added GPLv3+ license headers to all files in src/elements/Aditya Vaidya1-0/+15
2012-02-05More SPRK life checks for electronic elementsjacksonmj1-1/+1
Check life>0, because SPRK changes back to its ctype when life==0. This could result in SPRK being found/not found depending on particle order, so pretend SPRK is not there if life==0 (it will disappear during the current frame).
2012-02-05Separate loop for updating life, and add SPRK life checks to most electronicsjacksonmj1-1/+1
2011-10-25Fixes to EMP and speed/zoom for FBO textureSimon Robertshaw1-11/+14
2011-10-25Merge latest with graphicstestSimon Robertshaw1-0/+125
2011-10-23Compatibility with MSVC - devast8aSimon Robertshaw1-2/+2
2011-10-13Some changes to LIGH/EMP/TESC based on changes in MaksProg's mod v0.3jacksonmj1-3/+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-13Don't heat elements which don't conduct heatjacksonmj1-1/+1
2011-10-13Some work on DEST, EMP, LIGHjacksonmj1-86/+94
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-10Elements, LIGH, TESC, EMP and DEST thanks to MaksProgSimon Robertshaw1-0/+102