home
·
contact
·
privacy
projects
/
plomrogue
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Ensure that multiple inanimate objects on a map cell are always treated as a
[plomrogue]
/
src
/
common
/
map.h
1
/* src/common/map.h
2
*
3
* Struct for the game map.
4
*/
5
6
#ifndef MAP_H
7
#define MAP_H
8
9
#include "yx_uint16.h" /* yx_uint16 struct */
10
11
12
13
struct Map
14
{
15
struct yx_uint16 size; /* map's height/width in number of cells */
16
char * cells; /* sequence of bytes encoding map cells */
17
};
18
19
20
21
#endif