summaryrefslogtreecommitdiff
path: root/include/arena.h
blob: c5f34b4e06d5bddd92fc4df586a77944159ea6a9 (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
31

#ifndef ARENA_H

#define ARENA_H

#include "main.h"
#ifndef BUBLIC_SERVER
#include "interface.h"
#endif
#include "list.h"

typedef struct arena_struct
{
#ifndef BUBLIC_SERVER
	char music[STR_SIZE];

	SDL_Surface *background;
#endif

	list_t *listTux;
	list_t *listShot;
	list_t *listWall;
	list_t *listItem;
	list_t *listTeleport;
	list_t *listPipe;
} arena_t;

extern arena_t* newArena();
extern void destroyArena(arena_t *p);

#endif