Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- improved the secret hint management for Blood.
This now uses sprite and sector indices directly instead of encoding them into a larger number. Sprite secrets will use a $t prefix instead of $s now.
- Loading branch information
Showing
3 changed files
with
34 additions
and
10 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
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,9 +1,16 @@ | ||
#pragma once | ||
#include "files.h" | ||
|
||
enum ESecretType | ||
{ | ||
Secret_Sector = 0, | ||
Secret_Sprite, | ||
Secret_Wall | ||
}; | ||
|
||
class FSerializer; | ||
void SECRET_Serialize(FSerializer &arc); | ||
void SECRET_SetMapName(const char *filename, const char *maptitle); | ||
bool SECRET_Trigger(int num); | ||
bool SECRET_Trigger(int num, int type = Secret_Sector); | ||
|
||
|
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