Anders Jenbo
5035ac8062
Strip Hellfire items in Diablo sessions
5 years ago
Anders Jenbo
4d47d513ce
Implement Hellfire multiplayer saves
5 years ago
Anders Jenbo
b4e78c5e79
Remove some unused junk
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
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
0c01aa9928
[hellfire] M_TryH2HHit
5 years ago
Anders Jenbo
4ffbb32952
[hellfire] Allow continuing Diablo saves in Hellfire and vice versa
5 years ago
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
5 years ago
Anders Jenbo
74daab442a
Fix building Hellfire on multiple platforms
5 years ago
Anders Jenbo
043d15db66
[hellfire] PackPlayer and frinds
5 years ago
Anders Jenbo
ae31d4182b
Fix Windows builds
5 years ago
Anders Jenbo
2b15f61c56
[hellfire] UnPackPlayer
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
Anders Jenbo
ac8a2a410e
Fix building Hellfire with CLang
5 years ago
Anders Jenbo
77038ddd77
Share pDiabloKillLevel in UnPackPlayer
...
pDiabloKillLevel is handled the same so no reason for ifdefing it
5 years ago
Anders Jenbo
bd5c7233d4
Add missing bit to UnPackPlayer
...
Ther is still a small diff, but should be functinoally identical
5 years ago
Anders Jenbo
c5d02b21bd
Load hellfire spells from hero save
6 years ago
qndel
b0142637b7
Ear cleanup #2 ( #2100 )
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
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
Anders Jenbo
e8454376d3
Semantically get the first item instead of the array
6 years ago
Anders Jenbo
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
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
c2587d9786
use enums ( #1997 )
6 years ago
Samuel-DEVULDER
9c516819c1
Make save game code big-endian compatible
6 years ago
Robin Eklind
c583d82a1c
pack: use IDI_GOLD enum instead of boolean operation for is->IDidx
6 years ago
galaxyhaxz
3bd28cc0c1
Fix function order [spells+pack.cpp]
6 years ago
qndel
7129558d0b
apply enums
7 years ago
Robin Eklind
d16f603537
all: remove unused storm imports
...
While no storm functions are called from these source files
it is determined that they included storm in the original
source files as made visible by the inclusion of infinity
in the data segments of the respective source files.
ref: diasurgical/devilution#1695 .
7 years ago
qndel
c26ec70434
VerifyGoldSeeds cleanup
7 years ago
Anders Jenbo
d26fe48942
[hellfire] Correct player structure and related functions
7 years ago
Anders Jenbo
0022702c38
Clean up CalcPlrInv calls
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
4c497e1775
Use values from defs.h
7 years ago
Anders Jenbo
614ebe2e5c
Make pack.cpp bin exact
7 years ago
qndel
3573a086e3
UnPackPlayer bin exact ( #745 )
7 years ago
qndel
c5c3564b42
UnPackItem bin exact
7 years ago
qndel
991727882a
PackPlayer bin exact
7 years ago
Anders Jenbo
9358465bb5
AddMissile bin exact ( #621 )
...
* AddMissile bin exact
* Clean up bools
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
efec32bcd5
Compile files as C ( #527 )
...
* Compile files as C
* Provide fallback for qmemcpy
Enable C compilation for:
Source/gendung.cpp
Source/inv.cpp
Source/minitext.cpp
Source/pack.cpp
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
c46d92be7a
Format save game related files
8 years ago
Anders Jenbo
48a1035d4a
Remove unused varialbes
8 years ago
Anders Jenbo
83e52d47e1
Clean up MaxSpellsCheat and SetSpellLevelCheat
8 years ago
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
8 years ago