home
·
contact
·
privacy
projects
/
plomrogue
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Server/AI: Search for consumables if no urgent enemy matters.
[plomrogue]
/
src
/
common
/
map.h
1
/* src/common/map.h
2
*
3
* Game map.
4
*/
5
6
#ifndef MAP_H
7
#define MAP_H
8
9
#include <stdint.h> /* uint16_t */
10
11
12
13
struct Map
14
{
15
char * cells; /* sequence of bytes encoding map cells */
16
uint16_t length; /* map's edge length, i.e. both height and width */
17
};
18
19
20
21
#endif