Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Detect language using std::locale | 60f1680d73e559dc85f6b85e9ca69cb9be717ae6 | mse | 2021-06-09 16:11:30 |
Rename data -> base and load game as mod | ec3b8aa10ee005d89d897b43c68cecd4b9ea8a75 | mse | 2021-06-07 12:31:53 |
Replace function with macro | cc34567bf5b5503d90ea989004606fcca240d3cd | mse | 2021-05-30 20:14:02 |
Bump version to 0.4.4 | 4b4eb20f18d047f34a94456b441ee55cc4c6248b | mse | 2021-05-30 03:48:53 |
Initial modding support with -m parameters | 94429b99dd3c85d67d8a9fe8b2faee06c1e9fcde | mse | 2021-05-29 22:01:40 |
Moddable dialogue loading via FileOpen | 6183fb4b8dde53f07f8e7bf6835a8fe7ca0a8a8c | mse | 2021-05-29 10:54:24 |
Moddable sound file loading via FileOpen | ed4d1680cfb17f573fe799908d35e6856c183076 | mse | 2021-05-29 07:21:32 |
Update en_to_zh, start implementing moddable FileOpen, fix -Wsign-compare | 89d00440e1c35d46851fb1d300107da9725d261d | mse | 2021-05-27 21:29:27 |
Add a third procedural basket and winnerberry translation string | 9b970d581d5094fd3ea7b9da2b4e397c4f4c94db | mse | 2021-05-27 09:29:02 |
Add STOPSOUNDS command | 22507196106fcd8db7b4bae15b6a2bf9168dd61e | mse | 2021-05-27 05:56:57 |
Wake player when hit | b2bc7d9cb37a9c9a707e9b8428e6f4d3fa2f27b7 | mse | 2021-05-26 08:50:53 |
Minor clarifications | d5a83695acdf78b21610239d530b1317dc4003cc | mse | 2021-05-24 00:11:59 |
DRM-free dynamic target | c51ae66a80c38d4d8aec606ad04492ea12a56fcd | mse | 2021-05-23 23:53:32 |
Initial commit | bfb7298e48367d2ac0924811b4950f3066ff075c | mse | 2021-05-22 05:08:16 |
File | Lines added | Lines deleted |
---|---|---|
confec.cpp | 6 | 0 |
File confec.cpp changed (mode: 100644) (index 0dc334f..cf601ea) | |||
... | ... | FILE *FileOpen( const char* filename, const char* modes ); | |
114 | 114 | ||
115 | 115 | #include <algorithm> | #include <algorithm> |
116 | 116 | #include <limits> | #include <limits> |
117 | #include <locale> | ||
117 | 118 | #include <map> | #include <map> |
118 | 119 | #include <random> | #include <random> |
119 | 120 | #include <string> | #include <string> |
... | ... | int main( int argc, char* argv[] ){ | |
914 | 915 | // The extra newline is needed as it is missing from Steam's error output on Linux. | // The extra newline is needed as it is missing from Steam's error output on Linux. |
915 | 916 | fprintf( stderr, "\nError - Steam does not appear to be running (SteamAPI_Init() failed).\n" ); | fprintf( stderr, "\nError - Steam does not appear to be running (SteamAPI_Init() failed).\n" ); |
916 | 917 | } | } |
918 | #else | ||
919 | // Determine language. | ||
920 | std::string loc = std::locale( "" ).name(); | ||
921 | if( loc.length() >= 2 && loc.substr( 0, 2 ) == "zh" ) | ||
922 | language = "zh"; | ||
917 | 923 | #endif | #endif |
918 | 924 | ||
919 | 925 | bool windowed_mode = false; | bool windowed_mode = false; |