summaryrefslogtreecommitdiff
path: root/include/main.h
blob: ea3d7031e993784a4562310a839bf11b288cd3c8 (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 MAIN_H

#define MAIN_H

#include "../config.h"

#if defined PUBLIC_SERVER

#undef DESTDIR
#undef SUPPORT_NET_SDL_UDP
#define SUPPORT_NET_UNIX_UDP

#endif

#include "bool.h"
#include "string_length.h"
#include "path.h"

//rozlisenie obrazovky
#define WINDOW_SIZE_X 800
#define WINDOW_SIZE_Y 600

extern char* getParam(char *s);
extern char* getParamElse(char *s1, char *s2);
extern bool_t isParamFlag(char *s);
extern char *getString(int n);
extern int* newInt(int x);
extern void accessExistFile(const char *s);

#endif