aboutsummaryrefslogtreecommitdiff
path: root/src/game.h
blob: 6f0f5c1ebf64a0a06145e2cd9749e7de7d76405c (plain)
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
29
30
/*
 * game.h
 *
 * Game book-keeping
 *
 * (c) 2008 Thomas White <taw27@cam.ac.uk>
 *
 *  thrust3d - a silly game
 *
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef GAME_H
#define GAME_H

#include <gl.h>

#include "types.h"

extern void game_check_handoff(Game *game);
extern Game *game_new(int width, int height, GameOptions gameopts);
extern void game_shutdown(Game *game);
extern Room *game_find_room(Game *game, int rx, int ry, int rz);
extern void game_pause(Game *game);

#endif	/* GAME_H */