DungeonCrawl
Loading...
Searching...
No Matches
map.c File Reference

Implementations for the games map. More...

#include "map.h"

Go to the source code of this file.

Variables

map_tile_t map [WIDTH][HEIGHT]
map_tile_t revealed_map [WIDTH][HEIGHT]
vector2d_t directions [4]

Detailed Description

Implementations for the games map.

Definition in file map.c.

Variable Documentation

◆ directions

vector2d_t directions[4]
Initial value:
= {
{0, -1},
{0, 1},
{-1, 0},
{1, 0}
}

Definition at line 11 of file map.c.

11 {
12 {0, -1},// up
13 {0, 1}, // down
14 {-1, 0},// left
15 {1, 0} // right
16};

◆ map

map_tile_t map[WIDTH][HEIGHT]

Definition at line 7 of file map.c.

◆ revealed_map

map_tile_t revealed_map[WIDTH][HEIGHT]

Definition at line 8 of file map.c.