Anders Jenbo
e32dd690ae
Clean up object update code
4 years ago
qndel
944655ff94
fix typos ( #4568 )
4 years ago
Gleb Mazovetskiy
85f0802f01
printInConsole: Add string_view support
...
Also print `\r\n` instead of `\n` on Windows.
4 years ago
Anders Jenbo
134791af3f
Remove pointless math related to finding monsters for levels
4 years ago
staphen
f2e5f62909
Pass object by reference to AddBarrel()
4 years ago
Anders Jenbo
9872c7be05
Only load relevant object graphics
...
Some object graphics where loaded despite not being used on the given
levels
4 years ago
DakkJaniels
1b83d68dc7
remove two includes that didn't need to be added.
4 years ago
DakkJaniels
1fb712c63a
fix clang formatting
4 years ago
DakkJaniels
3f9b385a1d
revised for date/time stamps instead.
4 years ago
DakkJaniels
1d4f91c9e1
add parenthesis to max
4 years ago
DakkJaniels
dd3da0a639
change to std::numeric_limits
4 years ago
DakkJaniels
c4d5068e3e
Take up to 4.29B screenshots
4 years ago
Anders Jenbo
9d082389d8
Clean up music track selection
4 years ago
Anders Jenbo
f64fe57fbe
Do not process theme rooms for Nest and Crypt
...
This causes Objects, Items and Monstesr to have different positions from
the original, but this is acceptable since they are stored in the save
game and so do not break compatability.
4 years ago
Anders Jenbo
52b8221460
[vanilla] Correct number of monster in libraries
4 years ago
Anders Jenbo
0645d9b2a1
Correct missing hellfire level mapping in leveltype
...
Hellfire never added the 2 new dungion types, instead it makes
additional checks on currlevel. This is confusing and mess, so cleaned
it up.
4 years ago
Robin Eklind
bc0488382a
missiles: add BUGFIX for SetMissAnim
...
A buffer overflow is triggered when casting Identify (or any other
spell which has mFileNum set to 255).
4 years ago
staphen
08494378e4
Ignore leave requests if the player leaving is the local player
4 years ago
galaxyhaxz
157adc7e11
Lazarus level reset bugfix
4 years ago
ephphatha
42033f82f4
Use enum instead of int as bool for docking mode
4 years ago
ephphatha
7f15aa730d
Move definition of ghMainWnd to utils/display.cpp
...
This variable is controlled/set by the code in that file, this also lets other files have more specific/relevant includes instead of the monolith that is diablo.h
4 years ago
staphen
2ebd80c8e8
Use ifdef when checking for _DEBUG
4 years ago
staphen
851b03215b
Accept all PT_MESSAGE packets when buffering messages
4 years ago
ikonomov
c09751b388
minor alignment adjustment ( #4534 )
...
* minor header alignment adjustment in monstdat.cpp
4 years ago
qndel
0e2d056a9a
fix refreshing/drawing bottom description part
4 years ago
John Törnblom
a41dcbf78a
ps4: avoid using std::locale to detect language, and fallback to English on first run
4 years ago
qndel
0f0e2895fd
fix displacement on death
4 years ago
qndel
89109dc9f4
HP bar tweaks and fixes ( #4525 )
...
* HP bar tweaks and fixes
4 years ago
staphen
0bbb7a1572
Initialize options before first call to SaveOptions()
4 years ago
DakkJaniels
fc1d699bb2
Restore randomization of stores for multiplayer games
4 years ago
Anders Jenbo
3aca1a50c3
Fix build error
4 years ago
ephphatha
0cfd0e194a
Refactor TryDropItem to reduce use of globals
...
The way TryInvPut and DropItemBeforeTrig interacted was fragile, don't think this would've worked as expected at the best of times. Looks like it was added as part of controller support so guessing this isn't vanilla behaviour anyway.
4 years ago
Gleb Mazovetskiy
961e1b584b
Always load fonts as CEL
...
There appear to be no drawbacks, only advantages.
4 years ago
Gleb Mazovetskiy
c2917b1dc8
DiabloUi: Load animated PCX sprites as CEL
...
Reduces memory usage in menu (and thus the overall allocator pressure)
4 years ago
Gleb Mazovetskiy
978bae1a15
Add a helper for loading PCX as CEL from path
4 years ago
Gleb Mazovetskiy
7b98735878
Revert "An option to RLE-compress masked art"
...
This reverts commit c884f1a354 .
Superceded by `DEVILUTIONX_CONVERT_FONTS_TO_CEL`, which offers the same
RAM reduction but without slowdown.
4 years ago
Gleb Mazovetskiy
2b161e5535
An option to convert fonts to CEL in-memory
...
Reduced RAM usage by 200 KiB with no performance drop, perhaps even an
improvement.
4 years ago
Gleb Mazovetskiy
52e0511479
DiabloUI: Always blit to `PalSurface`
...
Previously we were blitting to the output surface directly.
Blitting to `PalSurface` allows us to support CEL/CL2 rendering in the
main menu.
4 years ago
Gleb Mazovetskiy
5eeaa76a75
Move PCX code to utils/pcx.cpp
4 years ago
staphen
eb485c2e89
Validate remote players in multiplayer games
4 years ago
staphen
ef9ae41f6a
Fix item graphics on potion buttons for virtual gamepad
4 years ago
widelec-BB
9fdebdce7a
Fix loading tranlations on big endian platforms
4 years ago
staphen
5093d324ee
Fix order of operations when reading from Single Player save
4 years ago
staphen
90132b23cc
Fix viewport size of UiList in constructor
4 years ago
obligaron
b62cacd1d6
Demomode: Init ControlMode to KeyboardAndMouse
4 years ago
obligaron
d921fb3e97
Throttle send player commands to avoid desyncs
4 years ago
obligaron
daf299940e
ADL: Fix PreviewFrame for some spells
4 years ago
ephphatha
4d7c08d5b4
Deduplicate code for setting stat requirements/flag
4 years ago
ephphatha
ca48efc185
Update spell book requirements when refreshing stash items
4 years ago
ephphatha
64a2c41b2c
Set clang-tidy config for MethodCase option
...
Previously this was falling back to FunctionCase, leading to inconsistent casing of class methods throughout the codebase. Applied to Item as an example.
4 years ago