Anders Jenbo
bdfd3a24a5
Pre render Micro tiles
4 years ago
Anders Jenbo
98e4310cad
Index Minis by tile instead of by coordinate
4 years ago
Anders Jenbo
860bd1cebf
Operate directly on SOL data
4 years ago
obligaron
184290a977
Support setlevel in multiplayer
4 years ago
obligaron
19749420b5
Introduce Player::isOnActiveLevel
4 years ago
obligaron
7afe7d2a70
Save Methods in loadsave gets MpqWriter passed
4 years ago
Gleb Mazovetskiy
1fc8ecb6f6
Add fmt::runtime annotations for C++20 support
...
`fmt` requires non-contexpr format string arguments to be wrapped in
`fmt::runtime` in C++20.
4 years ago
Anders Jenbo
1203514383
Clean up use of currlevel
4 years ago
Anders Jenbo
54cd839cf6
Clean up drlg tests
4 years ago
obligaron
1608219b39
Timedemo: Create reference save game and allow comparing of reference save game with actual timedemo save game
4 years ago
qndel
354e329644
Players[MyPlayerId] -> MyPlayer
4 years ago
obligaron
bc15bdf3a9
Remove PANEL_ defines and replace them with GetMainPanel()
4 years ago
obligaron
2b0b944afb
Manage friendly mode per player and sync state between clients
4 years ago
obligaron
70c5cf6cad
Fix item label text with open stash ( #4595 )
...
* Item labels: check if stash is open in IsMouseOverGameArea
* Add IsLeft/RightPanelOpen
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
9d082389d8
Clean up music track selection
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
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
0bbb7a1572
Initialize options before first call to SaveOptions()
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
obligaron
d921fb3e97
Throttle send player commands to avoid desyncs
4 years ago
Anders Jenbo
dc706e8ed5
Use HoldItem for determining if an item is held
...
This cleans up a bit of code and solves a few edge cases where an item
could be lost, the game be unresponsive, or miss fire an event during
lag cause of the cursor not reflecting the currently held item.
4 years ago
Brandon Cullen
926f6b44bc
Minimize direct usage of Lights[] global
4 years ago
Gleb Mazovetskiy
b312edee49
Fix snd_deinit called even if snd_init failed
...
We were previously setting `was_sound_init` to true unconditionally
after calling `snd_init`.
However, `snd_init` can fail. Use `gbSndInited` instead.
4 years ago
Gleb Mazovetskiy
80599319bc
Don't hide the automap in Help and Chat Log ( #4379 )
...
This was necessary in the past due to stippled transparency but we use
blended transparency now.
Fixes #4355
4 years ago
qndel
4f491cba6f
allow remapping P for pause and always treat pause button as pause
4 years ago
Anders Jenbo
2575f76bbd
Make 'quit game' return to the main menu when NOEXIT is set
4 years ago
Drakker
3039b760e1
Added more Quickspell hotkeys for a total of 16. Saving will write the number of configured quickspell slots at the beginning of the hotkeys file. The loader will check the size, if its bigger than older saves should be it will load the header and read the hotkeys, otherwise it will load 4 quickspells for compatibility.
4 years ago
Andrew James
028c5945b8
Add helpers to change stash pages ( #4287 )
4 years ago
ephphatha
9326eccbc3
Only attempt to cast heal other/resurrect with a target
4 years ago
ephphatha
25c2123849
Change cursor after acknowledging attempt to cast spell
...
This matches the behaviour of other targeted spells, however the mana is wasted because it is spent when readying the spell.
4 years ago
obligaron
b52a50f2e7
Add OptionEntry for alternative nest art and remove command line parameter --nestart
4 years ago
Anders Jenbo
e2fef44c9f
Close gold withdraw when closing stash
4 years ago
obligaron
481f15ded5
Introduce StashStruct.GetPage/SetPage
4 years ago
Anders Jenbo
1409e604f5
Reduce string conversions
4 years ago
obligaron
69e61192ee
Add UseStashItem to RightMouseDown
4 years ago
obligaron
5659525ed2
Simplify RightMouseDown handling
4 years ago
obligaron
ef7966393b
Enable apply oil on stash items
4 years ago
obligaron
9183b6fa57
Enable recharge on stash items
4 years ago
obligaron
1f866bd53b
Enable repair on stash items
4 years ago
obligaron
ae5423ad68
Enable identify on stash items
4 years ago
Anders Jenbo
718c46e7fe
Remove use of tempstr
4 years ago
staphen
66d9604923
Only load stash on New Game and Load Game
4 years ago
Anders Jenbo
a48f89007d
Implement stash
4 years ago
qndel
48f102eff1
Chat log
4 years ago
obligaron
75ee55af8d
Don't restart music if the same track is played
4 years ago
qndel
b7b01ce1fd
remove InitLightMax
4 years ago
Gleb Mazovetskiy
bd5647fb06
Fix premium items reroll on level change
...
Bug introduced a few commits ago in 1519e995cf
Fixes #4036
4 years ago
Gleb Mazovetskiy
1519e995cf
Move store graphics out of `stores.cpp`
...
These graphics are used in various places outside of `stores.cpp`.
4 years ago