You've already forked marioparty5
mirror of
https://github.com/encounter/marioparty5.git
synced 2026-03-30 11:29:39 -07:00
24 lines
341 B
C
24 lines
341 B
C
#ifndef DATADIR_ENUM
|
|
#define DATADIR_ENUM
|
|
|
|
#define DATADIR(name) _##name,
|
|
|
|
enum {
|
|
#include "datadir_table.h"
|
|
};
|
|
|
|
#undef DATADIR
|
|
|
|
#define DATADIR(name) DATA_##name = (_##name) << 16,
|
|
|
|
enum {
|
|
#include "datadir_table.h"
|
|
};
|
|
|
|
#undef DATADIR
|
|
|
|
#define DATANUM(dir, file) ((dir)|(file))
|
|
|
|
#define FILENUM(dataNum) ((dataNum) & 0xFFFF)
|
|
|
|
#endif |