Gleb Mazovetskiy
2d0d7ccc88
Reinitialize hardware cursor on window size change
4 years ago
Gleb Mazovetskiy
a6ab8df2a6
Make the debug `drop` command work in town
4 years ago
Gleb Mazovetskiy
d741018fee
Remove more redundant `devilutionx.mpq` checks
4 years ago
qndel
ef5a4de227
typos + code cleanup
4 years ago
qndel
8e137f5305
close help panel while talking to NPCs
4 years ago
staphen
f9e01f25c4
Consistently send network messages when monsters are damaged
4 years ago
ephphatha
81fa45d9d8
Update multiplayer delta when parsing close door command
4 years ago
ephphatha
b4839dadcc
Dedupe operate object network commands
4 years ago
ephphatha
8132d6a033
Take object by reference in OperateObject
4 years ago
qndel
aa2b9dab74
fix debug questmap command ( #5206 )
4 years ago
baosen
e68f2b46da
Fix the string PT_ECHO_REPLY. ( #5203 )
4 years ago
Bubio
83983460b9
Update japanese translations.
4 years ago
obligaron
044f900c60
Fix draw flag for MIS_HORKDMN (set to no drawing)
4 years ago
obligaron
9f5e032c7a
CelToClx: Fix writing frame count with multiple groups
4 years ago
staphen
4115c8ce29
Ensure valid animation state when loading death animation in InitPlayer()
4 years ago
Anders Jenbo
52780a3712
Do not count closed doors as blocked
4 years ago
obligaron
3318b8fae6
Fix vanilla compatibility for saving in quest maps
4 years ago
Gleb Mazovetskiy
c351acbf7e
Remove redundant devilutionx.mpq check
...
We now check it only once in `CheckArchivesUpToDate`.
We then use `LoadClx` instead of `LoadOptionalClx` throughout.
4 years ago
Gleb Mazovetskiy
fcd163cac6
Remove unused `DrawArt` overload
4 years ago
Gleb Mazovetskiy
5505e830fb
Render XP bar as CLX
...
Missed in #5183 .
Also, the previous conversion command was incorrect (missing
--transparent-color 1), re-converted with:
```
pcx2clx --transparent-color 1 data/xpbar.pcx
```
4 years ago
Gleb Mazovetskiy
d71a54dba8
Render main panel buttons as CLX
...
Converted with:
```
pcx2clx --num-sprites 3 data/talkbutton.pcx && rm data/talkbutton.pcx
```
Sizes:
```
Surface(63, 114) -> CLX 7296 -> 5336 -26.9%
Surface(53, 48) -> CLX 2688 -> 2324 -13.5%
```
4 years ago
Gleb Mazovetskiy
609b711d32
Render char panel as CLX
...
Converted with:
```
pcx2clx --num-sprites 6 data/panel8bucp.pcx && rm data/panel8bucp.pcx
```
Size: 112640 -> 93215 bytes, -17.2%
4 years ago
Gleb Mazovetskiy
ed3747dded
Add `SurfaceToClx` conversion function
4 years ago
Gleb Mazovetskiy
ef46d99ccc
Unify CLX pixel encoding code
4 years ago
qndel
3736b5c8fd
fix interacting with lazarus books while not on circles
4 years ago
qndel
841e743002
fix adria's 'you have nothing to recharge' alignment
4 years ago
Anders Jenbo
2d9531f692
Remove redundant check for distance when operating doors
...
IsPlayerAdjacentToObject() is checked before calling OperateObject().
Previously teleFlag would ignore sendmsg which was likely a bug causing
the event to fire multiple times.
4 years ago
Anders Jenbo
acab00652e
Unify operate door logic
4 years ago
Anders Jenbo
3589744ed1
Fix crypt doors looking wrong after closing them
4 years ago
Anders Jenbo
37ad8a438a
Remove some redundant door logic
4 years ago
Anders Jenbo
8dd8203a39
Add missing check to IsDoorClear
4 years ago
Anders Jenbo
7c9111ddb0
Correct casing for isDoor()
4 years ago
Anders Jenbo
e1417be472
Reuse code for opening and closing doors
4 years ago
Anders Jenbo
6fdd756023
[hellfire] Fix blocked crypt door sound
...
Clean up blocked check in OperateL??Door
4 years ago
Anders Jenbo
52d9b69624
Reuse SetDoorStateClosed in AddDoor
4 years ago
Anders Jenbo
e9702b4415
Move and rename door state functions
4 years ago
obligaron
2493f06116
ActorPosition: Remove offset, offset2 and velocity
4 years ago
obligaron
5913783826
Add walking offset calculation to ActorPosition (and validate it)
4 years ago
obligaron
acfa8ed022
Reduce use of position.offset in PmChangeLightOff
4 years ago
obligaron
49c7ea71af
Simplify SyncLightPosition
4 years ago
obligaron
a410e989bf
Remove ScrollInfo
4 years ago
qndel
c7fcaf4dd1
fix error messages
4 years ago
Gleb Mazovetskiy
63b448c666
Android: Automatically update fonts.mpq
4 years ago
Gleb Mazovetskiy
8f7dd16ac3
Show an error on outdated devilutionx/font.mpq
4 years ago
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