Commit graph

508 commits

Author SHA1 Message Date
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
2021-03-03 01:43:24 +01:00
Anders Jenbo
d46daa5a00 ♻️ Remove unused return value from SpawnUnique
Introduced erroneously in f87bc0ca8b
2021-03-03 01:10:30 +01:00
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
2021-03-01 11:52:26 +01:00
Anders Jenbo
47fc142d63
Correct operator precedence in RecreateItem 2021-02-28 23:18:09 +01:00
Anders Jenbo
f87bc0ca8b Clea up some duplicate item code 2021-02-27 23:04:06 +01:00
Juliano Leal Goncalves
c81a1efb55
Standardize colon alignment on text (#816) 2021-02-27 23:03:41 +01:00
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.
2021-02-27 18:50:10 +01:00
Anders Jenbo
3593266ef7 Converte all Levels when cross loading saves 2021-02-27 14:51:37 +01:00
Anders Jenbo
5035ac8062 Strip Hellfire items in Diablo sessions 2021-02-27 14:51:37 +01:00
Anders Jenbo
4d47d513ce Implement Hellfire multiplayer saves 2021-02-25 05:50:24 +01:00
Anders Jenbo
70ca20b59f Clean up Hellfire special cases 2021-02-25 05:50:24 +01:00
Anders Jenbo
e73f31f104 Correct printing multiple requirements
Fixes #906
Fixes #1045
2021-02-24 00:01:22 +01:00
Anders Jenbo
36a196389b Fix remaning basic compiler errors and warnings 2021-02-22 13:51:42 +01:00
qndel
be0bdbe495 fix slain hero (and other stuff?) 2021-02-21 23:44:35 +01:00
pionere
606b9f09a0 prevent mana gain from books when nomana flag is set 2021-02-20 00:16:22 +01:00
pionere
f5c1079d6f eliminate unused code 2021-02-19 22:04:11 +01:00
Anders Jenbo
f1d92d5b9d bugfix for vanilla code (check numitems before spawning rock/rewardItem)
Copied from @pionere
2021-02-19 22:04:11 +01:00
Anders Jenbo
60d3e9ceb1 Clean up rendering 2021-02-19 03:05:12 +01:00
qndel
ab9911064f unify checks for single and multiplayer 2021-02-18 22:32:01 +01:00
Anders Jenbo
c08a10e44b Unify calculation of gold icon 2021-02-18 20:52:07 +01:00
pionere
e575ec92be correct stat checks when calculating the item bonuses 2021-02-17 19:40:35 +01:00
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.
2021-02-01 06:44:16 +01:00
qndel
74131c26de Fix vision/light radius inconsistency
This will cause vision to be reset to 10 despite what it might have been
at the time you entered the level. This would result in monsters waking
up outside of your visual range for seamingly no reason.
2021-01-31 17:27:25 +01:00
Anders Jenbo
0c8664b016 Implement Cornerstone of the World functionality 2021-01-25 04:02:12 +01:00
Anders Jenbo
35c2061ba3 Fix items morphing in Diablo 2021-01-22 22:35:18 +01:00
Anders Jenbo
f05ae4c19a Unify monster data 2021-01-21 04:26:03 +01:00
Anders Jenbo
bd625a5411 Fix item morphing 2021-01-18 15:58:05 +01:00
Anders Jenbo
c3b4b5193f Unify a chunk of Hellfire code 2021-01-18 03:25:52 +01:00
Anders Jenbo
2eaf750240 Merge branch 'master' of github.com:diasurgical/devilution 2021-01-17 18:03:46 +01:00
Anders Jenbo
2b6286dd7f Clean ups and BUGFIX notes 2021-01-17 14:29:33 +01:00
Anders Jenbo
d68c8c1cc8 Fix issues related to cross loading save games 2021-01-17 04:49:23 +01:00
Anders Jenbo
00e3ff08ae Unify majorty of monster.cpp 2021-01-17 03:55:23 +01:00
Anders Jenbo
ccd0e7fd23 Merge branch 'master' of github.com:diasurgical/devilution 2021-01-16 02:10:25 +01:00
Anders Jenbo
1e86577fc8 Some random cleanups 2021-01-14 00:05:30 +01:00
Anders Jenbo
4ffbb32952 [hellfire] Allow continuing Diablo saves in Hellfire and vice versa 2021-01-13 16:10:21 +01:00
Anders Jenbo
d05f4fbe15 Merge recently cleaned hellfire code 2021-01-09 22:36:59 +01:00
Anders Jenbo
82083762fe Fix SpawnSmith 2021-01-09 19:49:13 +01:00
Anders Jenbo
f9aacc8704 Merge branch 'master' of github.com:diasurgical/devilution 2021-01-09 19:36:09 +01:00
Anders Jenbo
b5e1ef0708 Fix WitchItemOk 2021-01-09 19:25:11 +01:00
Anders Jenbo
8c261d0966 Merge remaning clean Hellfire code paths 2021-01-09 19:04:31 +01:00
Anders Jenbo
be917d43c2 Make diablo vegan frindly 2021-01-09 16:48:32 +01:00
Anders Jenbo
c7b32ec4e4 Clean ups 2021-01-08 21:23:00 +01:00
Anders Jenbo
0c96e32f19 Unify all defines, enums and structs 2021-01-08 20:53:06 +01:00
Anders Jenbo
6f8f4c3293 Unify another chunk of simple Hellfire code paths 2021-01-07 07:19:07 +01:00
Anders Jenbo
3a21479ff5 Add bugfix comments 2021-01-07 07:19:03 +01:00
Anders Jenbo
74daab442a Fix building Hellfire on multiple platforms 2021-01-07 02:55:28 +01:00
Anders Jenbo
01590d3757 Merge a section of the Hellfire item and quest code 2021-01-07 02:29:06 +01:00
Anders Jenbo
e609e170d0 Merge a large chunk of Hellfire the code paths 2021-01-06 08:07:20 +01:00
Anders Jenbo
61a580588c Unify save game loading 2021-01-02 22:35:42 +01:00
Anders Jenbo
d20eddf48e Unifcy a chunk of Hellfire's code pathts 2020-12-28 01:11:25 +01:00