- Define Point structure for 3D coordinates - Add map pin type constants - Implement placeholder functions for: * Player location loading * Map pin addition * Pin counting - Foundation for Korok seed tracking
22 lines
No EOL
333 B
C
22 lines
No EOL
333 B
C
#ifndef MAP_H
|
|
#define MAP_H
|
|
|
|
#include <stdlib.h>
|
|
#include <switch.h>
|
|
|
|
#define MAP_PIN_STAR 0x1F
|
|
#define MAP_PIN_LEAF 0x22
|
|
#define MAP_PIN_EMPTY 0xFFFFFFFF
|
|
|
|
typedef struct {
|
|
u32 hash;
|
|
float x;
|
|
float y;
|
|
float z;
|
|
} Point;
|
|
|
|
void loadPlayerLocation();
|
|
void addMapPin(u32 icon, Point location);
|
|
void countMapPins();
|
|
|
|
#endif |