Gleb Mazovetskiy
57e267e990
button.png: Arrange sprites horizontally
...
87x2262 -> 1131x174
This makes the file smaller and also makes the texture fit
on devices with 2048x2048 max texture size (Fixes #5403 ).
`button.png` updated with:
convert -crop 87x174 button.png +append out.png
optipng -o9 out.png
mv out.png button.png
3 years ago
obligaron
795a43dd89
Add Arena Support
3 years ago
staphen
96aedf0605
Update zlib to 1.2.13
3 years ago
staphen
8e71e18971
Reenable LTO for MinGW builds
3 years ago
Oleksandr Kalko
827efc618d
Update SDL2 used from source to v2.24.1
...
VCPKG already updated
Release notes: https://github.com/libsdl-org/SDL/releases/tag/release-2.24.1
3 years ago
Gleb Mazovetskiy
f7335e9df7
Xbox nxdk: Set gamepad type
...
Set the gamepad type to Xbox for the original Xbox.
3 years ago
obligaron
f54a8f27ca
Update timedemo
3 years ago
obligaron
c11463b615
Use cursor position for MouseActionType::OperateObject
3 years ago
obligaron
496689bb87
Fix incorrect SOLData for L1 arched/pillar Pieces (BlockLight and BlockMissile is missing)
3 years ago
Gleb Mazovetskiy
a052742109
rg99.cmake: UNPACKED_MPQS, reduce thread stack size
3 years ago
Gleb Mazovetskiy
41f43ea3f5
Support unpacked MPQs from devilutionx-mpq-tools
...
https://github.com/diasurgical/devilutionx-mpq-tools produces an unpacked MPQ
with all the graphics converted to CLX and the unused files removed.
This is primarily useful on RAM-constrained platforms, such as PS2,
because it eliminates the MPQ overhead.
Adds a build option to load from such unpacked directories instead of the MPQ.
These directories are searched for in the same locations
where the MPQs would be searched for otherwise.
Example directory layout:
* /usr/local/share/diasurgical/devilutionx/diabdat/ -- unpacked and converted diabdat.mpq
* /usr/local/share/diasurgical/devilutionx/hellfire/ -- unpacked and converted hellfire MPQs (all of them merged into 1 directory)
* /usr/local/share/diasurgical/devilutionx/fonts/ -- unpacked fonts.mpq
* /usr/local/share/diasurgical/devilutionx/pl/ -- unpacked pl.mpq
These directory structure is produced by calling `unpack_and_minify_mpq`
3 years ago
Andrew James
db90fd7956
remove sentinel check now that loop operates on known bounds
...
Co-authored-by: Stephen C. Wills <swills@gridprotectionalliance.org>
3 years ago
ephphatha
ea3ecbd619
Use _item_indexes type where appropriate
3 years ago
ephphatha
236b672687
Move increment of monster drop index to caller
...
This allows the caller which combines unrelated values into a single return value to take ownership of the transformation.
3 years ago
ephphatha
3e8715a3fd
Remove pointless increment/decrement of indexes returned by RndVendorItem
3 years ago
ephphatha
fc2a158a8f
Tidy up code dealing with temporary arrays
3 years ago
ephphatha
6c32945571
Use _item_indexes enum values instead of magic numbers
3 years ago
ephphatha
28d685ea85
Save and restore item seed when downgrading potions from steal trap
3 years ago
ephphatha
a5b5441794
Restore item seed when converting potions to rejuvenation potions
3 years ago
Gleb Mazovetskiy
08d446b2db
Towner: Optimize to save 16 bytes (88->72)
3 years ago
Gleb Mazovetskiy
ec12d7ce44
Player: Optimize to save 40 bytes
3 years ago
Gleb Mazovetskiy
7154ec15af
Object: Reorder to save 16 bytes (104->88)
3 years ago
Gleb Mazovetskiy
ac26f3a23b
Item: Optimize to save 16 bytes (312->288)
3 years ago
Gleb Mazovetskiy
b5d3f3561b
AnimationInfo: Reorder to save 8 bytes (32->24)
...
```
pahole --reorganize --show_reorg_steps --show_only_data_members -C AnimationInfo build/test/liblibdevilutionx_so.so
```
3 years ago
Gleb Mazovetskiy
12c7dab3f3
Define gamepad type for SDL1 handhelds
3 years ago
Gleb Mazovetskiy
6150973c1b
Clean up gamepad icons code
...
1. Correctly defined button strings.
2. Clean up the printing code.
3. Use translatable strings for the generic gamepad type.
3 years ago
Nicholas Calaway
eb45857422
Gamepad icons ( #5357 )
3 years ago
obligaron
c80fcf42c8
Fix infravision lasts forever ( #5404 )
3 years ago
ephphatha
22adb0a93f
Use counter to track number of candidates considered in TFit_Obj5
4 years ago
Gleb Mazovetskiy
d1e9f51c68
monster.{h,cpp}: Minor refactor
...
1. Extract some common code into functions.
2. Avoid some overly long lines.
4 years ago
Gleb Mazovetskiy
890295b6d3
In-game menu: Fix slider click handling
...
Previously, clicking on the slider close to the end
or near the start did nothing -- you'd have to actually
drag it to set the value to min or max.
Also cleans up the in-game menu code overall.
4 years ago
obligaron
9ee325e537
TFit_Obj5: Fix theme room generation when only last skipped candidate was valid
4 years ago
staphen
cd0205f8b9
Enable override for the externalNativeBuild's buildStagingDirectory
4 years ago
obligaron
69338e1733
Fix poison water entrace position
4 years ago
Anders Jenbo
715926e751
Fix single room cathedral with quest piece ( #5321 )
4 years ago
staphen
8b6db3a678
Get rid of panelstr, pnumlines, and ClearPanel()
4 years ago
staphen
5de080541a
Ensure that the last line of text does not exceed the lower bounds of the rectangle in DrawString()
4 years ago
staphen
e580c26a1f
Ensure that vertically aligned text does not exceed the upper bounds of the rectangle in DrawString()
4 years ago
DakkJaniels
4015dc186a
Prevent oil damage wrap around
...
per discussion in #development on 30/Sep/2022 (could hypothetically use gloomy shrine to subtract 1 max damage and eventually exceed max value for damage)
4 years ago
Oleksandr Kalko
74b9157ebf
Upgrade Android build tools
4 years ago
Trihedraf
895ae95ef9
Fix Activate to use showing on all items ( #5379 )
...
* Revert "Fix activate to use showing up on all items"
This reverts commit 597030d250 .
* Fix Activate to use showing on all items
4 years ago
burningserenity
597030d250
Fix activate to use showing up on all items
4 years ago
staphen
f91d709f96
Fix rolling text in Support and Show Credits
4 years ago
obligaron
7ad5a45905
Fix warp position offset and adjust some spawn positions ( #5364 )
4 years ago
KPhoenix
a1822bca8e
Remove sSkillText from spelldat.cpp
4 years ago
Oleksandr Kalko
68d57bd2d7
Update flatpak SDK and runtime to latest version
4 years ago
staphen
fb6b9306df
Upgrade libpng to 1.6.38
4 years ago
Mikołaj Piróg
4cff046ba9
Replace toHitSpecial member with a function & fix wrong arguments being passed ( #5337 )
4 years ago
qndel
c05c4c0f55
fix typos
4 years ago
Mikołaj Piróg
5e340d3261
Replace level member with a member function in monster ( #5336 )
4 years ago