You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
Co-authored-by: Axollyon <20480418+Axollyon@users.noreply.github.com> Co-authored-by: Reonu <danileon95@gmail.com> Co-authored-by: Arceveti <arceveti@gmail.com> Co-authored-by: Gregory Heskett <gheskett@gmail.com>
34 lines
886 B
C
34 lines
886 B
C
#undef COURSE_ACTS
|
|
#define COURSE_ACTS(id, name, a,b,c,d,e,f) \
|
|
static const char GLUE2(COURSE_NAME_TABLE, _ ## id)[] = { name };
|
|
|
|
#undef SECRET_STAR
|
|
#define SECRET_STAR(id, name) \
|
|
static const char GLUE2(COURSE_NAME_TABLE, _ ## id)[] = { name };
|
|
|
|
#undef CASTLE_SECRET_STARS
|
|
#define CASTLE_SECRET_STARS(str) \
|
|
static const char GLUE2(COURSE_NAME_TABLE, _castle_secret_stars)[] = { str };
|
|
|
|
#define EXTRA_TEXT(id, str)
|
|
|
|
#include COURSE_FILE
|
|
|
|
#undef COURSE_ACTS
|
|
#undef SECRET_STAR
|
|
#undef CASTLE_SECRET_STARS
|
|
|
|
#define COURSE_ACTS(id, name, a,b,c,d,e,f) GLUE2(COURSE_NAME_TABLE, _ ## id),
|
|
#define SECRET_STAR(id, name) GLUE2(COURSE_NAME_TABLE, _ ## id),
|
|
#define CASTLE_SECRET_STARS(str) GLUE2(COURSE_NAME_TABLE, _castle_secret_stars),
|
|
|
|
const char *const COURSE_NAME_TABLE[] = {
|
|
#include COURSE_FILE
|
|
NULL
|
|
};
|
|
|
|
#undef COURSE_ACTS
|
|
#undef SECRET_STAR
|
|
#undef CASTLE_SECRET_STARS
|
|
|