mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05:00
ba13e6b2c4
Co-authored-by: kenix3 <kenixwhisperwind@gmail.com> Co-authored-by: David Chavez <david@dcvz.io> Co-authored-by: KiritoDv <kiritodev01@gmail.com> Co-authored-by: Christopher Leggett <chris@leggett.dev>
27 lines
812 B
C
27 lines
812 B
C
#ifndef Z64MAP_MARK_H
|
|
#define Z64MAP_MARK_H
|
|
|
|
#include <libultraship/libultra.h>
|
|
|
|
#define MAP_MARK_NONE -1
|
|
#define MAP_MARK_CHEST 0
|
|
#define MAP_MARK_BOSS 1
|
|
|
|
typedef struct {
|
|
/* 0x00 */ s8 chestFlag; // chest icon is only displayed if this flag is not set for the current room
|
|
/* 0x01 */ u8 x, y; // coordinates to place the icon (top-left corner), relative to the minimap texture
|
|
} MapMarkPoint; // size = 0x3
|
|
|
|
typedef struct {
|
|
/* 0x00 */ s8 markType; // 0 for the chest icon, 1 for the boss skull icon, -1 for none
|
|
/* 0x01 */ u8 count; // number of icons to display
|
|
/* 0x02 */ MapMarkPoint points[12];
|
|
} MapMarkIconData; // size = 0x26
|
|
|
|
typedef MapMarkIconData MapMarkData[3]; // size = 0x72
|
|
|
|
extern MapMarkData* gMapMarkDataTableVanilla[];
|
|
extern MapMarkData* gMapMarkDataTableMq[];
|
|
|
|
#endif
|