botw-completer/source/map_basic.h
badbl0cks 8ddd30bbb4
Add basic map pin functionality
- 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
2023-05-18 11:49:10 -07:00

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