Initial commit.

This commit is contained in:
2025-10-26 15:42:34 -05:00
commit f1db7de87c
29 changed files with 781 additions and 0 deletions

21
src/entity/direction.h Executable file
View File

@@ -0,0 +1,21 @@
/**
* Copyright (c) 2025 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "microrpg.h"
#define DIRECTION_UP 0
#define DIRECTION_RIGHT 1
#define DIRECTION_DOWN 2
#define DIRECTION_LEFT 3
#define DIRECTION_NORTH DIRECTION_UP
#define DIRECTION_EAST DIRECTION_RIGHT
#define DIRECTION_SOUTH DIRECTION_DOWN
#define DIRECTION_WEST DIRECTION_LEFT
typedef uint8_t direction_t;