Implement Private_c and all prerequisite structures

This commit is contained in:
Cuyler36
2023-04-24 09:11:01 -04:00
parent 759a9c810e
commit a6f91e39be
8 changed files with 339 additions and 21 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef M_NEEDLEWORK_H
#define M_NEEDLEWORK_H
#include "types.h"
#include "m_personal_id.h"
#ifdef __cplusplus
extern "C" {
#endif
#define mNW_ORIGINAL_DESIGN_NAME_LEN 16
#define mNW_ORIGINAL_DESIGN_WIDTH 32
#define mNW_ORIGINAL_DESIGN_HEIGHT 32
/* sizeof(mNW_original_design_c) == 0x220 */
typedef struct original_data_s {
/* 0x000 */ u8 name[mNW_ORIGINAL_DESIGN_NAME_LEN];
/* 0x010 */ u8 palette;
/* 0x011 */ u8 pad[15];
/* 0x020 */ u8 design[mNW_ORIGINAL_DESIGN_HEIGHT * (mNW_ORIGINAL_DESIGN_WIDTH / 2)];
} mNW_original_design_c;
#ifdef __cplusplus
}
#endif
#endif