summaryrefslogtreecommitdiff
path: root/src/client/interface.h
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2008-10-25 14:11:06 +0200
committerxHire <xhire@tuxportal.cz>2008-10-25 14:11:06 +0200
commitc8a9209d77a896bf49227e5aeccd54e91ccf29cc (patch)
tree6b7367406ebbc6ce3ea5e0c8668c75f6fb3f6ae9 /src/client/interface.h
parentcb9deba915dd7b114eeb76601eb1c8b07c1ba90f (diff)
Changed style of the code to the K&R standard
Diffstat (limited to 'src/client/interface.h')
-rw-r--r--src/client/interface.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/client/interface.h b/src/client/interface.h
index 95bef25..b5df62a 100644
--- a/src/client/interface.h
+++ b/src/client/interface.h
@@ -1,33 +1,33 @@
#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 "main.h"
+# include <SDL.h>
+# include <SDL_image.h>
+# include <SDL_thread.h>
+# include "main.h"
/*
#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
+# 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
+# define INTERVAL 50
// velikost klavesoveho bufferu (ve znacich)
-#define KEYBOARD_BUFFER_SIZE 256
+# define KEYBOARD_BUFFER_SIZE 256
extern bool_t isInterfaceInicialized();
extern void enableKeyboardBuffer();