Anders Jenbo
b4e78c5e79
Remove some unused junk
5 years ago
Anders Jenbo
a5ca521f0d
Fix item morphing in Hellfire
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
b69952d918
Correct monster light when loading old saves
5 years ago
qndel
7f42d0dd64
Fix vision staying behind from where you eited the level
...
This could be either the stairs one tile next to where you enter. Or a
compleatly different posistion if using a different entry point.
5 years ago
Anders Jenbo
06b7c78406
Notes of untimly header cleanups
5 years ago
Anders Jenbo
244c5437b4
Fix saving items
5 years ago
Anders Jenbo
d68c8c1cc8
Fix issues related to cross loading save games
5 years ago
Anders Jenbo
4ffbb32952
[hellfire] Allow continuing Diablo saves in Hellfire and vice versa
5 years ago
Anders Jenbo
e609e170d0
Merge a large chunk of Hellfire the code paths
5 years ago
qndel
890b1dd9a7
fix typos ( #971 )
5 years ago
qndel
8d1de8e4ec
fixes saves ( #970 )
5 years ago
Anders Jenbo
61a580588c
Unify save game loading
5 years ago
Anders Jenbo
a0c88e09ad
Correct hellfire save game mapping
5 years ago
Anders Jenbo
a9502d43fc
Reorder loadsave.cpp
5 years ago
Anders Jenbo
6580222d1c
Add enums for level entrances
5 years ago
Anders Jenbo
57f0f5f4c7
Handle hellfire save game differences
6 years ago
Tyler
d7ca28ff8e
Added single-player difficulty menu.
6 years ago
Troy Bronzan
8960450560
Fixed player base block is zero bug after loading a new game. This value is not saved in single player or multiplayer, so when a character is loaded, the value is always zero. Now when a player is loaded, it is set to the default. See section 2.1.4 in Jarulf's Guide.
6 years ago
Anders Jenbo
f1c7e65ba7
Fix build
6 years ago
Troy Bronzan
5b1b5fa8ae
Fixed monster to hit and unique monster ac difficulty bonus.
6 years ago
Anders Jenbo
31ac716c3d
99 lines of documentation ( #2058 )
6 years ago
Anders Jenbo
0da3461d35
Use explicit types instead of auto
6 years ago
Anders Jenbo
014308ef01
Explicit casting
6 years ago
Anders Jenbo
d008af43b0
Semantic code style cleanups
6 years ago
Anders Jenbo
f7de4c46a7
Strip eflag logic now that it is fixed in the render
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
Anders Jenbo
20621a0642
add all.h and use in place of diablo.h ( #2005 )
...
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.
Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
6 years ago
qndel
cc6a2d4523
Apply MAX_PATH_LENGTH
6 years ago
Anders Jenbo
5ff5b4893c
Fix loading alignment
6 years ago
Samuel-DEVULDER
9c516819c1
Make save game code big-endian compatible
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Anders Jenbo
a91f4e76ba
Fix bad merge
6 years ago
qndel
e2f14a7d13
[hellfire] LoadGame bin exact
7 years ago
qndel
9cf2354774
[hellfire] SaveGame bin exact + enums
7 years ago
Anders Jenbo
049178cb2e
Clean up load/save code
...
Remove most call to memcpy in preperation for Big Endian support
Document what pointers are being skipped
Align save and load code (easier to verify that both are correct)
7 years ago
Anders Jenbo
b90ef1336d
Fix Segfault when loading game
...
Fixes #224
Not this breaks save games generated with master since 2019-07-15
7 years ago
Alex Sweet
b2f3588747
Fix MonstStruct load/save
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Robin Eklind
105a583ce0
Use TRUE and FALSE enums for setlevel.
...
Also simplify if conditions to make
use of boolean values.
(If the cleanup4 PR ends up increasing
inserts/deletions, then this commit is
probably at fault.)
7 years ago
Robin Eklind
b727d158ab
Make _pSLvlVisited into a boolean.
...
_pSLvlVisited is only ever used in boolean contexts.
7 years ago
Robin Eklind
29eb52b6d0
Make _pLvlVisited into a boolean.
...
_pLvlVisited is only ever used in boolean contexts.
7 years ago
Alex Sweet
10ebca4efd
Fix load/save monster padding
7 years ago
Sergey Semushin
6e36190221
Fix typo in LoadPremium, SavePremium.
7 years ago
Sergey Semushin
15d046dc64
Fix typo in SaveObject.
7 years ago
Alex Sweet
a0f9a9b758
Move SavePlayer and SaveItem down
7 years ago
Alex Sweet
636a8108f9
Fix line endings
7 years ago
Alex Sweet
3f82acec52
Use filthy Windows types
7 years ago
Alex Sweet
aed31ce684
Style fixes
7 years ago