-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSLevel.h
More file actions
34 lines (25 loc) · 706 Bytes
/
SLevel.h
File metadata and controls
34 lines (25 loc) · 706 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
29
30
31
32
33
34
/*******************************************************************************
CommanderTux
Penguin In Space
Released under the GNU Public License
2005 by André Schnabel (thefrogs@web.de)
*******************************************************************************/
// SLevel.h
#ifndef SLEVEL_H
#define SLEVEL_H
#include "Defines.h"
// Level structure. Holds all the data saved in the *.ctux level files.
struct SLevel
{
int content[LVL_H_MAX][LVL_W_MAX];
SLevel()
{
int i, j;
for( i=0; i<LVL_H_MAX; i++ )
{
for( j=0; j<LVL_W_MAX; j++ )
content[i][j] = TILE_EMPTY;
}
}
};
#endif