Gleb Mazovetskiy
b43325028f
Migrate `CelDraw` to `CelDrawTo`
5 years ago
Juliano Leal Goncalves
37466890e0
♻️ Extract 'ItemStruct.isEmpty()' function
5 years ago
Anders Jenbo
037ef082b4
🐛 Correct position of dialog backgrounds
...
Fixes #1098
5 years ago
Gleb Mazovetskiy
d55a1c8a7d
Pass CelOutputBuffer to game text printing ( #1095 )
...
* Pass CelOutputBuffer to game text printing
* DrawHalfTransparentRectTo: minor cleanup
5 years ago
Gleb Mazovetskiy
83ce7c27af
Enginify `trans_rect`
...
Moves `trans_rect` to `engine` as `DrawHalfTransparentRectTo` and makes
it operate on `CelOutputBuf`.
5 years ago
Juliano Leal Goncalves
3de338e5b6
♻️ Pass item referece on SpecialAutoPlace
...
This simplifies and decouples the logic for determining the size of the
item from ambient variables and makes the function easier to use.
5 years ago
Juliano Leal Goncalves
c81a1efb55
Standardize colon alignment on text ( #816 )
5 years ago
Andi
df7ed584fd
biggest commit ever ( #1060 )
...
fixes leaving pepin
5 years ago
Anders Jenbo
f8f454c61d
[diablo] Automatiacally recive healing from Pepin
5 years ago
Anders Jenbo
36a196389b
Fix remaning basic compiler errors and warnings
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
pionere
d5a0fa8e85
get rid of a few warnings
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
c08a10e44b
Unify calculation of gold icon
5 years ago
Juliano Goncalves
a6eb92c185
Remove item persistence from 'inv.SpecialAutoPlace'
...
The 'saveFlag' argument used for persisting the changes into the
inventory is never leveraged on this function: all existing consumers
provide 'FALSE'. It was probably a copy-paste leftover from the
standard 'AutoPlace'.
5 years ago
Anders Jenbo
8742249ac7
Correct rounding erros in repair costs calculation
...
Fixes #997
5 years ago
Juliano Goncalves
5d2af51d01
Preserve cursor position when using stores
5 years ago
qndel
c0f5749728
Fix RNG diverging during level generation depending on the code path
...
The consequences has mostly mitigated after wards, but this will make things make more sens when analysing the state of the code.
5 years ago
Anders Jenbo
c3b4b5193f
Unify a chunk of Hellfire code
5 years ago
Anders Jenbo
be917d43c2
Make diablo vegan frindly
5 years ago
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
5 years ago
Anders Jenbo
01590d3757
Merge a section of the Hellfire item and quest code
5 years ago
Anders Jenbo
7aa7ee738d
Clean up witchitem init
5 years ago
Anders Jenbo
e2a98b75fe
Clean up some magic values
5 years ago
Anders Jenbo
cc420a43a6
[hellfire] WitchSellOk
5 years ago
Anders Jenbo
6468b1e6e8
Clean up PrintSString
5 years ago
Anders Jenbo
b880bf0160
[hellfire] WitchRechargeOk
5 years ago
Anders Jenbo
719bc95a82
[hellfire] implement SmithSellOk
5 years ago
qndel
73dce4fa39
minor cleanup
5 years ago
Anders Jenbo
e3ef222c4a
Reorder stores.cpp
5 years ago
Anders Jenbo
330074e840
Clean up menu animation code
5 years ago
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
5 years ago
Anders Jenbo
9150cb71a6
Clean up WitchBuyItem
5 years ago
Anders Jenbo
804071652b
Clean up HealerBuyItem
5 years ago
Anders Jenbo
ce1cc24e04
[hellfire] S_HealerEnter
5 years ago
Anders Jenbo
e073422ce7
Unify executable for Spawn and Retail
...
The game will now autodetect if it should run in shareware mode or full
retail based on the found mpq file. Additionally it can beforced in the
shareware mode with --spawn even if the retail data is found.
This simplifies a lot of the spagetty code and lets us better refactor,
also worth noteing is that we won't have to setup a secound set of build
tests.
5 years ago
Anders Jenbo
34e526d4a9
Fix OOB in stores ( #2123 )
6 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
pionere
92cc9d589c
Apply another bunch defines
6 years ago
pionere
f0a51ccf65
use defs instead of literals
6 years ago
Anders Jenbo
567a086ce1
Fix game speed affecting menu animations
...
Fixes #525
6 years ago
Anders Jenbo
e0a94686b0
Add game speed to multiplayer
...
Speed can only be set on game creation
6 years ago
Tyler
ecde1f647e
Adjust UI to any resoution
6 years ago
Tyler
c803c6aa66
Calculate position of screen elements
6 years ago
luk
f98651d1b8
implement variable game speed #525
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Robin Eklind
6448f7901b
stores: add bugfix comment for DrawSLine
6 years ago
qndel
5191237f42
enums and stuff ( #2024 )
6 years ago
qndel
f35c955e36
[hellfire] S_StartBBoy bin exact
6 years ago
qndel
19ec9622f5
[hellfire] S_StartWRecharge bin exact
6 years ago