summaryrefslogtreecommitdiff
path: root/include/screen_world.h
blob: 3ce7cc7470037dc80643225a060fec59fc9ddc35 (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

#ifndef SCREEN_WORLD_H

#define SCREEN_WORLD_H

#include "main.h"
#include "tux.h"
#include "arena.h"

extern bool_t isScreenWorldInicialized();
extern void initWorld();
extern arena_t* getWorldArena();
extern void countRoundInc();
extern int conflictSpace(int x1,int y1,int w1,int h1,int x2,int y2,int w2,int h2);
extern int isFreeSpace(int x, int y, int w, int h);
extern void findFreeSpace(int *x, int *y, int w, int h);
extern void tuxControl(tux_t *p);
extern void drawWorld();
extern void eventWorld();
extern void startArena();
extern void stopArena();
extern void quitWorld();

#endif