Gleb Mazovetskiy
736a69ce8d
Lua: Add i18n module
...
Adds bindings for i18n functions.
Does not yet add support for loading mod-specific translations.
1 year ago
Oleksandr Kalko
d933340c28
UK.po - translate new strings ( #7632 )
1 year ago
Gleb Mazovetskiy
e5b6120517
Bump macOS target to 10.13.0
...
Apparently required for `std::visit`
1 year ago
Gleb Mazovetskiy
7d4332c78c
Split more things into libraries
...
This does not fully address the issue of most everything
being a giant library but it's a start.
Note that the libraries are OBJECT libraries, so they
may (and currently do) contain references to missing
symbols.
Also fixes the implementation of transitive dependency
support for OBJECT libraries.
1 year ago
Gleb Mazovetskiy
7668de36a4
Add a default clock mod
...
This mod renders a clock in the top-right corner
and is always available (disabled by default).
It is useful to have a mod available by default
as we work on mod support.
1 year ago
Gleb Mazovetskiy
4b38771263
Lua render: add screen_width/height()
1 year ago
staphen
3b841b5800
Reload Lua mods when enabling/disabling
1 year ago
Gleb Mazovetskiy
d7647d6c63
More dependency untangling
...
1. Moves more assets-related stuff from `init` to `engine/assets`.
2. Removes `SDL_audiolib` dependency from `soundsample.h`.
3. Cleans up some unused/missing includes.
1 year ago
Gleb Mazovetskiy
a16c339c3c
Bump clang-format-check.yml
1 year ago
Gleb Mazovetskiy
a7651f15d9
Extract `HeadlessMode` from `diablo.h`
...
Untangles some dependencies.
Many places that use `HeadlessMode` do not need all of `diablo.h`.
1 year ago
Gleb Mazovetskiy
b76feb2be3
Extract game mode out of init.cpp
...
Untangles some dependencies
1 year ago
Gleb Mazovetskiy
c31836eab8
Split up `engine.{h,cpp}`
...
Untangles dependencies by splitting up `engine.{h,cpp}` into 3 files:
1. `primitive_render`
2. `ticks` -- only contains `GetAnimationFrame` for now.
3. `GetWidth2` renamed to `CalculateSpriteTileCenterX` and moved to `levels/dun_tile.hpp`.
1 year ago
Maderator3000
cef944983a
Add files via upload
1 year ago
Gleb Mazovetskiy
dd76f17e4b
Rename endian.hpp to endian_read.hpp
...
Following #7620 , which split the write functions into a separate header.
1 year ago
Gleb Mazovetskiy
a49b1f2d58
Extract Is{Any,None}Of out of engine.hpp
...
Untangles some of the dependencies
1 year ago
Gleb Mazovetskiy
19ccf7ce88
Split endian_write from endian
...
Only `endian_write` functions require SDL, splitting them out
will allow us to clean up the dependencies a bit.
1 year ago
staphen
4931cc6386
Lua mod ini file configuration
1 year ago
Gleb Mazovetskiy
affd7e86e6
Move MPQs from init to engine/assets
...
Untangles some of the dependencies.
1 year ago
staphen
459e814f14
Fix tile incorrectly marked as solid next to crypt stairs down
1 year ago
staphen
028d32fb7a
Fix nonsolid fence tiles
1 year ago
Didi Kohen
6a27f61e95
flatpak MPQ location ( #7614 )
1 year ago
staphen
0d188dd073
Don't apply dungeon item validation to town items
1 year ago
Gleb Mazovetskiy
a12b5368c3
Extract sound effects enum into its own file
...
Avoids depending on all of `effects` in places where we only need the
enum.
1 year ago
Gleb Mazovetskiy
dff288a58e
path_test: Improve failure messages
1 year ago
Oleksandr Kalko
9a9a9c195e
Upgrade vcpkg baseline commit
1 year ago
Anders Jenbo
5234881e1d
Upgrade SDL2 to 2.30.10
1 year ago
Apaczer
fc0f58c839
storm_svid: use DISPLAY_TEXTURE_FORMAT for PlayEnd
...
otherwise we get incorrect menu graphics
1 year ago
Andrew James
aec1769858
account for held items in ResetInvCursorPosition
1 year ago
Andrew James
9c1a3b7b55
improve movement to body slots
1 year ago
Andrew James
99014d4ce7
allow moving from stash to inv from left side of wide items
1 year ago
Andrew James
3a3498f766
dedupe code for moving from inv to stash
...
also reorganising belt to stash checks to match
1 year ago
staphen
09411784d2
Fix value of items bought from Wirt's shop
1 year ago
Sophie Alberti
21b12f7632
improve gamepad stash control, fix #7019
1 year ago
Gleb Mazovetskiy
164ebb46bd
Big-endian networking fixes
1 year ago
hiperiondev
20b91f66c0
Correct one changed translation
1 year ago
hiperiondev
6a580b3636
Update from source
1 year ago
Trihedraf
0aa7e99819
Add missed XP string for TARGET_PLATFORM cache
1 year ago
Trihedraf
c6302c8686
Build Windows XP on new Release
1 year ago
Trihedraf
ca904125c4
Add windowsXP cmake target
1 year ago
staphen
60c99f76ee
Fix building instructions for Nintendo 3DS
1 year ago
bubio
2cb1e1fa66
Update japanese translations(Error messages)
1 year ago
Trihedraf
fcb22f5376
Fix typo in Platforms.cmake ( #7588 )
1 year ago
Anders Jenbo
191e59ca37
Update iOS and macOS build to run on macOS 13
1 year ago
Gleb Mazovetskiy
940ce3fb64
Test paths fixes
...
1. Load assets from the bundle on Mac.
2. In timedemo_test, load MPQs before overriding pref path,
so that they can also be loaded from the user/system location.
3. Fix various double directory separators ("build//assets" etc).
1 year ago
Gleb Mazovetskiy
f798556169
Work around broken event pushing on Tiger
...
Pushing events from a background thread on Tiger + SDL1
does not appear to do anything at all.
I don't know if the issue is limited to Tiger,
so apply the workaround on all macOS when using SDL1.
1 year ago
Gleb Mazovetskiy
b68f59d002
OSX: Fix base/pref/config paths on Tiger
1 year ago
Gleb Mazovetskiy
cf759c208a
timedemo_test: SDL1.2 compat
1 year ago
Gleb Mazovetskiy
6ee38cb37d
items_test.cpp: add missing <climits> include
1 year ago
Gleb Mazovetskiy
73a31494e1
OSX Tiger: Fix icon
...
Finder on OSX Tiger can only handle `icns` files with up to 128x128 icons.
Adds a file with 128x128, 48x48, 32x32, and 16x16 icons.
1 year ago
Gleb Mazovetskiy
c47ff28156
macOS Tiger platform and instructions
1 year ago