Skip to content

Commit

Permalink
Recognize IDDM1.WAD
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Dec 27, 2024
1 parent 86d4474 commit 457d03d
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

* *DOOM Retro* now uses [*SDL_image v2.8.4*](https://github.com/libsdl-org/SDL_image/releases/tag/release-2.8.4).
* Minor changes have been made to text that is output to the console.
* An error is no longer displayed when trying to load the *BFG Edition* of *DOOM II*.
* An error is no longer displayed when trying to load the *BFG Edition* of *DOOM II: Hell On Earth*.
* Weapons that use the [*MBF21*](https://doomwiki.org/wiki/MBF21)-compatible `A_ConsumeAmmo` code pointer no longer consume ammo when fired if infinite ammo is enabled using the `infiniteammo` CCMD.
* Animated skies defined using the [*ID24*](https://doomwiki.org/wiki/ID24)-compatible [`SKYDEFS`](https://doomwiki.org/wiki/SKYDEFS) lump are now fully supported.
* Improvements have been made to the clipping of certain sprites when close to the edge of a liquid sector when the `r_liquid_clipsprites` CVAR is `on`.
Expand Down
1 change: 1 addition & 0 deletions res/DEHACKED.lmp
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ CAPTION_EARTHLESS = Earthless: Prelude
CAPTION_GANYMEDE = Base Ganymede: Complete
CAPTION_HARMONY = Harmony
CAPTION_ID1 = Legacy Of Rust
CAPTION_IDDM1 = id Deathmatch Pack #1
CAPTION_KDIKDIZD = Knee-Deep In Knee-Deep In ZDoom
CAPTION_MASTERLEVELS = Master Levels For DOOM II
CAPTION_NEIS = No End In Sight
Expand Down
Binary file modified res/doomretro.wad
Binary file not shown.
2 changes: 2 additions & 0 deletions src/d_deh.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ char *s_CAPTION_EARTHLESS = "";
char *s_CAPTION_GANYMEDE = "";
char *s_CAPTION_HARMONY = "";
char *s_CAPTION_ID1 = "";
char *s_CAPTION_IDDM1 = "";
char *s_CAPTION_KDIKDIZD = "";
char *s_CAPTION_MASTERLEVELS = "";
char *s_CAPTION_NEIS = "";
Expand Down Expand Up @@ -1294,6 +1295,7 @@ deh_strs deh_strlookup[] =
{ &s_CAPTION_GANYMEDE, "CAPTION_GANYMEDE" },
{ &s_CAPTION_HARMONY, "CAPTION_HARMONY" },
{ &s_CAPTION_ID1, "CAPTION_ID1" },
{ &s_CAPTION_IDDM1, "CAPTION_IDDM1" },
{ &s_CAPTION_KDIKDIZD, "CAPTION_KDIKDIZD" },
{ &s_CAPTION_MASTERLEVELS, "CAPTION_MASTERLEVELS" },
{ &s_CAPTION_NEIS, "CAPTION_NEIS" },
Expand Down
1 change: 1 addition & 0 deletions src/d_deh.h
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ extern char *s_CAPTION_EARTHLESS;
extern char *s_CAPTION_GANYMEDE;
extern char *s_CAPTION_HARMONY;
extern char *s_CAPTION_ID1;
extern char *s_CAPTION_IDDM1;
extern char *s_CAPTION_KDIKDIZD;
extern char *s_CAPTION_MASTERLEVELS;
extern char *s_CAPTION_NEIS;
Expand Down
2 changes: 2 additions & 0 deletions src/d_iwad.c
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,8 @@ void D_SetGameDescription(void)
M_StringCopy(gamedescription, s_CAPTION_HARMONY, sizeof(gamedescription));
else if (legacyofrust)
M_StringCopy(gamedescription, s_CAPTION_ID1, sizeof(gamedescription));
else if (IDDM1)
M_StringCopy(gamedescription, s_CAPTION_IDDM1, sizeof(gamedescription));
else if (KDIKDIZD)
M_StringCopy(gamedescription, s_CAPTION_KDIKDIZD, sizeof(gamedescription));
else if (masterlevels)
Expand Down
2 changes: 2 additions & 0 deletions src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,8 @@ void D_CheckSupportedPWAD(char *filename)
E1M4B = true;
else if (M_StringCompare(leaf, "e1m8b.wad"))
E1M8B = true;
else if (M_StringCompare(leaf, "iddm1.wad"))
IDDM1 = true;
else if (M_StringCompare(leaf, "KDiKDi_A.wad"))
KDIKDIZD = KDIKDIZDA = true;
else if (M_StringCompare(leaf, "KDiKDi_B.wad"))
Expand Down
1 change: 1 addition & 0 deletions src/doomstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ bool BTSXE3A = false;
bool BTSXE3B = false;
bool E1M4B = false;
bool E1M8B = false;
bool IDDM1 = false;
bool KDIKDIZD = false;
bool KDIKDIZDA = false;
bool KDIKDIZDB = false;
Expand Down
1 change: 1 addition & 0 deletions src/doomstat.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ extern bool BTSXE3A;
extern bool BTSXE3B;
extern bool E1M4B;
extern bool E1M8B;
extern bool IDDM1;
extern bool KDIKDIZD;
extern bool KDIKDIZDA;
extern bool KDIKDIZDB;
Expand Down

0 comments on commit 457d03d

Please sign in to comment.