generated from 32blit/32blit-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
possum.hpp
50 lines (35 loc) · 1.63 KB
/
possum.hpp
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/****************************************************************************\
|* *|
|* possum.hpp - part of Possum, a Space Shooter game. *|
|* *|
|* Copyright (C) 2021 Pete Favelle <[email protected]> *|
|* *|
|* This file is released under the MIT License; see LICENSE for details. *|
|* *|
|* This header declares any system-wide constants and structures; class *|
|* declarations can be found in their own headers. *|
|* *|
\****************************************************************************/
#ifndef _POSSUM_HPP_
#define _POSSUM_HPP_
#include "32blit.hpp"
/* Constants and enums. */
/* Structures. */
/* Globals. Yes, I know. */
/*
* We only want to declare globals once, but extern them everywhere. This is
* and ancient technique from University days that will probably make modern
* programmers puke. Sorry!
*/
#ifndef _POSSUM_X
#define _POSSUM_X extern
#endif /* _POSSUM_X */
_POSSUM_X blit::Surface *g_ss_backgrounds;
_POSSUM_X blit::Surface *g_ss_characters;
_POSSUM_X blit::Surface *g_ss_UI;
_POSSUM_X blit::Surface *g_ss_misc;
_POSSUM_X blit::Surface *g_ss_projectiles;
_POSSUM_X blit::Surface *g_ss_ships;
/* Prototypes. */
#endif /* _POSSUM_HPP_ */
/* End of file possum.hpp */