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
|
// ID of hole - an invalid record
|
||||||
#define HOLE_ID (-1)
|
#define HOLE_ID (-1)
|
||||||
|
|
||||||
// Hole sasa constant
|
// Hole sasa constant with hole ID
|
||||||
static const Sasa HOLE_SASA = {HOLE_ID};
|
extern const Sasa HOLE_SASA;
|
||||||
|
|
||||||
// Hole tanzaku constant
|
// Hole tanzaku constant with hole ID
|
||||||
static const Tanzaku HOLE_TANZAKU = {HOLE_ID};
|
extern const Tanzaku HOLE_TANZAKU;
|
||||||
|
|
||||||
// Hole kazari constant
|
// Hole kazari constant with hole ID
|
||||||
static const Kazari HOLE_KAZARI = {HOLE_ID};
|
extern const Kazari HOLE_KAZARI;
|
||||||
|
|
||||||
// ==================== SASAHYOU SECTION ==================== //
|
// ==================== SASAHYOU SECTION ==================== //
|
||||||
|
|
||||||
|
|||||||
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
#include "../../include/core.h"
|
#include "../../include/core.h"
|
||||||
|
|
||||||
|
const Tanzaku HOLE_TANZAKU = {HOLE_ID};
|
||||||
|
|
||||||
// Sappyou file signature: 七夕冊表
|
// Sappyou file signature: 七夕冊表
|
||||||
const uint16_t SAPPYOU_SIG[4] = {L'七', L'夕', L'冊', L'表'};
|
const uint16_t SAPPYOU_SIG[4] = {L'七', L'夕', L'冊', L'表'};
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
#include "../../include/core.h"
|
#include "../../include/core.h"
|
||||||
|
|
||||||
|
const Sasa HOLE_SASA = {HOLE_ID};
|
||||||
|
|
||||||
// Sasahyou file signature: 七夕笹表
|
// Sasahyou file signature: 七夕笹表
|
||||||
const uint16_t SASAHYOU_SIG[4] = {L'七', L'夕', L'笹', L'表'};
|
const uint16_t SASAHYOU_SIG[4] = {L'七', L'夕', L'笹', L'表'};
|
||||||
|
|
||||||
|
|||||||
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
#include "../../include/core.h"
|
#include "../../include/core.h"
|
||||||
|
|
||||||
|
const Kazari HOLE_KAZARI = {HOLE_ID};
|
||||||
|
|
||||||
// Shoppyou file signature: 七夕飾表
|
// Shoppyou file signature: 七夕飾表
|
||||||
static const uint16_t SHOPPYOU_SIG[4] = {L'七', L'夕', L'飾', L'表'};
|
static const uint16_t SHOPPYOU_SIG[4] = {L'七', L'夕', L'飾', L'表'};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user