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
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
ad5b12fe6d
part_change_type now returns true if it killed the particle
2018-03-10 15:39: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
6d141b0722
add new PhotonReflectWavelengths property, add reflection color for POLO
2017-07-16 00:07:32 -04:00
jacob1
2725a32b8e
Fix NTCT / PTCT / INWR triggering EMP blasts ...
2015-12-19 02:44:20 -05:00
jacob1
5ba34021bc
jacksonmj: Reduce ETRD lag e7c4b989654e
...
Improvement isn't as good as the EMP one in normal cases, but for intentional lag bomb saves it is much better. Tested it and confirmed it worked just like before this commit. etrd_life0_count is hopefully valid, the accuracy may not be as good as in jacksonmj's fork
2015-12-19 01:39:03 -05:00
jacob1
52a22bc7d6
jacksonmj: Move EMP triggering into SPRK_update 6ae719deb70d
2015-12-18 23:17:25 -05:00
jacksonmj
edf180b94e
SPRK(ETRD): Check life value of destination before conducting
...
This prevents ETRD conducting to neighbours which are still in the
cooldown period after the previous spark. This is for consistency with
all other conduction rules, and to prevent behaviour being dependent
on particle order.
2015-12-18 23:39:03 +00: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
Aditya Vaidya
13cc593d13
Fixed most spelling errors in code. 'originaly' is read as 'original Y', so not a typo
2015-05-18 15:16:01 -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
986b25b508
redo spark graphics, add spark render setting
2014-08-11 21:56:40 -04:00
jacob1
df1aac8180
still allow NBLE to ionize at high temperatures (probably won't interfere with fusion)
2014-04-26 14:35:01 -04:00
jacob1
138cb4d757
exception bluescreens print what the exception was, some (probably unnecessary) fixes to fusion that were never merged in, and probably a compiling fix
2013-12-03 22:05:35 -05:00
jacob1
81876a93a3
redo some brush drawing stuff to remove useless checks, and to allow for replace mode in the future
2013-05-16 00:20:07 -04:00
jacob1
7856f727a5
rename TUGN to TUNG (more popular spelling). Broken BRMT smelts back into TUGN
2013-05-13 21:10:45 -04:00
Simon Robertshaw
cab667001d
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-05-04 14:42:23 +01: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
Simon Robertshaw
dd0f5f5efb
New element: Tungsten, very high melting point
2013-05-03 22:33:39 +01:00
cracker64
f7dd658a30
SPRK from SWCH should check both cases.
2013-03-27 12:34:03 -03:00
jacob1
e493cf8a47
fix all tab spacing issues in all the element files
2013-03-13 15:54:34 -04:00
cracker64
5e1c7d7932
Some better comments in SPRK, renamed rt and ct.
2013-03-03 16:30:34 -05:00
cracker64
bb87299eb4
Missed one SPRK case.
2013-03-02 20:07:17 -05:00
cracker64
d58100dc07
More fixes, redid a bunch of SPRK, so far everything I've tested works fine.
2013-03-02 00:42:07 -05:00
cracker64
0d70547cf0
More fixes to fix fixes and new fixes to fix stuff.
2013-03-01 00:41:53 -05:00
cracker64
c65081d3ed
Finished first pass-through for all elements.
...
Will get a few more places later.
2013-02-28 00:40:36 -05:00
jacob1
947660fcd4
Fix hydrogen not burning right (with and without realistic heat), allow h2 to burn at all temps while still allowing fusion to work correctly
2012-10-26 15:12:13 +01:00
jacob1
5a91b83875
revert changing the lua/sdl includes and min/max changes
2012-09-07 00:53:29 +01:00
jacob1
f8f70a3f77
Visual studio compatibility
...
This removes some inlines when using visual studio to compile, uisng TPT_NO_INLINE. It also fixes many other problems visual studio has with the code
2012-09-07 00:52:56 +01:00
jacob1
2dcdca2761
fix spark color in nothing mode
2012-09-07 00:37:53 +01:00
Simon Robertshaw
b318c3721a
TPT: Powered pipe, based on jacob1's commits
2012-08-20 16:48:03 +01:00
Simon Robertshaw
a033fe7e49
TPT: Add ptypes.enabled checks to a few more places 61f39f5464
2012-07-25 19:42:53 +01:00
Simon Robertshaw
41cbd69ac8
TPT: Use atan2 for LIGH angle calculations 966f1dcc23
2012-07-25 18:25:37 +01:00
Simon Robertshaw
2189d298a7
TPT: Move INST flood fill into a separate function 36de2f19f5
2012-07-25 15:32:05 +01:00
Simon Robertshaw
16d3895e9c
Redo Wall IDs
2012-05-12 13:21:04 +01:00
Simon Robertshaw
51b17badf4
A bit of refactoring (elements)
2012-05-07 17:59:50 +01:00