Gleb Mazovetskiy
94ab0ad05a
devilutionx.mpq: Use BZIP2 instead of PKWARE
...
4.7 MiB -> 4.3 MiB
4 years ago
Gleb Mazovetskiy
17a97450bc
Convert assets to CLX
...
Converted using the following commands:
```
cd Packaging/resources/assets
pcx2clx --transparent-color 1 --num-sprites 256 fonts/*.pcx && rm fonts/*.pcx
pcx2clx --num-sprites 2 ui_art/dvl_but_sml.pcx && rm ui_art/dvl_but_sml.pcx
pcx2clx --transparent-color 1 data/hintbox.pcx data/hintboxbackground.pcx && rm data/hintbox.pcx data/hintboxbackground.pcx
pcx2clx --transparent-color 1 --num-sprites 6 data/hinticons.pcx && rm data/hinticons.pcx
pcx2clx --num-sprites 2 data/panel8buc.pcx data/dirtybuc.pcx data/dirtybucp.pcx && rm data/panel8buc.pcx data/dirtybuc.pcx data/dirtybucp.pcx
pcx2clx --transparent-color 1 data/healthbox.pcx && rm data/healthbox.pcx
pcx2clx --transparent-color 1 --num-sprites 6 data/resistance.pcx && rm data/resistance.pcx
pcx2clx --transparent-color 1 --num-sprites 5 data/monstertags.pcx && rm data/monstertags.pcx
pcx2clx --transparent-color 1 data/stash.pcx && rm data/stash.pcx
pcx2clx --transparent-color 1 --num-sprites 5 data/stashnavbtns.pcx && rm data/stashnavbtns.pcx
pcx2clx **/*.pcx && rm **/*.pcx
git checkout master -- ui_art/black_diablo.pcx ui_art/black_hellfire.pcx data/charbg.pcx data/talkbutton.pcx data/panel8bucp.pcx
rm ui_art/black_diablo.clx ui_art/black_hellfire.clx data/charbg.clx data/talkbutton.clx data/panel8bucp.clx
```
4 years ago
Vladimir Olteanu
9a55b13340
Avoid defensive warning in DeltaImportObjects ( #5181 )
...
GCC emits -Wsequence-point even with c++20 as the language level, apparently just in case the code gets compiled under an older standard.
4 years ago
obligaron
385627e95b
Copy save file when creating reference or comparison save game
4 years ago
Anders Jenbo
32928d407c
Do not crash for unknown reasons...
4 years ago
Anders Jenbo
4cce9a2e6e
Do not crash when internal files are in accessible
...
We do not actually need access to the internal files, so simply skip
migration if there doesn't appear to be an internal folder.
4 years ago
Anders Jenbo
a7901323b9
Suppress pointless warning
...
Uses features only present in Android 4.4, but the activity only appears
in the shortcut list which isn't exposed for Android prior to 7.1
4 years ago
Anders Jenbo
8c2fa0a3ed
Make NonNull explicit
...
Inherited
4 years ago
staphen
748bb1f84d
Split delta trap operation from realtime trap operation
4 years ago
Gleb Mazovetskiy
ba34bafb3f
Use SDL events directly
...
Removes redundant miniwin events and queue, using SDL events directly instead.
Demo migrated using this script: https://gist.github.com/glebm/8a73b04f695de96f344cc2e35151e03e
4 years ago
Gleb Mazovetskiy
0f0f57080c
render: Move `common_impl.h` into `clx_render.cpp`
...
We no longer have other renderers.
4 years ago
Gleb Mazovetskiy
961866e1c4
CLX: A new graphics format
...
The format is almost identical to CL2, except it uses the frame header
to store frame width and height instead of 5 32-line offsets.
This means we always have access to frame dimensions, so we can use it
as an on-disk format for our graphics as well.
Additionally, we may be able to optimize the rendering even more
in the future now that we have guaranteed knowledge of frame dimensions.
4 years ago
Vladimir Olteanu
bd689e9359
Fix time demo
4 years ago
Vladimir Olteanu
33f4289634
Get rid of unused immunity
4 years ago
Vladimir Olteanu
74232f13bf
Get rid of dthread
4 years ago
Vladimir Olteanu
77353d2db9
Turn AmLine* into inline function
4 years ago
ephphatha
2121d8dc67
Use position for object delta messages
...
Co-authored-by: Stephen C. Wills <swills@gridprotectionalliance.org>
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
obligaron
439a9926e5
Clean up spell usage function names
...
Rename UseMana -> ConsumeSpell
Rename RemoveCurrentSpellScroll -> ConsumeScroll and remove unused return value
Rename UseStaffCharge -> ConsumeStaffCharge
Rename UseScroll -> CanUseScroll
4 years ago
obligaron
6804221199
Store scroll/rune location in SpellCastInfo.spellFrom and remove the scroll/rune only after the spell is casted
4 years ago
obligaron
279e92e69c
Checks conditions for spell again, cause initial check was done when spell was queued
4 years ago
obligaron
1cfd1ca99d
Fix double casting bug - use separated info for casted and queued spells
4 years ago
obligaron
2c7e886c85
Add detail log info to CompareSaves
4 years ago
Andrew James
480ab945e7
Only draw towners on their base tile ( #5171 )
4 years ago
Anders Jenbo
da5f392cfa
Merge OpenDoor and DeltaSyncDoor
4 years ago
Anders Jenbo
b9aa2959a6
Split deleta sync from operate door
4 years ago
Anders Jenbo
5f3acebe5e
Merge operate door functions
4 years ago
Cesar Canassa
1bdee4523b
✨ Adds ignoreMovingMonsters to MonsterAtPosition ( #5118 )
4 years ago
DakkJaniels
13d53a33dc
move gold drop checks earlier
4 years ago
Anders Jenbo
efe6b18900
Move two basic crypt setpices in to dun files
4 years ago
Yuvraj Tetarwal
59482b5e9f
Auto oil pickup ( #5159 )
...
* Fixed formatting
4 years ago
Gleb Mazovetskiy
7c7236d248
GitHub Actions: Upload iOS release
4 years ago
Gleb Mazovetskiy
a91277614e
Miyoo mini: Rename zip files
...
Add "miyoo-mini" to the release archive name to make it clear what
device this is for.
4 years ago
Gleb Mazovetskiy
b876fa84b0
make_src_dist.py: Vendor simpleini SDL_audiolib
...
Explicitly set `-DDEVILUTIONX_SYSTEM_SDL_AUDIOLIB=OFF`
and `-DDEVILUTIONX_SYSTEM_SIMPLEINI=OFF` because we now
also support the system versions of these.
4 years ago
Gleb Mazovetskiy
5ad03478dc
Missing fonts.mpq: Show an error, fall back to en
...
If the language is set to one of the locales that requires extra fonts
and `fonts.mpq` is missing, show an error dialog and fall back to English.
4 years ago
Anders Jenbo
069a33749c
Merge sync door functions
4 years ago
Anders Jenbo
70683bf9de
Add door state enum
4 years ago
ephphatha
9309f2fe4f
Add enum to represent monster sound effects
4 years ago
Anders Jenbo
3250472789
Clean up player references
4 years ago
Anders Jenbo
e83c55d444
Clean up object references
4 years ago
galaxyhaxz
b42c731ae5
Fix broken dirt tile in cathedral/crypt
4 years ago
ephphatha
b234565f65
Inline functions which only set Object::_oRndSeed
4 years ago
Stephen C. Wills
e364b7488c
HitMonster() cleanup ( #5147 )
4 years ago
obligaron
c5ce29106e
Fix left sideways walking monsters draw order
4 years ago
Cesar Canassa
f069cdc771
♻️ Pass objects by reference ( #5148 )
4 years ago
obligaron
ca1949a87f
Don't recalculate leveltype (from currlevel) in SaveGameData
4 years ago
ephphatha
0ce76a3f13
Add Object lookup method to mimic map::at()
4 years ago
ephphatha
ed5d2d98e7
Simplify AddBookLever
4 years ago
ephphatha
cdcccef47a
Return pointer from AddObject
...
This allows removing the immediate lookup for call sites which need further initialisation.
4 years ago
Cesar Canassa
1d08d6b974
♻️ Replace dMonster usage on DoAttack ( #5137 )
4 years ago
DakkJaniels
9403084d41
Fix ModifyPlrMag
...
Used BaseStr instead of BaseMag
4 years ago