Overworld render test.
This commit is contained in:
@@ -6,8 +6,18 @@
|
||||
*/
|
||||
|
||||
#include "rpg.h"
|
||||
#include "rpg/entity/player.h"
|
||||
|
||||
#include "rpg/world/map.h"
|
||||
|
||||
map_t testMap;
|
||||
|
||||
void rpgInit() {
|
||||
|
||||
mapInit(&testMap);
|
||||
|
||||
entity_t *ent = mapEntityAdd(&testMap);
|
||||
entityInit(ent, ENTITY_TYPE_PLAYER);
|
||||
}
|
||||
|
||||
void rpgUpdate() {
|
||||
mapUpdate(&testMap);
|
||||
}
|
Reference in New Issue
Block a user