This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/simulation/elements
Tamás Bálint Misius 4f0c365e05
Preprocessor purge round 19: Split and minimize usage of Config.h
Also mostly banish it from other headers, and shuffle standard header includes to minimize cross-contamination between headers.
2023-01-27 09:27:32 +01:00
..
ACEL.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
ACID.cpp Add element LITH (#726) 2021-04-17 00:01:26 +02:00
AMTR.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
ANAR.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
ARAY.cpp Convert float pavg[2] to int tmp3, tmp4 2021-12-09 07:49:31 +01:00
BANG.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
BCLN.cpp Custom GOL (#731) 2020-10-08 20:23:59 +02:00
BCOL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BGLA.cpp Let NEUT pass through BGLA 2022-05-10 14:27:45 +02:00
BHOL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BIZR.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
BIZRG.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BIZRS.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BMTL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BOMB.cpp Remove pmap hack in BOMB.cpp 2022-12-20 23:59:17 -05:00
BOYL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BRAY.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BRCK.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BREC.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BRMT.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
BTRY.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
BVBR.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
C5.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
CAUS.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
CBNW.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
CFLM.cpp Convert hmap data to gradients 2022-12-25 11:09:08 +01:00
CLNE.cpp Custom GOL (#731) 2020-10-08 20:23:59 +02:00
CLST.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
CNCT.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
CO2.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
COAL.cpp Preprocessor purge round 5: M_PI 2023-01-27 09:26:38 +01:00
CONV.cpp Add inverted element filtering to CONV with tmp2 set to 1 (#871) 2022-12-07 12:43:21 +01:00
CRAY.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
CRMC.cpp Make CRMC immune to ACID, fixes #851 2022-12-27 11:48:15 -05:00
DCEL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
DESL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
DEST.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
DEUT.cpp Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
DLAY.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
DMG.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
DMND.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
DRAY.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
DRIC.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
DSTW.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
DTEC.cpp Add BIZR/BIZG/BIZS ctype serialization 2023-01-17 13:10:10 -05:00
DUST.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
DYST.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
E116.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
E146.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
ELEC.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
EMBR.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
EMP.cpp Preprocessor purge round 7: Config.template.h 2023-01-27 09:26:38 +01:00
ETRD.cpp Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
EXOT.cpp Fix EXOT freezing upon failing to replicate a neighbour 2021-03-05 21:54:00 +01:00
FIGH.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
FILT.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
FIRE.cpp Convert hmap data to gradients 2022-12-25 11:09:08 +01:00
FIRW.cpp Convert hmap data to gradients 2022-12-25 11:09:08 +01:00
FOG.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
FRAY.cpp FRAY: use floating point instead of double for this subtraction 2020-05-09 13:50:42 -04:00
FRME.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
FRZW.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
FRZZ.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
FSEP.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
FUSE.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
FWRK.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
GAS.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
GBMB.cpp Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
GEL.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
GLAS.cpp Make GLAS strengthening reaction more controllable and not so arbitrary (#856) 2022-12-22 21:36:50 -05:00
GLOW.cpp Don't let GLOW ctype go negative 2021-07-13 21:50:36 -04:00
GOLD.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
GOO.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
GPMP.cpp Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
GRAV.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
GRVT.cpp Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
GUNP.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
H2.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
HEAC.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
HSWC.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
ICEI.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
IGNT.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
INSL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
INST.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
INVIS.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
INWR.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
IRON.cpp Preprocessor purge round 1: simulation constants 2023-01-27 09:26:36 +01:00
ISOZ.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
ISZS.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
LAVA.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
LCRY.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
LDTC.cpp Fix a bunch of LDTC and DTEC issues 2021-04-18 20:32:32 +02:00
LIFE.cpp Fix white LIFE being created in some cases, such as from EXOT+NEUT 2022-12-29 23:56:50 -05:00
LIGH.cpp Preprocessor purge round 5: M_PI 2023-01-27 09:26:38 +01:00
LITH.cpp Fix LITH conducting through INSL 2022-05-27 06:22:22 +02:00
LNTG.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
LO2.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
LOLZ.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
LOVE.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
LRBD.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
LSNS.cpp Make energy particles visible to LSNS ant HSWC for reals (see 6052ef6) 2020-10-07 11:16:47 +02:00
MERC.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
meson.build Add element LITH (#726) 2021-04-17 00:01:26 +02:00
METL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
MORT.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
MWAX.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
NBHL.cpp Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
NBLE.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
NEUT.cpp Preprocessor purge round 7: Config.template.h 2023-01-27 09:26:38 +01:00
NICE.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
NITR.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
NONE.cpp Split Simulation::IsValidElement into IsElement and IsElementOrNone 2021-04-11 23:20:33 -04:00
NSCN.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
NTCT.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
NWHL.cpp Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
O2.cpp Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
OIL.cpp Remove inaccuracy in OIL's description 2022-05-02 11:34:33 -04:00
PBCN.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
PCLN.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
PHOT.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
PIPE.cpp Fix PIPE graphics hack giving Lua graphics functions bad particle IDs 2022-07-16 13:27:28 +02:00
PLEX.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
PLNT.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
PLSM.cpp Convert hmap data to gradients 2022-12-25 11:09:08 +01:00
PLUT.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
POLO.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
PPIP.cpp Fix random warnings from clang 8.0.0 2020-01-21 14:43:22 +01:00
PQRT.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
PROT.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
PRTI.cpp Split Simulation::IsValidElement into IsElement and IsElementOrNone 2021-04-11 23:20:33 -04:00
PRTO.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
PSCN.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
PSNS.cpp Replace max/min pressure with constants (#870) 2022-12-07 12:07:46 +01:00
PSTE.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
PSTN.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
PSTS.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
PTCT.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
PTNM.cpp New WTRV + BCOL -> OIL reaction in presence of PTNM 2022-05-02 06:14:49 +02:00
PUMP.cpp Replace max/min pressure with constants (#870) 2022-12-07 12:07:46 +01:00
PVOD.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
QRTZ.cpp Make QRTZ slightly change color while growing (#852) 2022-08-11 06:20:33 +02:00
RBDM.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
RFGL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
RFRG.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
RIME.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
ROCK.cpp Make ROCK harder to get, greatly increase ACID resistance 2021-06-27 18:39:51 -04:00
RPEL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SALT.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SAND.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SAWD.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SHLD1.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SHLD2.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SHLD3.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SHLD4.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SING.cpp Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
SLCN.cpp Misc minor changes to new elements 2021-07-09 22:09:24 -04:00
SLTW.cpp Preprocessor purge round 1: simulation constants 2023-01-27 09:26:36 +01:00
SMKE.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SNOW.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SOAP.cpp Redo code that makes SOAP float on OIL 2022-02-21 23:56:52 -05:00
SPAWN2.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SPAWN.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
SPNG.cpp Preprocessor purge round 1: simulation constants 2023-01-27 09:26:36 +01:00
SPRK.cpp Preprocessor purge round 5: M_PI 2023-01-27 09:26:38 +01:00
STKM2.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
STKM.cpp Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
STNE.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
STOR.cpp Convert float pavg[2] to int tmp3, tmp4 2021-12-09 07:49:31 +01:00
SWCH.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
TESC.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
THDR.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
THRM.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
TRON.cpp Preprocessor purge round 1: simulation constants 2023-01-27 09:26:36 +01:00
TSNS.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
TTAN.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
TUNG.cpp Preprocessor purge round 5: M_PI 2023-01-27 09:26:38 +01:00
URAN.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
VIBR.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
VINE.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
VIRS.cpp Convert float pavg[2] to int tmp3, tmp4 2021-12-09 07:49:31 +01:00
VOID.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
VRSG.cpp Convert float pavg[2] to int tmp3, tmp4 2021-12-09 07:49:31 +01:00
VRSS.cpp Convert float pavg[2] to int tmp3, tmp4 2021-12-09 07:49:31 +01:00
VSNS.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
WARP.cpp Fix find mode not highlighting WARP particles 2022-04-10 11:52:47 +02:00
WATR.cpp Add element ROCK (#724) 2020-10-08 01:27:25 +02:00
WAX.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
WHOL.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
WIFI.cpp Fix a metric ton of MSVC warnings 2021-02-15 21:24:44 +01:00
WIRE.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
WOOD.cpp Add a reaction to produce BCOL 2020-07-26 11:53:37 +02:00
WTRV.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
YEST.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00