mniip
51f77f08b7
Internationalize simulation data (element names, descriptions, tools, walls, menus)
2020-03-20 07:32:07 +03:00
Tamás Bálint Misius
4d52531889
Ditch element and tool classes
2020-01-09 19:22:11 +01:00
jacob1
9993290b72
Add Create function, handles setting default properties for elements that need randomness or special code
...
Most of the switch statement in create_part is gone. There's a few others that I will get rid of in future commits. There will also be a CreateAllowed function, and a ChangeType. ChangeType will handle stuff that is duplicated in both create_part and part_change_type. Considering making a Destroy function instead of ChangeType, though.
Later on, Lua events will be made for all 3
Credit to jacksonmj for the original design of all of this, I copied it into my mod years ago
2019-11-28 00:22:17 -05: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
b41f228c10
fix a few cases where the rng calls were converted improperly
2018-11-20 21:02:20 -05:00
jacob1
49703404be
change almost all the rest of the rng calls to .chance/.between
2018-05-05 11:56:17 -04:00
jacob1
601af1feff
fix compile warnings, remove ugly PRTI/PRTO hack
2018-04-23 21:57:30 -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
wolfy1339
31fcb1bfaa
Fix some errors produced by clang
2018-04-03 21:02:23 -04:00
jacob1
67bc12de97
Fix issue where TPT was bought by EA
2018-04-01 15:26:13 -04:00
jacob1
40d2850ff7
TPT has now gone free to play! Many elements are unlocked by default, but by using Powdercoins you can unlock new elements and promote your saves to front page!
2018-03-31 22:40:23 -04:00
jacob1
2adae64041
fix ambient heat going to high negative values with high life LIGH, fixes #536
2018-03-03 20:58:39 -05: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
jacob1
1718fe9287
HEAC is now meltable via LIGH, fix HEAC hardness, fixes #441
2017-06-11 21:10:19 -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
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
c673f30e14
fixes suggested by jacksonmj in -dev
...
fixes bugs in DMG, LIGH, PHOT, and QRTZ, also makes deut explosions less laggy when they hit the particle limit
2014-11-14 12:48:06 -05:00
jacob1
08f05d69c1
move some elements around
2013-05-04 19:50:11 -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
jacob1
e493cf8a47
fix all tab spacing issues in all the element files
2013-03-13 15:54:34 -04:00
cracker64
0d70547cf0
More fixes to fix fixes and new fixes to fix stuff.
2013-03-01 00:41:53 -05:00
cracker64
08d1a68ce0
More fixes.
2013-02-27 17:20:05 -05:00
cracker64
3d2e594150
Small modifications part three.
2013-02-27 12:08:10 -05:00
jacob1
ea38fc2d86
fix possible crash with LIGH
2013-01-23 21:54:15 -05:00
jacob1
0cf027c529
VOID, VACU, and BHOL eat LIGH as it moves
2013-01-05 22:29:33 -05:00
Simon Robertshaw
05e32f1698
Fix things melting with heat sim off
2012-08-28 15:08:11 +01:00
Simon Robertshaw
41cbd69ac8
TPT: Use atan2 for LIGH angle calculations 966f1dcc23
2012-07-25 18:25:37 +01:00
Simon Robertshaw
5337f91736
TPT: Lightning direction affected by Newtonian gravity 3a946efdfd
2012-07-25 18:21:25 +01:00
Simon Robertshaw
51b17badf4
A bit of refactoring (elements)
2012-05-07 17:59:50 +01:00