Commit graph

303 commits

Author SHA1 Message Date
qndel
7f42d0dd64 Fix vision staying behind from where you eited the level
This could be either the stairs one tile next to where you enter. Or a
compleatly different posistion if using a different entry point.
2021-01-31 17:46:15 +01:00
Anders Jenbo
06b7c78406 Notes of untimly header cleanups 2021-01-26 03:12:58 +01:00
Anders Jenbo
244c5437b4 Fix saving items 2021-01-17 15:03:34 +01:00
Anders Jenbo
d68c8c1cc8 Fix issues related to cross loading save games 2021-01-17 04:49:23 +01:00
Anders Jenbo
ccd0e7fd23 Merge branch 'master' of github.com:diasurgical/devilution 2021-01-16 02:10:25 +01:00
Anders Jenbo
4ffbb32952 [hellfire] Allow continuing Diablo saves in Hellfire and vice versa 2021-01-13 16:10:21 +01:00
Anders Jenbo
e609e170d0 Merge a large chunk of Hellfire the code paths 2021-01-06 08:07:20 +01:00
qndel
890b1dd9a7
fix typos (#971) 2021-01-05 22:29:21 +01:00
qndel
8d1de8e4ec
fixes saves (#970) 2021-01-05 21:26:29 +01:00
Anders Jenbo
61a580588c Unify save game loading 2021-01-02 22:35:42 +01:00
Anders Jenbo
a0c88e09ad Correct hellfire save game mapping 2021-01-01 22:26:08 +01:00
Anders Jenbo
61b2d0de95 Merge branch 'master' of github.com:diasurgical/devilution 2020-12-16 02:24:39 +01:00
Anders Jenbo
4ae75753c8 Merge branch 'master' of github.com:diasurgical/devilution 2020-11-09 01:24:02 +01:00
Anders Jenbo
fa3785a475 Merge branch 'master' of github.com:diasurgical/devilution 2020-11-04 03:02:48 +01:00
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