30 lines
610 B
C
30 lines
610 B
C
/**
|
|
* Copyright (c) 2025 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "dusk.h"
|
|
|
|
typedef enum {
|
|
OVERWORLD_CAMERA_TYPE_CENTERED_POSITION,
|
|
} overworldcameratype_t;
|
|
|
|
extern uint32_t OVERWORLD_CAMERA_X;
|
|
extern uint32_t OVERWORLD_CAMERA_Y;
|
|
extern overworldcameratype_t OVERWORLD_CAMERA_TYPE;
|
|
|
|
#define OVERWORLD_CAMERA_LIMIT_X (UINT32_MAX / 4)
|
|
#define OVERWORLD_CAMERA_LIMIT_Y (UINT32_MAX / 4)
|
|
|
|
/**
|
|
* Initializes the overworld.
|
|
*/
|
|
void overworldInit(void);
|
|
|
|
/**
|
|
* Updates the overworld.
|
|
*/
|
|
void overworldUpdate(void); |