Tamás Bálint Misius
ca6c67c16c
Factor functions shared between elements into headers
...
The signature duplication was getting out of hand; too easy to get wrong.
2023-12-09 16:37:49 +01:00
catsoften
a715f5d71a
Use RGB for constants and gradients, other misc changes
2023-04-16 22:13:39 +02:00
catsoften
bc085705a8
Remove deprecated PIXPACK/RGB/R/G/B functions
2023-04-16 22:13:39 +02:00
Tamás Bálint Misius
eee42b2ea3
Fix RNG usage
...
Mostly boils down to having graphics functions use Renderer's RNG, update and similar functions Simulation's.
2023-04-15 18:22:03 +02:00
Tamás Bálint Misius
fdfa206a3c
Preprocessor purge round 5: M_PI
2023-01-27 09:26:38 +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
Caeleron
9e94abb150
Transfer properties of COAL breaking into BCOL ( Fixes #602 )
...
Fixing a problem where decoration is not transferred from COAL to BCOL when broken. All properties of COAL should now be copied to the new BCOL particle, including if it is burning, decoration and discoloration caused from heating.
2018-12-25 17:12:56 -05: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
wolfy1339
27f6a6b297
Strip whitespace from files in repo ( #553 )
2018-04-03 21:46:01 -04:00
jacob1
6d141b0722
add new PhotonReflectWavelengths property, add reflection color for POLO
2017-07-16 00:07:32 -04: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
cracker64
3263c9437a
Jacob's laziness made me do this again.
...
CELL checks +-1 aren't required.
Moo
2015-10-08 01:48:44 -04:00
jacob1
dce874484a
fix all the gcc warnings in the element files (except one in PSTN) + all the unused variable warnings
2015-01-10 22:43:33 -05:00
jacob1
826b966668
reduce rand() chances to 5x the old values in elements that were changed to 3x3 loop checks instead of 5x5. Also some other fixes I found when looking at what had been changed.
2013-05-20 11:26:51 -04:00
jacob1
c68e4b1393
change descriptions of many elements to be more consistent, contain more info, and be more helpful.
2013-05-03 22:42:36 -04:00
Saveliy Skresanov
43974d8537
Narrowed loops for all elements in the first list.
...
Probabilities might be messed up a bit, I'm not sure.
2013-03-16 23:03:02 +07:00
jacob1
e493cf8a47
fix all tab spacing issues in all the element files
2013-03-13 15:54:34 -04:00
cracker64
5873d69586
Going through again.
2013-02-28 12:37:16 -05:00
Simon Robertshaw
51b17badf4
A bit of refactoring (elements)
2012-05-07 17:59:50 +01:00