Gleb Mazovetskiy
46e755f680
Simplify spell icon handling
...
Hide the internals of spell icon rendering behind simple functions.
3 years ago
Gleb Mazovetskiy
74ca2ab0db
Use no-background spell icons with UNPACKED_MPQS
...
Spell icons size: 200 KiB -> 81 KiB
Fixes #5470
3 years ago
staphen
1648a3d99f
Fix gamepad icon size and alignment
3 years ago
Beto Lopez
c0821fc01f
added missing Ubuntu library
3 years ago
Gleb Mazovetskiy
972ee091a1
qol/itemlabels: Use a flat set for used X coords
...
The set only contains a handful of elements.
It is faster and more space-efficient to store it as a vector.
3 years ago
Gleb Mazovetskiy
3cb24c15f3
Remove SDL_image dep from SDL1 build
...
Fixes #5504
3 years ago
Trihedraf
92e170dea8
set select correctly
3 years ago
Gleb Mazovetskiy
38e83a07ca
CMake: Clean up dead code removal flags
...
`-Wl,--gc-sections,--as-needed` only needs to be passed to the linker.
Fixes an unused linker flags warning with clang.
3 years ago
Gleb Mazovetskiy
25b3e30ccc
PS4: Update SDK (1.0 -> 1.1)
3 years ago
staphen
dbedbbf660
[amiga] Fix build warning `Ignoring extra path from command line: ".."`
3 years ago
Gleb Mazovetskiy
ce41ecb323
CMake: Fixup BZip2 dependency
...
1. Remove `find_package(BZip2 REQUIRED)` from Dependencies.cmake
because it is not used by devilutionx directly (it's a libmpq dependency).
2. For emscripten, use the built-in version of bzip2.
3. Reverts 0b4705cf1c , which added
a redundant `find_package(ZLIB REQUIRED)` to `Dependencies.cmake`.
3 years ago
staphen
0b4705cf1c
Add find_package(ZLIB) to Dependencies.cmake
3 years ago
Gleb Mazovetskiy
bdeb6ade0e
amiga.cmake: Remove `find_package(ZLIB)` ( #5501 )
...
* CMake: 3rdParty/zlib fixes
1. zlib already provides a CMakeLists.txt, use it.
2. Stub find_package for source build. ZLIB is used by libpng via `find_package(ZLIB)`.
3. amiga.cmake: Remove `find_package(ZLIB)`.
* Update UWP build directory for zlibstatic.lib
Co-authored-by: staphen <staphen@gmail.com>
3 years ago
Trihedraf
89ce987ec7
Remove remap of Start button to escape
3 years ago
Trihedraf
77ded34137
Fix locations for OnionOS 4
3 years ago
Gleb Mazovetskiy
ba56673d55
Only load stash graphics in town
...
Saves 69 KiB in the dungeon
3 years ago
Gleb Mazovetskiy
4c0b43508a
DoBlitScreen: Fix update rects
...
Fixes chat input at 640x480.
Also fixes the other rects, they were slightly off.
3 years ago
Artur Jarosik
8bee40dca4
Fix amiga build ( #5479 )
3 years ago
obligaron
d912babc91
Multiplayer: Enable Magic Rock Quest
3 years ago
obligaron
c95d7617c8
Gillian: play grave quest text only once
3 years ago
Yuri Pourre
23d0ab56e2
Add SDL2_image-devel as Fedora dependency
3 years ago
Gleb Mazovetskiy
23f7feba69
BackBufferState: `unordered_map` -> `vector`
...
A vector is a lot more efficient here as we generally
only have a handful (1-3) backbuffers.
Additionally, this avoids a lot of temporary allocations every frame,
which were apparently triggered by `emplace` even if the element
already existed.
3 years ago
obligaron
c8c3f9366c
Play skeleton kings speech only once and also in multiplayer
3 years ago
obligaron
f8705c51a2
Make skeleton king's lair multiplayer compatible
3 years ago
obligaron
610e80f098
Sync break crux
3 years ago
obligaron
31141ffb4d
DeltaLoadLevel: Sync objects before items so that closed areas get opened
3 years ago
Gleb Mazovetskiy
0caf60cbc6
CMake: Fix FindSDL2_image.cmake with vcpkg
...
In case of vcpkg, pkg-config may not be available but a CMake config is.
Prefer CMake config to pkg-config when looking for SDL2_image.
3 years ago
Gleb Mazovetskiy
b382700ba8
help.cpp: Fix unused variable warning
3 years ago
obligaron
c18380c2e7
Sync SpawnUnique
3 years ago
obligaron
1b1ea50cba
Refactor SpawnItem
3 years ago
obligaron
0711e6af4d
Sync SpawnQuestItem (multiplayer quest items)
3 years ago
Gleb Mazovetskiy
4f21264a98
Fix compilation error in help.cpp
...
Also fixes a warning in the same function
3 years ago
Raphaël Colin
9ed249bdb9
Add scrollbar to help window ( #5481 )
...
* Add scrollbar to help window. Also reduced the help window's text width to make space for the scrollbar.
3 years ago
staphen
0bb46d84b1
[3DS] Update link to bannertool
3 years ago
Anders Jenbo
367223bb22
Cancel previous builds when PR is updated
3 years ago
obligaron
dc3d797269
GetOffsetForWalking: use uint8_t for animation fraction
3 years ago
obligaron
d0978672e9
Make Poisoned Water Supply quest multiplayer compatible
3 years ago
obligaron
5a45ee4eba
Update diablo pentagram when quest state changes
3 years ago
obligaron
9a1bf42519
Always set lazarus portal position
3 years ago
obligaron
1999280c7a
Fix assert in delta_sync_monster
3 years ago
obligaron
0c13f88694
Ensure questmap changes are synced between clients
3 years ago
obligaron
7980a5a890
Make debug god mode damage multiplayer compatible
3 years ago
obligaron
5fe20e3d32
Make Lazarus quest map multiplayer compatible
3 years ago
obligaron
5f63060c28
Add FindUniqueMonster
3 years ago
obligaron
57a3ede76a
Introduce UseMultiplayerQuests
3 years ago
obligaron
17712562c8
Sync Quest._qvar2
3 years ago
obligaron
0de0894ad5
Enable sync of all quests
3 years ago
Gleb Mazovetskiy
a2a8b1c706
Padmapper: Simplify `buttonTo*` data structures
...
Use an `std::array` instead of `std::unordered_map`.
3 years ago
obligaron
eca1a68bec
AnimationInfo: Use fixed point math for fractions
3 years ago
Gleb Mazovetskiy
bb18daa405
Xbox One: Package translations
...
Fixes #4527
3 years ago