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
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
squidcc
e2adda15ff
fix function declarations (and some cosmetic changes) in preparation for pfile cleanup ( #351 )
8 years ago
Andrew Dunstan
71cae5f8c2
add enums for known actions (to be performed in response to commands)
8 years ago
Anders Jenbo
d8c4bcab5c
Clean up DropHalfPlayersGold ( #330 )
8 years ago
Anders Jenbo
db77557dce
ValidatePlayer ( #318 )
...
* ValidatePlayer
* Add MAX_SPELLS define
8 years ago
Anders Jenbo
3a0e40597b
Clean up InitPlayer
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago