From 4d4dae5cc3a2bf32421ad2d4255079eb1d731647 Mon Sep 17 00:00:00 2001 From: xHire Date: Sat, 23 May 2009 15:41:18 +0200 Subject: Rectified the coding style in client .h files --- src/client/interface.h | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) (limited to 'src/client/interface.h') 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 +#include +#include -# include -# include -# include +#include +#include +#include -# include -# include -# include -# include "main.h" +#include "main.h" #ifdef SUPPORT_OPENGL #include @@ -20,18 +19,18 @@ #include */ -# 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 */ -- cgit v1.2.3