Headerguards

This commit is contained in:
Yamagi Burmeister 2010-10-27 13:24:41 +00:00
parent 44b65d8ab2
commit ec979fb4f5
5 changed files with 19 additions and 13 deletions

11
TODO
View file

@ -1,14 +1,3 @@
Allgemein:
- Die Makefile sollte komplett neu geschrieben werden.
- ====InitGame=== in allen Spielen ändern
Von Qsrc:
- cvar liste wie in q3a: http://web.archive.org/web/20061113110329/www.quakesrc.org/tutorials/old/18
- overbrightbits: http://web.archive.org/web/20061113110425/www.quakesrc.org/tutorials/old/28
- r_speeds umbauen: http://web.archive.org/web/20061113110521/www.quakesrc.org/tutorials/old/35
- Konsolentimestamps: http://web.archive.org/web/20061113110534/www.quakesrc.org/tutorials/old/36
- Stencil shadows tun nich?
- Header in unix/ und system/ mit Guards ausstatten
- Alle anderen auf Guards prüfen

View file

@ -24,6 +24,9 @@
* =======================================================================
*/
#ifndef CO_CMD_H
#define CO_CMD_H
#define MAX_ALIAS_NAME 32
#define ALIAS_LOOP_COUNT 16
@ -43,3 +46,5 @@ void Cmd_Echo_f (void);
void Cmd_Alias_f (void);
void Cmd_Wait_f (void);
#endif

View file

@ -24,4 +24,10 @@
* =======================================================================
*/
#ifndef UNIX_GLOB_H
#define UNIX_GLOB_H
int glob_match ( char *pattern, char *text );
#endif

View file

@ -24,8 +24,8 @@
* =======================================================================
*/
#ifndef __GLWINDOW_H__
#define __GLWINDOW_H__
#ifndef UNIX_GLWINDOW_H
#define UNIX_GLWINDOW_H
typedef struct
{
@ -36,3 +36,4 @@ typedef struct
extern glwstate_t glw_state;
#endif

View file

@ -25,6 +25,9 @@
* =======================================================================
*/
#ifndef UNIX_UNIX_H
#define UNIX_UNIX_H
typedef void ( *Key_Event_fp_t )( int key, qboolean down );
extern void ( *IN_Update_fp )( void );
@ -38,3 +41,5 @@ typedef struct in_state
int *in_speed_state;
} in_state_t;
#endif