Commit Graph
389 Commits
Author SHA1 Message Date
Anders Jenbo a9502d43fc Reorder loadsave.cpp 2020-11-03 03:12:27 +01:00
Anders Jenbo 4794c8357c Merge branch 'master' of github.com:diasurgical/devilution 2020-11-02 03:59:47 +01:00
Anders Jenbo 6580222d1c Add enums for level entrances 2020-10-26 01:41:54 +01:00
Anders Jenbo 57f0f5f4c7 Handle hellfire save game differences 2020-10-13 05:12:20 +02:00
Anders Jenbo 2d6c1efeab Merge branch 'master' of github.com:diasurgical/devilution 2020-10-12 10:46:28 +02:00
Anders Jenbo 7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
Anders Jenbo 893efd51ea Merge branch 'master' of github.com:diasurgical/devilution 2020-09-27 03:34:42 +02:00
Tyler d7ca28ff8e Added single-player difficulty menu. 2020-09-17 23:10:47 +02:00
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 31ac716c3d 99 lines of documentation (#2058) 2020-07-07 19:36:18 +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 659dc41aa5 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-26 22:10:34 +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 b040c04a18 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-04 07:56:06 +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 7369deba1b Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-25 20:25:56 +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
qndel e2f14a7d13 [hellfire] LoadGame bin exact 2019-09-25 11:40:53 +02:00
qndel 9cf2354774 [hellfire] SaveGame bin exact + enums 2019-09-25 11:40:53 +02: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