mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 21:35:11 +00:00
Remove "z64" prefix from all headers (#2518)
* z64 - a * z64 - b * z64 - c * z64 - d * z64 - e * z64 - f * z64 - g * z64 - h * z64 - i * z64 - l * z64 - m * z64 - o * z64 - p * z64 - q * z64 - r * z64 - s * z64 - t * z64 - v * restore file * fix merge * fix merge --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
This commit is contained in:
parent
e8b708a448
commit
28cc9d68cf
1255 changed files with 2596 additions and 2594 deletions
31
include/map_mark.h
Normal file
31
include/map_mark.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
#ifndef MAP_MARK_H
|
||||
#define MAP_MARK_H
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
struct PlayState;
|
||||
|
||||
#define MAP_MARK_NONE -1
|
||||
#define MAP_MARK_CHEST 0
|
||||
#define MAP_MARK_BOSS 1
|
||||
|
||||
typedef struct MapMarkPoint {
|
||||
/* 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 MapMarkIconData {
|
||||
/* 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
|
||||
|
||||
void MapMark_Init(struct PlayState* play);
|
||||
void MapMark_ClearPointers(struct PlayState* play);
|
||||
void MapMark_Draw(struct PlayState* play);
|
||||
|
||||
extern MapMarkData* gMapMarkDataTable[];
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue