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
f1c7e65ba7
Fix build
2020-09-17 00:45:22 +02:00
Troy Bronzan
5b1b5fa8ae
Fixed monster to hit and unique monster ac difficulty bonus.
2020-09-17 00:09:56 +02:00
Anders Jenbo
0da3461d35
Use explicit types instead of auto
2020-05-14 11:44:15 +02:00
Anders Jenbo
014308ef01
Explicit casting
2020-05-14 11:44:15 +02:00
Anders Jenbo
7108145a04
Merge branch 'master' of github.com:diasurgical/devilution
2020-04-14 15:30:49 +02:00
Anders Jenbo
d008af43b0
Semantic code style cleanups
2020-04-11 15:22:40 +02:00
Anders Jenbo
f7de4c46a7
Strip eflag logic now that it is fixed in the render
2020-04-06 22:51:32 +02:00
Anders Jenbo
776ab10476
Merge branch 'master' of github.com:diasurgical/devilution
2020-03-29 23:40:05 +02:00
Anders Jenbo
0383f9abcd
Add documentation to more files
2020-03-02 02:29:28 +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
qndel
cc6a2d4523
Apply MAX_PATH_LENGTH
2020-02-01 14:53:06 +01:00
Anders Jenbo
5ff5b4893c
Fix loading alignment
2020-01-27 00:03:02 +01:00
Samuel-DEVULDER
9c516819c1
Make save game code big-endian compatible
2020-01-27 00:03:02 +01:00
Anders Jenbo
da03bae69d
Merge branch 'master' of github.com:diasurgical/devilution
2019-12-25 20:38:25 +01:00
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
2019-12-22 23:57:10 +01:00
Anders Jenbo
9a704ff2f0
Merge branch 'master' of github.com:diasurgical/devilution
2019-12-19 01:05:01 +01:00
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
2019-12-15 06:14:57 +01:00
Anders Jenbo
a91f4e76ba
Fix bad merge
2019-11-01 00:28:56 +01:00
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)
2019-09-22 01:27:26 +02:00
Anders Jenbo
b90ef1336d
Fix Segfault when loading game
...
Fixes #224
Not this breaks save games generated with master since 2019-07-15
2019-09-21 22:51:07 +02:00
Alex Sweet
b2f3588747
Fix MonstStruct load/save
2019-07-24 13:02:05 +02:00
Anders Jenbo
2fcf8dab70
Merge branch 'master' of github.com:diasurgical/devilution
2019-07-21 19:39:17 +02:00
Anders Jenbo
5ab9f4609a
Clean up signedness
2019-07-21 00:57:53 +02:00
Anders Jenbo
60ee365dff
Merge branch 'master' of github.com:diasurgical/devilution
2019-07-20 19:52:50 +02:00
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.)
2019-07-17 20:42:26 +02:00
Robin Eklind
b727d158ab
Make _pSLvlVisited into a boolean.
...
_pSLvlVisited is only ever used in boolean contexts.
2019-07-17 20:36:02 +02:00
Robin Eklind
29eb52b6d0
Make _pLvlVisited into a boolean.
...
_pLvlVisited is only ever used in boolean contexts.
2019-07-17 20:34:45 +02:00
Alex Sweet
10ebca4efd
Fix load/save monster padding
2019-07-15 11:10:28 +02:00
Sergey Semushin
6e36190221
Fix typo in LoadPremium, SavePremium.
2019-07-13 14:04:40 +02:00
Sergey Semushin
15d046dc64
Fix typo in SaveObject.
2019-07-13 10:55:50 +02:00
Alex Sweet
a0f9a9b758
Move SavePlayer and SaveItem down
2019-07-12 00:37:57 +02:00
Alex Sweet
636a8108f9
Fix line endings
2019-07-12 00:37:57 +02:00
Alex Sweet
3f82acec52
Use filthy Windows types
2019-07-12 00:37:57 +02:00
Alex Sweet
aed31ce684
Style fixes
2019-07-12 00:37:57 +02:00
Alex Sweet
c124514391
Add missing pragma pack to some structs
2019-07-12 00:37:57 +02:00
Alex Sweet
356f0361f9
Bufix - pointers
2019-07-12 00:37:57 +02:00
Alex Sweet
9c207f601d
Refactor packing functions
2019-07-12 00:37:57 +02:00
Alex Sweet
a0c295811d
Load 32 bit save files
2019-07-12 00:37:57 +02:00
Anders Jenbo
4ff5197291
merge devilution
2019-06-28 21:53:52 +02:00
Joan Karadimov
fce804a09a
Use the dungeon_type enum for leveltype
2019-06-28 11:58:44 +03:00
Anders Jenbo
ce056b02d8
Merge branch 'master' of github.com:diasurgical/devilution
2019-05-30 14:40:33 +02:00
Anders Jenbo
565bb5aa7d
Adust dFlag enums
2019-05-29 16:23:08 +01:00
Anders Jenbo
23e7737c75
Merge branch 'master' of github.com:diasurgical/devilution
...
Fixes #92
2019-05-05 00:27:08 +02:00
Anders Jenbo
fe788c4027
Clean up loadsave.cpp
2019-05-02 00:16:46 +01: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