mniip
e0af41350a
Add String/Format commentary
2018-05-07 06:22:24 +03:00
jacob1
56cba4595c
Merge branch 'unicode'
2018-05-06 20:15:23 -04:00
mniip
f8586ea3a2
Remove ByteString::Stream
2018-05-04 23:10:39 +03:00
mniip
e29d2c58c2
Copy the Format interface too
2018-05-04 21:12:47 +03:00
mniip
d6a92bdab5
Copy the String interface to ByteString
2018-05-04 14:45:57 +03:00
jacob1
44a8665f6f
update rng functions in a lot of element files to use .between/.chance
...
conversion is still very incomplete
2018-05-02 23:53:15 -04:00
mniip
730cf0806a
Fix number to string conversion failing after a failed string to number
...
conversion
2018-05-03 04:55:20 +03:00
mniip
5d80d77f55
Remove String::Stream and with it the locale hacks.
...
Also fixes the crash when compiled with -O
2018-05-03 04:18:40 +03:00
mniip
ecb41661f8
Fix String::{Begins,Ends}With and with it a bunch of stuff
2018-05-03 04:12:09 +03:00
mniip
5ff8cefca4
Replace String::Stream parsing with number splitting
2018-05-03 04:11:43 +03:00
mniip
1ea7a035d1
Add Number parsing facilities
2018-05-03 02:54:32 +03:00
mniip
4b92926f0d
Fix partition again
2018-05-03 00:45:22 +03:00
mniip
2f9cab7e54
Move "big" methods out of the header. Also fix Partition
2018-05-03 00:34:47 +03:00
mniip
d1610c5127
Add string partitioning methods
2018-05-02 23:42:34 +03:00
mniip
6c9cb174fb
Change some uses of String::Stream to StringBuilder
2018-05-02 22:11:41 +03:00
mniip
7523c14252
Reword the Format interface
2018-05-02 08:45:50 +03:00
mniip
eeacc90fc5
Add StringBuilder formatters
2018-05-02 06:54:28 +03:00
mniip
f864f81a76
StringBuilder mockup
2018-05-02 05:38:08 +03:00
mniip
ced7b0c993
Move the ConversionError class
2018-05-02 02:22:10 +03:00
mniip
a121c62c3b
Add some helper methods and rewrite some of the string manipulation code
2018-05-02 01:32:04 +03:00
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
jacob1
777cb967a5
add M_PI definition back
2018-04-28 00:26:43 -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
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
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
wolfy1339
87f3ada7b0
Remove stuff from Config.h that doesn't belong
2017-11-23 00:12:48 -05:00
jacob1
3c2de70564
fix compilation / ensure this check only runs when compiling on windows
2017-10-13 00:03:35 -04:00
wolfy1339
536b20b164
Fix pthread deprecation warning, fixes #502
2017-10-12 23:33:05 -04:00
jacob1
6d6a615a37
msvc min/max fixes
2017-04-23 12:30:39 -04:00
jacob1
9e33906858
VS 2015 compiling fixes
...
note, wiki guide still doesn't work unless you also have vs2013 installed
2016-10-13 22:32:52 -04:00
jacob1
0ebe2ed2b8
add newline to the end of tpt-thread.h because windows cross compiler really hates the lack of one
2016-03-31 22:38:47 -04:00
jacob1
40c2ff27b0
Test using DownloadManager from my mod instead of RequestBroker
...
The crash when opening saves on mac is definitely something to do with the threading, and i'd rather just test this first to see if it fixes it
Copied from my mod almost entirely as-is, with the changes to HTTP.cpp included, also added locks into Download.cpp even though it is probably overkill
2016-03-27 11:41:36 -04:00
jacob1
13d3547211
Compiling fix for scons on windows
...
something is up with the pthreads library (dynamic compiles still broken), probably windows libraries all need to be recompiled and distributed separately like I did for visual studio
2016-03-12 00:36:11 -05:00