qndel
8dbdc9c315
fix wirt price bug
5 years ago
qndel
adacce3303
fix wirt
5 years ago
qndel
1907b11cee
fix vanilla premium items going over 140k
5 years ago
Gleb Mazovetskiy
793c478899
Allow Bard starting items in `--diablo`
...
Fixes #1324
5 years ago
Anders Jenbo
bba73ea20f
✨ Handle mixed item origins in multiplayer
5 years ago
Anders Jenbo
a9a14f74de
🚨 Fix a couple of clang warnings
5 years ago
Anders Jenbo
c659afa9d6
🐛 [hellfire] Fix "0 gold" sometimes spawning on the corner stone
5 years ago
Anders Jenbo
e7377c37ae
🎨 Use proper types for checks in RecreateItem
5 years ago
Anders Jenbo
331a540fc3
🔥 Remove the auricGold variable
5 years ago
Anders Jenbo
bb7d0368d0
🐛 Correctly initialize empty objects
5 years ago
Martin Wolters
9b50a69ac2
Bugfix: auricGold shouldn\'t determine MaxGold.
5 years ago
Anders Jenbo
2362ff82f7
✨ Add black text color
5 years ago
Juliano Leal Goncalves
800dbce066
♻️ Move options-related structs to new 'options.h' file
5 years ago
Anders Jenbo
f2140688e7
Load and save all ini values the same way ( #1260 )
5 years ago
Anders Jenbo
839940df68
🏷️ Add enum as the type for power in SaveItemPower
5 years ago
Anders Jenbo
8f09cc3034
[diablo] 🐛 Correct spelling of Sorcerer
...
Fixes #1074
5 years ago
Anders Jenbo
38fdf34c14
💄 Apply code style
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
70d1d633bd
Get rid of SCREEN_X / SCREEN_Y
...
GlobalOutputBuffer() now returns a clipped subregion
5 years ago
Anders Jenbo
17803d5923
♻️ Apply proper types to PlayerStruct
5 years ago
Anders Jenbo
2e3bb9206d
🐛 Fix uninitialized values for items generated in a loop
...
Fixes #1121
5 years ago
Anders Jenbo
14074608be
🐛 Correct requirement line in stores
...
Fixes #1167
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
d7a599a506
Migrate DrawULine away from gpBuffer
...
Also applies a bugfix
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
783e4a70b1
♻️ Strongly type items structures
5 years ago
Anders Jenbo
e280432b92
🚨 Fix all SDL1 warnings
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
Anders Jenbo
ee3cbdc6ee
🐛 Clear item before reusing it in all cases
...
This will undoubtly also fix some issues with original items contaning
garbage data that could lead to morphing
5 years ago
Anders Jenbo
d46daa5a00
♻️ Remove unused return value from SpawnUnique
...
Introduced erroneously in f87bc0ca8b
5 years ago
Anders Jenbo
39999791b3
Revamp ini options and sync in multiplayer
...
[NetMsg]
F12=Now you DIE!
F11=Here's something for you.
F10=Follow me.
F9=I need help! Come Here!
[Game]
Speed=50
Fast Walk=1
Grab Input=0
Theo Quest=0
Cow Quest=0
[Audio]
Sound Volume=0
Music Volume=0
Walking Sound=1
[Graphics]
Fullscreen=1
Fit to Screen=1
Scaling Quality=2
Integer Scaling=0
Vertical Sync=1
Blended Transparency=1
Gamma Correction=100
Color Cycling=1
[Diablo]
Intro=0
[Hellfire]
Intro=0
SItem=
[Phone Book]
Entry1=127.0.0.1
[Network]
Bind Address=0.0.0.0
5 years ago
Anders Jenbo
47fc142d63
Correct operator precedence in RecreateItem
5 years ago
Anders Jenbo
f87bc0ca8b
Clea up some duplicate item code
5 years ago
Juliano Leal Goncalves
c81a1efb55
Standardize colon alignment on text ( #816 )
5 years ago
Anders Jenbo
5cbcb1b8c5
[diablo] Fix unique item items morphing on new game
...
Fixes #441
_iCreateInfo was not cleared for unique items, given the right garbage
value this would cause them to morph. To fix existing save games we
check for CF_UNIQUE before recreating useful or town items.
5 years ago
Anders Jenbo
3593266ef7
Converte all Levels when cross loading saves
5 years ago
Anders Jenbo
5035ac8062
Strip Hellfire items in Diablo sessions
5 years ago
Anders Jenbo
4d47d513ce
Implement Hellfire multiplayer saves
5 years ago
Anders Jenbo
70ca20b59f
Clean up Hellfire special cases
5 years ago
Anders Jenbo
e73f31f104
Correct printing multiple requirements
...
Fixes #906
Fixes #1045
5 years ago
Anders Jenbo
36a196389b
Fix remaning basic compiler errors and warnings
5 years ago
qndel
be0bdbe495
fix slain hero (and other stuff?)
5 years ago
pionere
606b9f09a0
prevent mana gain from books when nomana flag is set
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
Anders Jenbo
f1d92d5b9d
bugfix for vanilla code (check numitems before spawning rock/rewardItem)
...
Copied from @pionere
5 years ago