mirror of
https://github.com/n64decomp/sm64.git
synced 2024-11-12 04:15:02 -05:00
31 lines
778 B
C
31 lines
778 B
C
|
#define COURSE_ACTS(id, name, a,b,c,d,e,f) \
|
||
|
static const u8 GLUE2(COURSE_TABLE, _ ## id)[] = { name };
|
||
|
|
||
|
#define SECRET_STAR(id, name) \
|
||
|
static const u8 GLUE2(COURSE_TABLE, _ ## id)[] = { name };
|
||
|
|
||
|
#define CASTLE_SECRET_STARS(str) \
|
||
|
static const u8 GLUE2(COURSE_TABLE, _castle_secret_stars)[] = { str };
|
||
|
|
||
|
#define EXTRA_TEXT(id, str)
|
||
|
|
||
|
#include "courses.h"
|
||
|
|
||
|
#undef COURSE_ACTS
|
||
|
#undef SECRET_STAR
|
||
|
#undef CASTLE_SECRET_STARS
|
||
|
|
||
|
#define COURSE_ACTS(id, name, a,b,c,d,e,f) GLUE2(COURSE_TABLE, _ ## id),
|
||
|
#define SECRET_STAR(id, name) GLUE2(COURSE_TABLE, _ ## id),
|
||
|
#define CASTLE_SECRET_STARS(str) GLUE2(COURSE_TABLE, _castle_secret_stars),
|
||
|
|
||
|
const u8 *const COURSE_TABLE[] = {
|
||
|
#include "courses.h"
|
||
|
NULL
|
||
|
};
|
||
|
|
||
|
#undef COURSE_ACTS
|
||
|
#undef SECRET_STAR
|
||
|
#undef CASTLE_SECRET_STARS
|
||
|
|