Simon Robertshaw
d7a6b25a4b
Experiment with generic "register" for life prop
...
Move PROP_LIFE to LifeSpec register to encode behaviour
2021-06-02 18:44:34 +01:00
Tamás Bálint Misius
4b7e85c2fb
Fix a metric ton of MSVC warnings
2021-02-15 21:24:44 +01:00
Tamás Bálint Misius
4d52531889
Ditch element and tool classes
2020-01-09 19:22:11 +01:00
jacob1
0078fb4c6f
Add DefaultProperties, replaces some of the case statements in create_part
...
The rest will will in a commit soon that adds the Create event and some other stuff
Lua events will come after that
PLSM default temp lowered to MAX_TEMP
2019-11-25 22:08:18 -05:00
Tamás Bálint Misius
0179cefc78
Flatten include trees
2019-04-20 15:36:11 +02:00
jacob1
49703404be
change almost all the rest of the rng calls to .chance/.between
2018-05-05 11:56:17 -04:00
Saveliy Skresanov
cda029ff42
Use xoroshiro128+ random generator (everywhere besides BSON code).
2018-04-23 22:47:44 +07:00
jacob1
f812d7194b
fix obscure division by 0 issue that only QuanTech would ever be affected by
2018-04-02 23:06:51 -04:00
jacob1
208cf14ce8
convert r&0xFF in src/simulation/elements
2017-12-28 13:00:23 -05:00
jacob1
ac24810da5
add some defines to reduce usages of hardcoded r>>8
2017-12-28 12:03:26 -05:00
jacksonmj
57a3121a51
Limit MERC tmp to valid range
...
This preents "anti-mercury" (negative tmp from console) and also
slightly reduces how overpowered it can be in walls (enormous positive
tmp from console).
2016-07-16 01:16:04 +01:00
jacob1
07be209094
remove extra spacing in all the element files
2015-12-18 02:27:19 -05:00
jacob1
95ab91e91d
Remove .State property from all element files
2015-12-18 01:51:22 -05:00
jacob1
68b4f1efd6
MERC -> liquids, FUSE/FSEP -> explosives
2015-08-30 01:54:31 -04:00
jacob1
e493cf8a47
fix all tab spacing issues in all the element files
2013-03-13 15:54:34 -04:00
cracker64
08d1a68ce0
More fixes.
2013-02-27 17:20:05 -05:00
jacksonmj
e4907d1881
Copy dcolour when MERC expands, to let people make coloured mercury thermometers
2012-12-16 00:16:05 +00:00
Simon Robertshaw
80044bb0f0
Renderer Presets and default graphics function
2012-07-18 17:22:35 +01:00
Simon Robertshaw
51b17badf4
A bit of refactoring (elements)
2012-05-07 17:59:50 +01:00