Gleb Mazovetskiy
a496b9d72b
Emscripten: Fix assets/ loading
2021-12-20 04:07:34 +00:00
Gleb Mazovetskiy
f5d8f513cb
AssetsPath: Default to exe dir
...
Also adds `SetAssetsPath`, for use by tests.
2021-12-16 21:26:11 +01:00
Gleb Mazovetskiy
d3a523fa0b
paths.cpp: Remove AppPath
...
It was redundant.
2021-12-16 19:19:04 +00:00
JBerg
f31258400a
[ios] Expose app's data
2021-12-06 22:01:02 +01:00
Gleb Mazovetskiy
a97ffd1640
Load MPQ file overrides without StormLib
...
Also logs the overrides in verbose mode.
2021-10-24 16:21:39 +01:00
Gleb Mazovetskiy
7d91bc461a
Improve asset file opening
...
Avoid wrapping asset files via StormLib, open them directly via SDL
instead.
2021-10-24 16:21:39 +01:00
Anders Jenbo
3b229a8275
Check for translation in the same place as they are loaded from
2021-10-24 16:03:26 +02:00
obligaron
a532d0fc21
Introduce paths::AppPath
2021-10-10 00:51:45 +02:00
Anders Jenbo
4dd8b121ec
Replace TTF with PCX font
2021-09-29 18:13:48 +02:00
Vladimir Olteanu
4a9ebf1460
Use SDLUniquePtr
2021-09-13 23:07:04 +02:00
Anders Jenbo
f167bd4dfb
Clang-tidy: llvm-include-order
2021-06-27 01:45:49 +02:00
Trihedraf
2544bec7f3
Fix PWD ini check for GCC 5.5
2021-05-16 00:11:18 +02:00
Trihedraf
de3f30623b
if Writeable diablo.ini in PWD use that and save saves to PWD
2021-05-15 14:34:43 +02:00
Ivan Epifanov
e9d4c85fab
Remove vita workaround
2021-04-28 15:27:49 +02:00
Gleb Mazovetskiy
46a5dc147b
🔨 Restore GCC 5 compatibility
...
We can support this much older compiler with just these few minor
changes.
2021-04-27 14:26:14 +02:00
Jmgr
d4f62870b8
Remove globals from paths.h
...
Fix for Vita
Update to use free functions
Use std::optional to allow setting empty paths
Change header inclusion order
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Use std::optional to allow setting empty paths
Apply clang-format
Temporary commit
2021-04-25 22:26:37 +02:00
Jmgr
2b672289e1
Fix optional being in experimental/ with some compilers
2021-04-25 22:26:37 +02:00
Anders Jenbo
3f30b8db60
Add Danish translation and switch to IETF instead of ISO 639-1 codes
2021-04-25 04:15:59 +02:00
John Törnblom
51e7a169a6
add initial language support using a simple MO parser
2021-04-25 03:40:45 +02:00
Jmgr
1b7e0d2cb3
Migrate existing log entries
2021-04-25 02:39:42 +02:00
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
2021-04-19 22:42:19 +02:00
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
2021-04-19 16:02:05 +02:00
Anders Jenbo
5fdb9ce459
🎨 Format code
2021-04-19 00:37:33 +02:00
Anders Jenbo
8c821e98d3
🚚 Restructure files
2021-04-16 03:57:22 +02:00