diff options
Diffstat (limited to 'src/client/interface.h')
| -rw-r--r-- | src/client/interface.h | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/src/client/interface.h b/src/client/interface.h index 304e29c..2fd23e9 100644 --- a/src/client/interface.h +++ b/src/client/interface.h @@ -1,16 +1,15 @@ - #ifndef INTERFACE_H +#define INTERFACE_H -# define INTERFACE_H +#include <stdio.h> +#include <string.h> +#include <time.h> -# include <stdio.h> -# include <string.h> -# include <time.h> +#include <SDL.h> +#include <SDL_image.h> +#include <SDL_thread.h> -# include <SDL.h> -# include <SDL_image.h> -# include <SDL_thread.h> -# include "main.h" +#include "main.h" #ifdef SUPPORT_OPENGL #include <SDL_opengl.h> @@ -20,18 +19,18 @@ #include <SDL_net.h> */ -# define SDL_SUBSYSTEMS SDL_INIT_VIDEO|SDL_INIT_TIMER +#define SDL_SUBSYSTEMS SDL_INIT_VIDEO|SDL_INIT_TIMER -// windows title -# define WINDOW_TITLE "Tuxánci " TUXANCI_VERSION -# define WIN_BPP 0 -# define USR_EVT_TIMER 0 +/* the window title */ +#define WINDOW_TITLE "Tuxánci " TUXANCI_VERSION +#define WIN_BPP 0 +#define USR_EVT_TIMER 0 -// interval (in ms) of triggering akcia(); -# define INTERVAL 50 +/* timing of the timer [in ms] */ +#define INTERVAL 50 -// velikost klavesoveho bufferu (ve znacich) -# define KEYBOARD_BUFFER_SIZE 256 +/* size of the keyboard buffer (in characters) */ +#define KEYBOARD_BUFFER_SIZE 256 extern bool_t interface_is_inicialized(); extern bool_t interface_is_use_open_gl(); @@ -46,4 +45,4 @@ extern void interface_refresh(); extern void interface_event(); extern void interface_quit(); -#endif +#endif /* INTERFACE_H */ |