Gleb Mazovetskiy
4e4cdf4d0c
Update SheenBidi and use the new decoding function
...
Use the `SBCodepointDecodeNextFromUTF8` function
introduced in https://github.com/Tehreer/SheenBidi/pull/33
1 year ago
staphen
fff1594fd5
Update SOL2
1 year ago
staphen
9bd6dc23f8
Update libzt
1 year ago
Anders Jenbo
348c8230a6
Update to SDL2 2.32.0
1 year ago
Anders Jenbo
a298451c22
Upgrade SDL2 to 2.30.12
1 year ago
Gleb Mazovetskiy
2ff7fb03d1
Replace hoehrmann_utf8 with SheenBidi
1 year ago
Gleb Mazovetskiy
b259f5e0e5
Add SheenBidi dependency
1 year ago
staphen
ba773259cd
Fix gcc/MSVC compiler warnings
1 year ago
Anders Jenbo
5234881e1d
Upgrade SDL2 to 2.30.10
1 year ago
Gleb Mazovetskiy
c47ff28156
macOS Tiger platform and instructions
1 year ago
Gleb Mazovetskiy
cdff60157e
Bump googletest to v1.15.2
1 year ago
Gleb Mazovetskiy
553d135726
CMake: FetchContent `EXCLUDE_FROM_ALL` fixes
...
On CMake v3.28+, `EXCLUDE_FROM_ALL` is supported natively as an argument
to `FetchContent_Declare`.
On CMake v3.30+, `FetchContent_Populate`, which we use to polyfill
`EXCLUDE_FROM_ALL` support for older versions of CMake, is deprecated
and triggers a noisy warning.
Avoids the warning by using the native `EXCLUDE_FROM_ALL` support on
CMake v3.28+.
1 year ago
Oleksandr Kalko
17ce17e910
Android major upgrades ( #7524 )
1 year ago
Gleb Mazovetskiy
b8ab6d2faa
Migrate from SimpleIni to our own implementation
...
Our implementation has a more modern interface and only
supports the features that we care about.
It always outputs `\n` as newlines and does not output BOM.
The modern interface eliminates awkward `c_str()/data()` conversions.
This implementation preserves comments and the file order of sections
and keys. New keys are written in insertion order.
We now also support modifying and adding default comments,
which may be a useful thing to do for the especially tricky
ini options (this PR doesn't add any but adds the ability to do so).
Sadly, this increases the RG99 binary size by 24 KiB.
I'm guessing this is because the map implementation generates
quite a bit of code.
Note that while it might seem that using `std::string` for every key and
value would do a lot of allocations, most of these strings are
small and thus benefit from Small String Optimization (= no allocations).
1 year ago
Gleb Mazovetskiy
63fd721d98
Set FMT_USE_FALLBACK_FILE=1 on some platforms
...
These platforms incorrectly declare but do not define `f(un)lockfile`.
`FMT_USE_FALLBACK_FILE=1` prevents libfmt from trying to use these
functions.
1 year ago
Gleb Mazovetskiy
985940342d
libfmt: Set FMT_USE_LOCALE=0
1 year ago
Gleb Mazovetskiy
ac062a3907
libfmt: FMT_BUILTIN_TYPES=0 on rg99
1 year ago
Gleb Mazovetskiy
dcb496614f
Update libfmt
1 year ago
Oleksandr Kalko
b6dee54cc1
Upgrade SDL to 2.30.7
2 years ago
staphen
fff2f224dc
Update ASIO to fix error messages on Windows
2 years ago
Gleb Mazovetskiy
4aa9d37f0f
Add google-benchmark
2 years ago
Gleb Mazovetskiy
e9c29fa806
Switch to ankerl::unordered_dense
2 years ago
Gleb Mazovetskiy
01147410c1
Add dependency on unordered_dense
...
https://github.com/martinus/unordered_dense
2 years ago
Gleb Mazovetskiy
3c1df9aecd
Bump SDL to v2.30.5
2 years ago
Gleb Mazovetskiy
7211958a05
Bump libfmt
2 years ago
Oleksandr Kalko
1b29ade394
General Android upgrades
...
* SDL2 to 2.30.2 bugfix
* Gradle to 8.7
* Android Gradle plugin to 8.3.2
Playtested to my Google Pixel 2, Android 11
2 years ago
Anders Jenbo
522b5e8472
Upgrade SDL to 2.30.0
2 years ago
obligaron
607737ee78
Fix windows x86 discord integration
2 years ago
obligaron
2421de4ddd
Bump libzt
2 years ago
Oleksandr Kalko
ef69727586
Upgrade source-download SDL to 2.28.5 ( #6838 )
2 years ago
Gleb Mazovetskiy
a6d752494f
sol2: Enable safe numerics
...
With this, numbers passed from Lua are checked for their correspondence
to the C++ types.
2 years ago
obligaron
5821d2305c
Bump libzt
2 years ago
obligaron
5864b0b09a
Bump libmpq
2 years ago
Gleb Mazovetskiy
5b62bf7eec
Lua improvements
...
1. A conformant `print`.
2. `drawString`.
3. `OnGameDrawComplete` event for drawing things on screen.
2 years ago
Gleb Mazovetskiy
5c1ff18bd3
`LuaEvent`: Use `traverse_get`
2 years ago
Gleb Mazovetskiy
72b49abef4
Add sol2 for Lua <-> C++ bindings
2 years ago
Anders Jenbo
706010ee45
Add Lua support
2 years ago
staphen
9d34cb2795
Remove frame queue exceptions from the network layer
3 years ago
Anders Jenbo
d725fdb4f3
Add screen reader support
3 years ago
Gleb Mazovetskiy
2e6847556e
Bump libfmt
3 years ago
staphen
13b5fb82fa
Build ASIO without exceptions
3 years ago
Gleb Mazovetskiy
a95bcc10f6
Windows 9x MinGW build ( #6619 )
3 years ago
Gleb Mazovetskiy
43dbd8cb57
Bump libfmt
...
Hopefully we'll be able to get rid of the custom nxdk fork soon.
3 years ago
Gleb Mazovetskiy
6df7955dc1
Bump GoogleTest
3 years ago
Gleb Mazovetskiy
16a6fc62e1
Deduplicate some of the MPQ handling
...
Reuse libmpq functions where possible instead of our own.
3 years ago
Gleb Mazovetskiy
b5cf2a3505
Bump zlib to 1.3
3 years ago
Gleb Mazovetskiy
4a4735e908
`string_view`-based asset lookup
...
Changes asset lookup functions to use `std::string_view` instead of
`const char *`.
This required new APIs in libmpq, added in
https://github.com/diasurgical/libmpq/pull/13 .
3 years ago
Gleb Mazovetskiy
ebe8c6e576
Add `tl::expected` and use it in `ParseInt`
...
`std::expected` has been standardized for C++23.
3 years ago
staphen
663c33475b
Introduce function to determine if ZT comms channel to peer is relayed
3 years ago
Anders Jenbo
c990369d25
Fix building ASIO on macos
3 years ago