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.
2020-09-17 13:39:31 +02:00
Anders Jenbo
7108145a04
Merge branch 'master' of github.com:diasurgical/devilution
2020-04-14 15:30:49 +02:00
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
2020-04-07 03:26:38 +02:00
Anders Jenbo
3c5982083f
Merge branch 'master' of github.com:diasurgical/devilution
2020-04-06 12:05:13 +02:00
Anders Jenbo
e8454376d3
Semantically get the first item instead of the array
2020-04-06 05:43:20 +02:00
Anders Jenbo
776ab10476
Merge branch 'master' of github.com:diasurgical/devilution
2020-03-29 23:40:05 +02:00
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)
2020-03-01 22:18:00 +01:00
Anders Jenbo
25993b4043
Merge branch 'master' of github.com:diasurgical/devilution
2020-02-14 23:03:31 +01:00
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).
2020-02-14 13:12:54 +01:00
Anders Jenbo
40ba1e7a6f
Merge branch 'master' of github.com:diasurgical/devilution
2020-02-01 14:48:39 +01:00
qndel
c2587d9786
use enums ( #1997 )
2020-01-28 17:33:34 +01:00
Samuel-DEVULDER
9c516819c1
Make save game code big-endian compatible
2020-01-27 00:03:02 +01:00
Anders Jenbo
c86ab3bed3
Merge branch 'master' of github.com:diasurgical/devilution
2019-11-17 21:46:59 +01:00
Robin Eklind
c583d82a1c
pack: use IDI_GOLD enum instead of boolean operation for is->IDidx
2019-11-13 13:55:22 -06:00
Anders Jenbo
b6695fe26b
Merge branch 'master' of github.com:diasurgical/devilution
2019-11-04 21:33:38 +01:00
galaxyhaxz
3bd28cc0c1
Fix function order [spells+pack.cpp]
2019-11-03 14:45:32 +01:00
Anders Jenbo
d840f388c7
Merge branch 'master' of github.com:diasurgical/devilution
2019-10-08 22:05:10 +02:00
qndel
7129558d0b
apply enums
2019-10-05 15:24:44 +02:00
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 .
2019-09-20 11:05:25 +02:00
Anders Jenbo
14f8c9368a
Merge branch 'master' of github.com:diasurgical/devilution
2019-09-13 17:51:58 +02:00
qndel
c26ec70434
VerifyGoldSeeds cleanup
2019-09-12 11:39:44 +02:00
Anders Jenbo
e6f4e21631
Merge branch 'master' of github.com:diasurgical/devilution
2019-06-16 19:18:19 +02:00
Anders Jenbo
0022702c38
Clean up CalcPlrInv calls
2019-06-09 19:42:10 +02:00
Xadhoom
6856fb74e2
Merge upstream beanch 'devilution/master'
2019-04-25 20:44:01 +00:00
Anders Jenbo
65b9fb87a8
Merge branch 'TownDead'
2019-04-24 14:08:25 +02:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
Anders Jenbo
a907a4d49b
Merge branch 'master' of github.com:diasurgical/devilution
2019-04-05 15:21:53 +02:00
Anders Jenbo
4c497e1775
Use values from defs.h
2019-03-27 18:02:01 +01:00
Anders Jenbo
614ebe2e5c
Make pack.cpp bin exact
2019-03-27 02:30:22 +01:00
qndel
3573a086e3
UnPackPlayer bin exact ( #745 )
2019-03-27 02:00:09 +01:00
qndel
c5c3564b42
UnPackItem bin exact
2019-03-25 18:57:07 +01:00
qndel
991727882a
PackPlayer bin exact
2019-03-25 15:23:15 +01:00
Xadhoom
ecb242ae62
Merge branch 'master'
2019-03-12 09:36:42 +02:00
Anders Jenbo
9358465bb5
AddMissile bin exact ( #621 )
...
* AddMissile bin exact
* Clean up bools
2019-03-11 23:59:26 +01:00
Xadhoom
5283a9ffd1
Put everything into namespace dvl
2019-03-11 20:10:23 +00:00
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
2018-12-30 13:16:11 +01:00
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
2018-12-29 17:54:22 +01:00
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Anders Jenbo
c46d92be7a
Format save game related files
2018-10-22 01:49:43 +02:00
Anders Jenbo
48a1035d4a
Remove unused varialbes
2018-10-12 11:04:23 +02:00
Anders Jenbo
83e52d47e1
Clean up MaxSpellsCheat and SetSpellLevelCheat
2018-10-11 16:05:12 +02:00
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
squidcc
e2adda15ff
fix function declarations (and some cosmetic changes) in preparation for pfile cleanup ( #351 )
2018-09-27 16:30:33 +02:00
Andrew Dunstan
71cae5f8c2
add enums for known actions (to be performed in response to commands)
2018-09-25 10:14:12 +10:00
Anders Jenbo
d8c4bcab5c
Clean up DropHalfPlayersGold ( #330 )
2018-09-24 16:50:45 +02:00
Anders Jenbo
db77557dce
ValidatePlayer ( #318 )
...
* ValidatePlayer
* Add MAX_SPELLS define
2018-09-23 09:40:05 +02:00
Anders Jenbo
3a0e40597b
Clean up InitPlayer
2018-09-13 00:28:57 +02:00
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
2018-09-09 15:40:23 -05:00