You've already forked marioparty4
mirror of
https://github.com/encounter/marioparty4.git
synced 2026-03-30 11:29:35 -07:00
23 lines
382 B
C
23 lines
382 B
C
#ifndef DATADIR_ENUM
|
|
#define DATADIR_ENUM
|
|
|
|
#define DATADIR_DEFINE(name, path) DATADIR_ID_##name,
|
|
|
|
enum {
|
|
#include "datadir_table.h"
|
|
DATADIR_ID_MAX
|
|
};
|
|
|
|
#undef DATADIR_DEFINE
|
|
|
|
#define DATADIR_DEFINE(name, path) DATADIR_##name = (DATADIR_ID_##name) << 16,
|
|
|
|
enum {
|
|
#include "datadir_table.h"
|
|
};
|
|
|
|
#undef DATADIR_DEFINE
|
|
|
|
#define DATA_MAKE_NUM(dir, file) ((dir)+(file))
|
|
|
|
#endif |