fix(core): change hole constants to extern class
This commit is contained in:
parent
fca32fa558
commit
d404378251
@ -76,14 +76,14 @@ typedef struct shoppyou {
|
||||
// ID of hole - an invalid record
|
||||
#define HOLE_ID (-1)
|
||||
|
||||
// Hole sasa constant
|
||||
static const Sasa HOLE_SASA = {HOLE_ID};
|
||||
// Hole sasa constant with hole ID
|
||||
extern const Sasa HOLE_SASA;
|
||||
|
||||
// Hole tanzaku constant
|
||||
static const Tanzaku HOLE_TANZAKU = {HOLE_ID};
|
||||
// Hole tanzaku constant with hole ID
|
||||
extern const Tanzaku HOLE_TANZAKU;
|
||||
|
||||
// Hole kazari constant
|
||||
static const Kazari HOLE_KAZARI = {HOLE_ID};
|
||||
// Hole kazari constant with hole ID
|
||||
extern const Kazari HOLE_KAZARI;
|
||||
|
||||
// ==================== SASAHYOU SECTION ==================== //
|
||||
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
|
||||
#include "../../include/core.h"
|
||||
|
||||
const Tanzaku HOLE_TANZAKU = {HOLE_ID};
|
||||
|
||||
// Sappyou file signature: 七夕冊表
|
||||
const uint16_t SAPPYOU_SIG[4] = {L'七', L'夕', L'冊', L'表'};
|
||||
|
||||
|
||||
@ -5,6 +5,8 @@
|
||||
|
||||
#include "../../include/core.h"
|
||||
|
||||
const Sasa HOLE_SASA = {HOLE_ID};
|
||||
|
||||
// Sasahyou file signature: 七夕笹表
|
||||
const uint16_t SASAHYOU_SIG[4] = {L'七', L'夕', L'笹', L'表'};
|
||||
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
|
||||
#include "../../include/core.h"
|
||||
|
||||
const Kazari HOLE_KAZARI = {HOLE_ID};
|
||||
|
||||
// Shoppyou file signature: 七夕飾表
|
||||
static const uint16_t SHOPPYOU_SIG[4] = {L'七', L'夕', L'飾', L'表'};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user