qndel
8d318ae397
🐛 Make item stat checking consistent
...
- Prevent negative stats from affecting the ability to use items
4 years ago
staphen
3a802ae270
Apply clang-format to display.cpp
4 years ago
Anders Jenbo
94fa772ce6
Fix SDL < 2.0.10 builds
4 years ago
Anders Jenbo
901d9aa435
Fix SDL < 2.0.6 builds
4 years ago
JoBergeron
6af1be7b13
[ios] Fixed bluetooth mouse support
4 years ago
Gleb Mazovetskiy
a4bc8fea7d
Fix warnings: `-Wsign-compare`, `-Wnarrowing`
4 years ago
Anders Jenbo
ca456778bf
[touch] Remove hacked defaults
4 years ago
obligaron
5e2ad66e64
Add OptionEntry Resolution
4 years ago
Gleb Mazovetskiy
d0ed505765
Move platforms `asio` includes to Source
4 years ago
Gleb Mazovetskiy
75222ccef8
Overhaul dependency options
...
Changes how dependency options are handled and moves them out of
`CMakeLists.txt`.
Major changes:
1. The static default now takes `TARGET_SUPPORTS_SHARED_LIBS` into account
2. The `DIST` setting no longer affects the static default.
3. The static option is now visible for system dependencies as well.
(it was previously hidden by `cmake_dependent_option`).
4. The auto-detection mechanism for `libfmt` and `SDL_image` only
applies if the setting has not been set.
5. SDL2 on Android is now also linked statically,
resulting in a 1.1 MiB smaller APK.
When using non-system dependencies, the default should always be static,
as there are 2 main use cases for these:
1. Dependencies that we must currently vendor because our forks have
significant changes that are not yet merged/released upstream.
2. Platforms that have no system packages, such as Android and iOS.
In both cases, static linking is the most appropriate default.
4 years ago
qndel
be0b79f9f5
Add IsWallSpell helper
4 years ago
staphen
f897f5fd92
Resize PalSurface when resizing the game window
4 years ago
Anders Jenbo
28ad032a2f
🐛 [gamepad] Fix casting lightningwalls
...
Fixes #3694
4 years ago
Andrew James
a1a64ef32e
fix negated check in SyncGetItem
...
I missed this when resolving merge conflicts :/
4 years ago
obligaron
96da9e8f34
options.h: remove redundant virtual
4 years ago
Vladimir Olteanu
819271489d
SDL1: Don't destroy surface in SDL_DestroyWindow
4 years ago
JBerg
f31258400a
[ios] Expose app's data
4 years ago
Anders Jenbo
654c53c65e
[ios] Disable hardware cursor
4 years ago
Anders Jenbo
d9d72fbbc7
[ios] Enable high resolution support
4 years ago
Anders Jenbo
c38e54a653
Update options.h
4 years ago
obligaron
d17c689077
Item highlighting: don't change cursor when a repeated action is requested (LastMouseButtonAction != None)
4 years ago
Anders Jenbo
10c5cbab9f
Fix and clen up macOS build
4 years ago
ephphatha
8d6a9a1d75
Use emplace_back when constructing pairs for language list
4 years ago
qndel
115e8ad0ff
ShownMenuTyp -> ShownMenuType
4 years ago
Gleb Mazovetskiy
0f924528ba
macOS/iOS: Add resources to the bundle
4 years ago
Anders Jenbo
d3a7c36d1d
Correct DPI on devices that apply extra scaling
4 years ago
obligaron
9f478a5851
Settingsmenu: Add list browsing
4 years ago
qndel
82a5b6315c
fix typo 'prefered' ( #3677 )
4 years ago
Anders Jenbo
157570a1f2
Handle screen orientation
4 years ago
obligaron
2e5a488d5f
Add OptionEntry for graphics
4 years ago
obligaron
eb7b9d7054
Introduce ResizeWindow()
4 years ago
obligaron
b5aab383d9
Introduce ReinitializeRenderer() and GetPreferedWindowSize()
4 years ago
Licaon_Kter
106f04a722
Fix typo for Romanian
4 years ago
Bubio
cef27299bf
Mark text for translation
4 years ago
Vladimir Olteanu
861fb99e9d
Quick cast
4 years ago
obligaron
8a235186f2
Settingsmenu: Clean up UI-Resources before switching options that require RecreateUI
4 years ago
obligaron
db392c84b0
Add OptionEntry Shareware and remove specials from settingsmenu
4 years ago
obligaron
b5ab9758d0
Replace gbSpawned with gbIsSpawn
4 years ago
obligaron
88ffa9f98a
Options: Move Diablo/Hellfire option to StartUp and integrate in Settings Dialog
4 years ago
obligaron
20fbd46886
Add OptionEntryFlags::NeedDiabloMpq/NeedHellfireMpq
4 years ago
ephphatha
680281e76c
Add support for older versions of windows
4 years ago
ephphatha
68f3270086
Try load the translation in the users language on windows
4 years ago
Gleb Mazovetskiy
e07c9eee03
Fix chat message overlap in CJK
4 years ago
Gleb Mazovetskiy
1b8939d70c
Safer chat message handling
4 years ago
obligaron
945ee04f62
Add OptionEntry Language
4 years ago
obligaron
b3740012b0
Add init_language_archives() to reinitalize lang_mpq
4 years ago
obligaron
0ac065dbaa
Make LanguageInitialize() reentry capable
4 years ago
obligaron
ae826d922f
Add OptionEntryFlags::RecreateUI
4 years ago
obligaron
8fc2fcd9e9
Move Intro Options to StartUp-Section and add a "Once"-Option
4 years ago
obligaron
629f7277b1
Add OptionEntryEnum::SetValue
4 years ago