raze/source/core/secrets.h
Christoph Oelckers 26179c56cf - 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.
2022-03-20 12:47:23 +01:00

16 lines
291 B
C++

#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, int type = Secret_Sector);