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:
AllyTallyandMisa Elizabeth Kai authored and Misa Elizabeth Kai committed 2023-03-02 22:58:12 -08:00
1 parent dd108a035f
commit 5beaf973ce
9 files changed
+183 -381

No files matched your search

+6 -14
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;