huge weapon-code cleanup (buggy!), pch, demo fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1475 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-49
@@ -1,61 +1,13 @@
|
||||
#ifndef __CUBE_H__
|
||||
#define __CUBE_H__
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define gamma __gamma
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#undef gamma
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#ifdef WIN32
|
||||
#define strcasecmp(a,b) _stricmp(a,b)
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
#ifdef __GNUC__
|
||||
#include <new>
|
||||
#else
|
||||
#include <new.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include "windows.h"
|
||||
#define _WINDOWS
|
||||
#define ZLIB_DLL
|
||||
#endif
|
||||
|
||||
#ifndef STANDALONE
|
||||
#include <SDL.h>
|
||||
#include <SDL_image.h>
|
||||
|
||||
#define GL_GLEXT_LEGACY
|
||||
#define __glext_h__
|
||||
#define NO_SDL_GLEXT
|
||||
#include <SDL_opengl.h>
|
||||
#undef __glext_h__
|
||||
|
||||
#include "GL/glext.h"
|
||||
#endif
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
#include <enet/enet.h>
|
||||
|
||||
#include "tools.h"
|
||||
#include "geom.h"
|
||||
#include "world.h"
|
||||
#include "model.h"
|
||||
#include "protocol.h"
|
||||
#include "sound.h"
|
||||
#include "weapon.h"
|
||||
#include "entity.h"
|
||||
#include "command.h"
|
||||
#include "vote.h"
|
||||
|
||||
Reference in New Issue
Block a user