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
d7788522f2
⬆️ Bump CMake to 3.13
...
This allows us to have variables set in the toolchains which cleans up
the main file a bit.
5 years ago
Anders Jenbo
9ea85118d4
🐛 Disable LTO for Windows builds ( #1182 )
5 years ago
Anders Jenbo
8e8e31627f
🐛 Only load hotkeys on new game
5 years ago
muzena
6db697407b
Small update in README.md Ubuntu instructions, bolding text
5 years ago
Anders Jenbo
cb1016a6d9
🚨 Fix a handful of warnings from Clang
5 years ago
Anders Jenbo
c11222fa76
Remove old compiler profile
5 years ago
muzena
d460a8f743
Update README.md Ubuntu instructions
5 years ago
Anders Jenbo
da373f351d
🐛 Only close TCP server if running
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
f34e77190c
💚 Disable LTO when known to be buggy on Windows
5 years ago
muzena
9b7e24d9d1
Add Ubuntu PPA repos to README.md
5 years ago
muzena
3367430f26
Updated debian packaging files
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
fe1004f384
Remove unused SCREENXY macro
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
Gleb Mazovetskiy
e7c9ba40f5
Migrate DrawLife/ManaFlask away from gpBuffer
5 years ago
Gleb Mazovetskiy
f607807c95
Migrate the rest of drawing away from gpBufEnd
5 years ago
Gleb Mazovetskiy
ab6aa3f280
Migrate SetFlaskHeight away from gpBuffer
...
Also renames to `DrawFlaskTop` and makes it static.
5 years ago
Gleb Mazovetskiy
3c4ccfc2e4
CelOutputBuffer: Replace subregion with subregionY
...
We can't do anything with X yet
5 years ago
Yuri Pourre
3fcc6e1362
Add barmaid's unused/missing transcriptions ( #1092 )
...
* Add barmaid's missing transcriptions
* Add _speech_ids
5 years ago
Xadhoom
cb65d308cf
RNG: do not rely on implicit conversions in arithmetic expressions
5 years ago
Anders Jenbo
12658a0b3d
🐛 Fix console output on Windows and SDL1 targets
...
Fixes #921
5 years ago
Anders Jenbo
e7ec90932a
💚 Expose AddStoreHoldRepair to the tests
5 years ago
Trihedraf
a4c34112af
🚩 Add ini toggle for FPS Limit. Enabled by default. ( #1165 )
5 years ago
Trihedraf
049b9325c4
Add ini toggle for All Quests for Single Player. Disabled by default.
5 years ago
qndel
f80a0f9887
[diablo] 🐛 Update vision when walking
...
Previously areas of visibility would be left on the level despite the
player having moved away, especially prevelant if wearing items with low
visibility effect.
5 years ago
Juliano Leal Goncalves
95ae8fd5c6
✨ Autoequip items on purchase
5 years ago
Anders Jenbo
f16ebb349d
🐛 Fix broken text cursort after buying an item from Wirt
5 years ago
Anders Jenbo
ede55e0914
♻️ Document variables in stores.cpp
...
This also fixes OOB when buying all items in a list
5 years ago
Anders Jenbo
a6903e93b2
♻️ Allow towners to be initialized in any order
5 years ago
Anders Jenbo
37bdeb74db
🐛 Fix overflow in Qtalklist
5 years ago