Commit graph

113 commits

Author SHA1 Message Date
Anders Jenbo
d37fb68809 Make header checks portable 2021-03-02 12:17:13 +01:00
Anders Jenbo
886ed4803a Do not try to convert levels for non avalible quests
Apparently previous saves can leave behind some quest levels in junk
states
2021-03-02 08:22:48 +01:00
Anders Jenbo
3593266ef7 Converte all Levels when cross loading saves 2021-02-27 14:51:37 +01:00
Anders Jenbo
5035ac8062 Strip Hellfire items in Diablo sessions 2021-02-27 14:51:37 +01:00
Anders Jenbo
7cf40d3c7c Clean up missile function names 2021-02-25 11:52:19 +01:00
qndel
ba37c8618f
fixtypos (#1053) 2021-02-25 10:14:02 +01:00
Anders Jenbo
b4e78c5e79 Remove some unused junk 2021-02-25 05:37:17 +01:00
Anders Jenbo
a5ca521f0d Fix item morphing in Hellfire 2021-02-22 00:12:23 +01:00
qndel
c0f5749728 Fix RNG diverging during level generation depending on the code path
The consequences has mostly mitigated after wards, but this will make things make more sens when analysing the state of the code.
2021-02-01 06:44:16 +01:00
Anders Jenbo
b69952d918 Correct monster light when loading old saves 2021-02-01 05:38:34 +01:00
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