jacob1
c8c0f90871
Use date in screenshot filenames to ensure each screenshot's filename is unique
2022-05-06 01:27:33 -04:00
Tamás Bálint Misius
f7527b46e6
Update tpt-libs, add support for android
2022-04-14 21:18:21 +02:00
Tamás Bálint Misius
6fe82d7221
Update tpt-libs, use SDL2main the way it's meant to be
...
Also fix the first mouse click not being detected on windows with sdl 2.0.20. Apparenlty, we need SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH set to 1 for it to be detected.
2022-04-10 10:39:23 +02:00
Tamás Bálint Misius
f6878dcdb6
Free array we get from CommandLineToArgvW
2022-04-08 07:14:39 +02:00
xphere07
674134588c
Upgrade to C++17 ( #819 )
2021-12-13 14:41:02 +01:00
Tamás Bálint Misius
0f2eedd4fb
Make thread_local replacement for MinGW slightly nicer
2021-10-23 10:08:26 +02:00
Tamás Bálint Misius
5582d6881d
Update tpt-libs, add support for compiling with MinGW on Windows
2021-10-22 23:14:54 +02:00
Tamás Bálint Misius
afa9fd3d8f
Remove precompiled headers, fix a few problems they masked
2021-10-15 17:04:04 +02:00
Tamás Bálint Misius
ea07244119
Refresh history code in GameMVC
2021-08-04 17:08:23 +02:00
jacob1
05f722b397
Fix custom brush loading
2021-07-11 16:48:05 -04:00
jacob1
fb3fcfcdb7
Fix local saves and migration process on Windows
2021-07-04 14:35:25 -04:00
jacob1
26327effd5
Compile fixes for renderer, no lua, and no gravfft options
2021-06-28 21:02:59 -04:00
jacob1
b3aa6252ce
Add button in options menu to migrate to shared data directory a18855301306
...
Summary of migrated files will be shown to user in a popup, and a log file with every moved file will be left in the original directory
stamps, saves, scripts, screenshots, and powder.pref will be migrated. Recordings are not.
2021-06-27 18:25:59 -04:00
jacob1
0292344328
Fix Windows compile error, switch std::string to ByteString
2021-06-26 01:05:56 -04:00
jacob1
d1016cf58d
move Platform.cpp to common/, seems to fit in a little better there
2021-06-26 00:58:37 -04:00
Tamás Bálint Misius
0832615599
Use versioned tpt-libs
...
Also move bzip2 sources out of their own subproject.
2021-01-03 11:00:45 +01:00
Tamás Bálint Misius
7724a60467
Compress font data
2020-12-25 19:46:13 +01:00
Tamás Bálint Misius
360297c338
Mesonification
2020-12-14 20:16:52 +01:00
mniip
f44d42dde8
Fix signedness warnings in String.h
2019-08-18 12:10:01 +03:00
Tamás Bálint Misius
2e76b10619
Use C++11 threads
2019-04-17 00:23:57 +02:00
jacob1
969e99c78c
also fix SplitFromEndBy in String
2018-06-05 00:26:31 -04:00
jacob1
01b9a7c7e8
fix Saves/ appearing before all saves in local save browser
2018-06-04 23:34:40 -04:00
jacob1
e8373ffa4c
mac compile fix
2018-05-17 21:31:26 -04:00
mniip
aa389dbbfd
Add missing locale header
2018-05-14 05:38:10 +03:00
mniip
30dd49235d
Add ToLower/ToUpper
2018-05-14 05:12:32 +03:00
mniip
22e1de3fe8
Work around a thread_local bug in MinGW with the WIN32 threading model
2018-05-13 04:32:28 +03:00
mniip
f8da7452c6
Remove codecvt
2018-05-08 08:35:06 +03:00
mniip
deaa17a947
Work around some holes in the BitmaskType specification
2018-05-08 06:05:12 +03:00
mniip
51adf37853
Fix order and composition of String(char[]) operators to make clang happy
2018-05-07 08:10:50 +03:00
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