Anders Jenbo
1af53e5754
Clean up RndLocOk
4 years ago
Anders Jenbo
1ff2f9b7f5
Remove dead code from AddNakrulGate()
4 years ago
Anders Jenbo
43311ad375
Use common function for loading .dun tile data
4 years ago
Anders Jenbo
189eb58247
Add new dependencies
4 years ago
Anders Jenbo
5fcf5ef303
Remove unused quest level code
4 years ago
Anders Jenbo
0205320a1d
Export static transparancy data to .dun files
4 years ago
Gleb Mazovetskiy
8514cc80a9
Migrate embedded button data to PCX
...
It is a bit smaller that way.
Also renders the non-embedded dialogs as PCX.
The embedded dialog is still raw pixel data because it is larger as PCX.
4 years ago
Gleb Mazovetskiy
c380c7fa61
PCX: Add transparency support
4 years ago
Gleb Mazovetskiy
e8c57aae67
Render widescreen cutscene bg as PCX
4 years ago
Gleb Mazovetskiy
5df03f56e3
DiabloUI: Render scrollbar as PCX
4 years ago
Gleb Mazovetskiy
ef45bd258a
-ffile-prefix-map -> -fmacro-prefix-map
...
This fixes debugging in VS Code.
4 years ago
Gleb Mazovetskiy
3d5307e3bd
.clang-tidy: Allow single-char loop variables
...
x, y, i, j, etc
4 years ago
Gleb Mazovetskiy
9e9b656b88
DiabloUI: Render backgrounds as PCX
...
The backgrounds can be quite large, for example
the Hellfire title background is a 2.4 MiB PCX file.
Previously, we converted all background to SDL surfaces.
This required extra memory, e.g. the 2.4 MiB Hellfire
title background uses 4.6 MiB as an SDL surface.
Changes the background to render directly from PCX instead
to reduce the allocator pressure.
4 years ago
Gleb Mazovetskiy
220d38aa5c
Direct PCX rendering
4 years ago
Andrew James
4bd1e06336
Point mega <-> world conversion helpers
4 years ago
Anders Jenbo
98a10d262e
Unify PlaceMiniSet
4 years ago
Anders Jenbo
357d477f65
Update DRLG_L1 to use Miniset
4 years ago
Anders Jenbo
55d93a71f1
Switch to using the Minipice class in drlg_l3
4 years ago
Anders Jenbo
e8ed195ef6
Place Anvil from the .dun rather then a hardcoded array
4 years ago
Anders Jenbo
655e879116
Lable Crypt tiles
4 years ago
ephphatha
3e60b02d50
Move the staff skip bugfix out of PlaceMiniSet
...
This makes the code more similar to other drlg routines so they can be combined more easily.
4 years ago
ephphatha
a6db96da57
Test betrayer portal position is set on dlvl 15
4 years ago
ephphatha
c859ec57d0
Dedupe SP/MP logic when killing archbishop lazarus
4 years ago
Andrew James
129f5b8d02
remove temporary variable in drlg_l4 GenerateLevel
4 years ago
Andrew James
5cc8bcdb8e
Remove no-op GCC pragma instructions
...
Pushing an option then immediately popping it doesn't do much :D
4 years ago
Ivan Epifanov
4c7ecbe591
Vita: use internal SDL2_image and libsodium
4 years ago
Anders Jenbo
359e31a900
Add PlaceMiniSetRandom1x1() helper for simple replacements
4 years ago
Anders Jenbo
6962fcd63e
Clean up PlaceMiniSet()
4 years ago
staphen
ffa35edbb8
Load OFILE_CANDLE2 when the Poisoned Water Supply quest is available
4 years ago
Anders Jenbo
b2278b85f8
Apply workaround for OOB in DRLG L1
4 years ago
staphen
128f5098e0
Check player hitpoints in InGameMenu()
4 years ago
staphen
56e8dbfec5
Apply CopyUtf8() to SelheroCatToName()
4 years ago
staphen
421a7772b4
Fix error that produces broken character at end of UTF8 string
4 years ago
qndel
fc5b7b3462
[diablo] Fix shrine rng ( #4529 )
...
This bug was less sever in Diablo then Hellfire as it didn't fully initialize the object leading to them sometimes getting garbage as the RNG seed, but it was never working correctly.
4 years ago
Anders Jenbo
d8e8be49d1
Remove unused code from l1 PlaceMiniSet
4 years ago
Anders Jenbo
afec954c9a
Convert dflags to boolean
4 years ago
Anders Jenbo
5c17c92b01
Clean up drlg_l1 door placement
4 years ago
Anders Jenbo
408c665a3c
Remove duplicate code in DRLG_MRectTrans
4 years ago
Sandro
c3b1415662
Prefer system FindSDL_audiolib
4 years ago
Anders Jenbo
1203514383
Clean up use of currlevel
4 years ago
staphen
b349e29058
Correctly indicate when scroll can be used on virtual gamepad
4 years ago
Anders Jenbo
e43cf251fb
Test Hell quest sets using dummies
4 years ago
Anders Jenbo
28d7c96063
Test reamaning Catacombs set levels using dummy sets
4 years ago
Anders Jenbo
50a222f1a2
Test generating a level for the butcher quests
4 years ago
Anders Jenbo
0e6a47e8c9
Test all entrances
4 years ago
Anders Jenbo
9181ba412b
Add tests for levels with quest sets using dummy maps
...
Banner1.DUN, Banner2.DUN, SKngDO.DUN, Blind1.DUN are custom maps made to
facilitate the tests that load map files as elements for generated
levels.
4 years ago
Oleksandr Kalko
e2629e9fde
Update Gradle plugin version
4 years ago
Gleb Mazovetskiy
9b72565bb0
Fix `RemoveBeltItemById`
4 years ago
Gleb Mazovetskiy
e76d5fc494
UseScroll: use `HasInventoryOrBeltItem`
4 years ago
Gleb Mazovetskiy
c45170d20e
Rename `inv_iterators` methods to `camelCase`
...
Per clang-tidy config
4 years ago