-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for The Catacomb Apocalypse is now in. Comments about the pre…
…ceding commit for Armageddon apply here as well.
- Loading branch information
Showing
172 changed files
with
14,422 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
.PHONY: clean | ||
all: | ||
$(MAKE) all -C src/kdreams | ||
$(MAKE) all -C src/id91_11/cat3d | ||
$(MAKE) all -C src/id91_11/catadventures/catabyss | ||
$(MAKE) all -C src/id91_11/catadventures/catarm | ||
$(MAKE) all -C src | ||
clean: | ||
$(MAKE) clean -C src/kdreams | ||
$(MAKE) clean -C src/id91_11/cat3d | ||
$(MAKE) clean -C src/id91_11/catadventures/catabyss | ||
$(MAKE) clean -C src/id91_11/catadventures/catarm | ||
$(MAKE) clean -C src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Nasty... | ||
|
||
skycolor can be any of | ||
- &debug_sky | ||
- &scolor | ||
- &sky_colors[0] (commented out in Arm/Apoc) | ||
- &sky_colors[gamestate.mapon] for some map (commented out in Arm/Apoc) | ||
- (See note about **** PlayLoop can increment the skycolor POINTER (until read value is 0xFFFF). | ||
- Could also decrement but that's commented out... | ||
- scolors, an input to InitBgChange. This is either sky_daytonight (commented out in Arm/Apoc) or sky_lightning. | ||
- C5_WIZ.C:ReadScroll, &blackcolor (seems commented out) | ||
- C5_WIZ.C:ReadScroll, skytemp (just old value of skycolor, and again commented out) | ||
|
||
Similarly groundcolor can be any of | ||
- &debug_gnd | ||
- &gcolor | ||
- &gnd_colors[0] (commented out in Arm/Apoc) | ||
- &gnd_colors[gamestate.mapon] for some map (commented out in Arm/Apoc) | ||
- **** PlayLoop can increment it like skycolor | ||
- Also decrement, but again that's commented out | ||
- gcolors, an input to InitBgChange. This is however NULL so InitBgChange never actually sets this. | ||
- C5_WIZ.C:ReadScroll, &blackcolor (commented out) | ||
- C5_WIZ.C:ReadScroll, gndtemp (original groundcolor pointer, commented out) | ||
|
||
A FEW MORE NOTES THAT CAN BE USEFUL: | ||
- Looks like InitBgChange is always called with gtimer==-1, so effectively | ||
the groundcolor pointer is never incremented in PlayLoop. | ||
- skycolor *can*, however, be incremented (for the lightning). This is done | ||
by a call to InitBgChange with skytimer==1 and scolors==sky_daytonight. | ||
- So in *theory*, skycolor should only increment as long as it goes over | ||
sky_daytonight (or similarly sky_lightning in CatAbyss), until the value | ||
of 0xFFFF is reached at the end of the sky colors array. | ||
|
||
PROBLEM: | ||
- It looks like if sky color is changed in Apoc using a cheat while in the | ||
middle of a lightning, it CAN lead to a buffer overflow. This must depend on | ||
the EXE layout. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.PHONY: clean | ||
all: | ||
$(MAKE) all -C kdreams | ||
$(MAKE) all -C id91_11 | ||
clean: | ||
$(MAKE) clean -C kdreams | ||
$(MAKE) clean -C id91_11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.PHONY: clean | ||
all: | ||
$(MAKE) all -C cat_all | ||
clean: | ||
$(MAKE) clean -C cat_all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.PHONY: clean | ||
all: | ||
$(MAKE) all -C cat3d | ||
$(MAKE) all -C catabyss | ||
$(MAKE) all -C catarm | ||
$(MAKE) all -C catapoc | ||
clean: | ||
$(MAKE) clean -C cat3d | ||
$(MAKE) clean -C catabyss | ||
$(MAKE) clean -C catarm | ||
$(MAKE) clean -C catapoc |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.