Gleb Mazovetskiy
5977679e60
Handle D-Pad / Left stick in UI every frame
...
Previously this was handle as part of `game_logic`, reducing
responsiveness and making it impossible to run where `game_logic`
isn't running, e.g. stores.
5 years ago
pionere
79ed3c897b
[diablo] 🐛 Better direction calculation
...
Rinos would have a slight inclination to move in the 4 main cardinal
directions.
Also missiles should more ofthen show the correct angle compared to
movment.
5 years ago
Anders Jenbo
932d093433
✅ Test GetDirection
5 years ago
pionere
a841be2708
✅ Test CrawlTable
5 years ago
Anders Jenbo
ac9ae2e062
🐛 Fix loading of sorceror graphics
...
This also detangles some of the hellfire wip classes and duplicate
tables
5 years ago
Anders Jenbo
8f09cc3034
[diablo] 🐛 Correct spelling of Sorcerer
...
Fixes #1074
5 years ago
Gleb Mazovetskiy
0f46e9c4c1
Thumb stick / DPad repeating navigation in DiabloUI, gmenu, and quest log ( #1206 )
5 years ago
Anders Jenbo
cc47080074
🐛 Correctly calculate the player _pDamageMod when creating a new hero
...
Fixes #140
5 years ago
Anders Jenbo
c3456e7dbd
[diablo] 🐛 Fix incorrect dirt tiles in lavepools
...
Fixes #477
5 years ago
Anders Jenbo
6a7c8f24f4
♻️ Use if instead of switch for bool cases
5 years ago
Anders Jenbo
3a660f6f6c
♻️ Align MI_LightningWallC with MI_FirewallC
5 years ago
Anders Jenbo
38fdf34c14
💄 Apply code style
5 years ago
Anders Jenbo
a01cafbf69
🚨 Apply spell_id
5 years ago
Anders Jenbo
1d537e0a93
🚨 Add missing cases to most switches
5 years ago
Anders Jenbo
31467cc949
♻️ Remove all usage of basic WIN32 types
...
Note that several WinAPI types are still in use (misc.h)
5 years ago
Anders Jenbo
83e783a796
🔥 Remove ITYPE_FOOD (unused)
5 years ago
Gleb Mazovetskiy
41f7162e98
Hellfire: Better error if some MPQs are missing
...
Makes the issue more obvious.
5 years ago
Gleb Mazovetskiy
415bea0efe
Look for all MPQs in PWD and global share
...
Follow-up to #1196
5 years ago
Gleb Mazovetskiy
70d1d633bd
Get rid of SCREEN_X / SCREEN_Y
...
GlobalOutputBuffer() now returns a clipped subregion
5 years ago
Gleb Mazovetskiy
0c2284a091
Respect sfx_STREAM in PlaySFX
...
Changes audio playback of sounds with the `sfx_STREAM` flag, such as towner lines, to stream.
5 years ago
Semperfis96
cd8d26ac8f
Rename sync_word_6AA708 to sgnMonsterPriority in Source/sync.cpp for clarity ( #1202 )
5 years ago
Anders Jenbo
60cc8b0df4
🚨 Correct type of event_types
...
Fixes #1197
5 years ago
Gleb Mazovetskiy
c52505388b
Install devilutionx.mpq on Linux
...
1. Installs devilutionx.mpq on Linux.
2. Falls back to finding it in the install location.
5 years ago
Anders Jenbo
b59b1179a1
🚨 Resolve remaning c-style warnings
5 years ago
Anders Jenbo
c899cabf98
🐛 Block direction in PlayerMHit
5 years ago
Anders Jenbo
3077208b8b
♻️ Clean up automap.cpp
5 years ago
Anders Jenbo
17803d5923
♻️ Apply proper types to PlayerStruct
5 years ago
Gleb Mazovetskiy
b6db4d02da
Clean up CapturePix
5 years ago
Gleb Mazovetskiy
d6f73b576c
Fix screenshotting
...
Broken by afa3a6bf27
5 years ago
Anders Jenbo
2e3bb9206d
🐛 Fix uninitialized values for items generated in a loop
...
Fixes #1121
5 years ago
Gleb Mazovetskiy
3363e8f8f3
Remove extern C from engine.h
...
The headers don't actually work with C as they're now.
A better long-term solution should be able to use idiomatic C++ throughout
and expose things to other languages via a separate C API layer.
Fixes #1178
5 years ago
Gleb Mazovetskiy
e4212a0de9
Try uppercase DIABDAT.MPQ ( #1184 )
...
It's uppercase in GOG and on the retail CD.
Other MPQs are not known to be uppercase.
5 years ago
Anders Jenbo
8e8e31627f
🐛 Only load hotkeys on new game
5 years ago
Anders Jenbo
cb1016a6d9
🚨 Fix a handful of warnings from Clang
5 years ago
Gleb Mazovetskiy
4d6de74eb8
Don't rely on BORDER_LEFT/TOP in cursor rendering
...
The code there previously implicitly relied on BORDER_LEFT/TOP being
large enough.
5 years ago
Anders Jenbo
14074608be
🐛 Correct requirement line in stores
...
Fixes #1167
5 years ago
Anders Jenbo
8b8caf5a7e
🐛 Fix quests not activating on Windows
...
Compare _uniqtype instead mName
Fixes #1152
5 years ago
Anders Jenbo
069195eba2
💚 Fix 3DS builds
5 years ago
Anders Jenbo
71c7a541ef
🚨 Fix SDL1.2 warnings
5 years ago
Gleb Mazovetskiy
ae22644d43
CelOutputBuffer: Recover lost performance
...
Makes `RenderLine` hotspot manipulate the buffer directly again.
FPS: 195 -> 275
5 years ago
Gleb Mazovetskiy
cd59a1c323
Completely replace gpBuffer with CelOutputBuffer
...
`CelOutputBuffer` now contains an `SDL_Surface` and an `SDL_Rect`.
We now have access to SDL surface manipulation functions.
`gpBuffer` and `gpBufEnd` are completely gone 🧹
This results in some FPS loss (250 -> 195) recovered in a subsequent
commit.
5 years ago
Gleb Mazovetskiy
4b45b642a7
Migrate scrollrt_draw_cursor_back_buffer away from gpBuffer
5 years ago
Gleb Mazovetskiy
afa3a6bf27
Migrate capture.cpp away from gpBuffer
5 years ago
Gleb Mazovetskiy
a0af2a8ebe
Migrate gmenu_clear_buffer away from gpBuffer
5 years ago
Gleb Mazovetskiy
599d2e5e38
Migrate QOL away from gpBuffer
5 years ago
Gleb Mazovetskiy
d7a599a506
Migrate DrawULine away from gpBuffer
...
Also applies a bugfix
5 years ago
Gleb Mazovetskiy
fd70879577
Migrate DrawSLine away from gpBuffer
...
Also applies bugfix
5 years ago
Gleb Mazovetskiy
cc4a1169ad
Migrate DrawProgress away from gpBuffer
5 years ago
Gleb Mazovetskiy
764781e111
Migrate InvDrawSlotBack away from gpBuffer
5 years ago
Gleb Mazovetskiy
bafbad6b5b
Migrate RedBack away from gpBuffer
5 years ago