-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuilding.h
More file actions
28 lines (23 loc) · 753 Bytes
/
building.h
File metadata and controls
28 lines (23 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* Atlantis v1.0 13 September 1993
* Copyright 1993 by Russell Wallace
*
* This program may be freely used, modified and distributed. It may not be
* sold or used commercially without prior written permission from the author.
*/
#ifndef ATL_BUILDING_H
#define ATL_BUILDING_H
typedef struct building {
int no;
char *name_;
char *display_;
int size;
int sizeleft;
} building;
struct building *create_building(int no);
void free_building(struct building *b);
const char * building_getname(const struct building *self);
void building_setname(struct building *self, const char *name);
const char * building_getdisplay(const struct building *self);
void building_setdisplay(struct building *self, const char *display);
#endif