mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-26 22:11:54 +00:00
26179c56cf
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.
16 lines
291 B
C++
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);
|
|
|
|
|