Strip out old special roomname system

This commit replaces the old system with the new one, making it much
easier to edit the transforming and glitchy roomnames. Additionally,
this syncs flag 72 to finalstretch.

Co-authored-by: Misa Elizabeth Kai <infoteddy@infoteddy.info>
This commit is contained in:
AllyTally
2023-02-17 19:52:57 -04:00
committed by Misa Elizabeth Kai
parent dd108a035f
commit 5beaf973ce
9 changed files with 183 additions and 381 deletions

View File

@@ -20,9 +20,9 @@ struct Roomtext
enum RoomnameType
{
STATIC,
GLITCH,
TRANSFORM
RoomnameType_STATIC,
RoomnameType_GLITCH,
RoomnameType_TRANSFORM
};
struct Roomname
@@ -57,17 +57,14 @@ public:
void resetmap(void);
void resetnames(void);
void updateroomnames(void);
void transformname(int t);
const char* getglitchname(int x, int y);
void initmapdata(void);
void initcustommapdata(void);
void roomnamechange(int x, int y, const char** lines, size_t size);
void roomnameglitch(int x, int y, const char* name, const char* glitch);
int finalat(int x, int y);
int maptiletoenemycol(int t);
@@ -165,11 +162,6 @@ public:
int customzoom;
bool customshowmm;
const char* specialnames[8];
int glitchmode;
int glitchdelay;
const char* glitchname;
//final level colour cycling stuff
bool final_colormode;
int final_mapcol;