painfull-success-cg/include/tiles.h

22 lines
513 B
C

/* SPDX-License-Identifier: MIT
* Copyright (c) 2021 KikooDX
* This file is part of
* [Painfull Success CG](https://git.sr.ht/~kikoodx/painfull-success-cg),
* which is MIT licensed. The MIT license requires this copyright notice to be
* included in all copies and substantial portions of the software. */
#pragma once
#include "lazyint.h"
typedef u8 tile_t;
enum {
AIR_TILE = 0,
SOLID_TILE,
PAIN_TILE,
SPAWN_TILE,
EXIT_TILE,
KEY_TILE,
SEMI_SOLID_TILE,
CHECKY_TILE,
};
#define OUT_OF_BOUNDS AIR_TILE