Commit Graph

4927 Commits

Author SHA1 Message Date
mniip
ff27d69424 Switch from std::string to String/ByteString in most of the code
Also switch SimulationData from weird arrays to std::vector
2018-04-30 21:13:24 +03:00
mniip
4912674bfe Add unicode/byte string classes which are supposed to eventually phase
out std::string
2018-04-29 22:55:00 +03:00
mniip
c0c550e920 Add a new font editor 2018-04-29 18:49:40 +03:00
jacob1
d2e0986bf6 fix occasional issue where deleting the particle RAYT is detecting would delete the particle it is sparking instead
only happened when unpaused and only if the spark was in a certain state. part_change_type was called with the wrong coordinates, which confused pmap and put the sparked particle on top of pmap in the detected particle for a frame
2018-04-29 00:48:53 -04:00
mniip
04c875120a fix some tools' icons breaking their bounding box 2018-04-29 04:23:03 +03:00
mniip
16acc95621 Enlarge the font by adding 2 pixels above the cap height 2018-04-29 04:08:03 +03:00
jacob1
67132c9925 fix another out of bounds crash relating to stasis wall 2018-04-28 11:45:16 -04:00
jacob1
be57130c7a fix crash when particles are out of bounds 2018-04-28 00:27:03 -04:00
jacob1
777cb967a5 add M_PI definition back 2018-04-28 00:26:43 -04:00
jacob1
db8b32363e remove tpt-math.h includes 2018-04-28 00:09:14 -04:00
jacob1
29920c8999 remove trig tables, they are unused and alternatives are faster 2018-04-28 00:04:42 -04:00
jacob1
d56a4ee378 make RNG a singleton, update a few calls and start using between/chance functions 2018-04-28 00:01:08 -04:00
jacob1
f9211c2f90 msvc compile fix 2018-04-23 22:46:28 -04:00
jacob1
de757bc2c3 made sure the windows version actually compiled 2018-04-23 22:32:03 -04:00
jacob1
601af1feff fix compile warnings, remove ugly PRTI/PRTO hack 2018-04-23 21:57:30 -04:00
Saveliy Skresanov
1c600249dc Remove a useless header. 2018-04-23 22:55:22 +07:00
Saveliy Skresanov
7afd82469e Use vector math in cyclone. 2018-04-23 22:48:10 +07:00
Saveliy Skresanov
cda029ff42 Use xoroshiro128+ random generator (everywhere besides BSON code). 2018-04-23 22:47:44 +07:00
jacob1
fbe81baca3 make Platform::ExecutableName return std::string (fixes minor memory leak)
update code is untested
2018-04-21 19:28:47 -04:00
Vgr E. Barry
90cfd1f70f Add inverted mode for TSNS and PSNS with .tmp == 2 2018-04-21 12:36:25 -04:00
jacob1
9211fab9f7 fix memory leak when saving stamps 2018-04-21 00:34:49 -04:00
jacob1
6731fa16b7 fix memory leaks when loading stamps ('l') and viewing saves 2018-04-21 00:15:15 -04:00
moonheart08
22b9bf4953 Adds RAYT (#540) 2018-04-10 21:32:19 -04:00
krawthekrow
64b7fcf334 fix single-particle PSTN bug 2018-04-08 20:10:51 -04:00
jacob1
70b02301ff fix compile error 2018-04-05 23:40:21 -04:00
jacob1
11b2f58db7 define M_PI in tpt-math.h 2018-04-05 23:31:28 -04:00
jacob1
34e73e4d7d remove asin/acos because they aren't necessary and don't work 2018-04-05 23:07:29 -04:00
jombo23
564a9dfc48 Add ultrafast semi-accurate trig functions and update Cylone to use them. (#547) 2018-04-05 23:04:57 -04:00
jacob1
7f985b47dc whitespace fixes + description change 2018-04-03 22:33:25 -04:00
moonheart08
3f99a59cb2 Adds STASIS wall. (#556) 2018-04-03 22:24:38 -04:00
jacob1
d7ced6020c delete site_scons folder that hasn't been used in like 6 years 2018-04-03 21:49:46 -04: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
f812d7194b fix obscure division by 0 issue that only QuanTech would ever be affected by 2018-04-02 23:06:51 -04:00
jacob1
9f1d676391 Version 93.3 build 340 2018-04-01 17:19:03 -04:00
jacob1
07868ba2b7 Adjust SOAP links to non-SOAP particles properly when saving 2018-04-01 16:04:38 -04:00
jacob1
dfc5bd1d85 don't restrict containing certain new 93.0 features to 93.0 (so renderer can render them) 2018-04-01 15:28:54 -04:00
jacob1
67bc12de97 Fix issue where TPT was bought by EA 2018-04-01 15:26:13 -04:00
jacob1
71c96dd060 fix salt issue, for future reference 2018-04-01 15:06:33 -04:00
jacob1
9c5876f0b4 fix crash when can't purchase back, fix debug info in tampering message 2018-03-31 23:38:53 -04:00
jacob1
fdd6618896 fix buying erase tool in a pack, increase price of erase tool to 5000 2018-03-31 23:09:11 -04:00
jacob1
17c79f1661 fix bug where purchases always succeeded 2018-03-31 22:44:15 -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
1f97199df6 fix solar panels sometimes not working 2018-03-25 18:34:25 -04:00
jacob1
1b658a3022 version 93.1 build 338 2018-03-25 12:29:16 -04:00
jacob1
b89ea68acd remove fromNewerVersion TODOs in GameSave.cpp 2018-03-24 14:38:26 -04:00
jacob1
fac996722b save stickmen rocket boots / fan flag in saves 2018-03-24 13:09:02 -04:00
jacob1
3bd35ce83f fix STKM + fan wall 2018-03-21 23:58:27 -04:00
jacob1
126acb7db5 change TSNS/HSWC/PSNS/PUMP .tmp to 0 in older saves 2018-03-18 19:59:48 -04:00
jacob1
491d61a9ca remove msvc "add virus" compile flag 2018-03-18 10:37:10 -04:00