25 lines
357 B
C
25 lines
357 B
C
/**
|
|
* Copyright (c) 2025 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "rpg/world/map.h"
|
|
|
|
typedef struct {
|
|
map_t *map;
|
|
} rpg_t;
|
|
|
|
extern rpg_t RPG;
|
|
|
|
/**
|
|
* Initializes the RPG subsystem.
|
|
*/
|
|
void rpgInit();
|
|
|
|
/**
|
|
* Updates the RPG subsystem.
|
|
*/
|
|
void rpgUpdate(); |