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
Alex Sweet
c124514391
Add missing pragma pack to some structs
7 years ago
Alex Sweet
356f0361f9
Bufix - pointers
7 years ago
Alex Sweet
9c207f601d
Refactor packing functions
7 years ago
Alex Sweet
a0c295811d
Load 32 bit save files
7 years ago
Joan Karadimov
fce804a09a
Use the dungeon_type enum for leveltype
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Anders Jenbo
fe788c4027
Clean up loadsave.cpp
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
26e9dcb6af
Add enum
7 years ago
galaxyhaxz
f16d0c9276
Extra clean
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago