remove igame.hh include from cube.hh

master
Daniel Kolesa 2020-07-29 04:39:41 +02:00
parent cb779c54e8
commit cf85ca8695
21 changed files with 21 additions and 2 deletions

View File

@ -10,6 +10,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
enum
{

View File

@ -7,6 +7,7 @@
#include "main.hh" // fatal, timings
#include <shared/cube.hh>
#include <shared/igame.hh>
hashnameset<ident> idents; // contains ALL vars/commands/aliases
vector<ident *> identmap;

View File

@ -8,6 +8,7 @@
#include "rendertext.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
static void resetcomplete();
static void complete(char *s, int maxlen, const char *cmdprefix);

View File

@ -7,6 +7,7 @@
#include "renderva.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
VARNP(dynlights, usedynlights, 0, 1, 1);
VARP(dynlightdist, 0, 1024, 10000);

View File

@ -12,6 +12,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
CVAR1R(ambient, 0x191919);
FVARR(ambientscale, 0, 1, 16);

View File

@ -20,6 +20,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
static SDL_Window *screen = NULL;
static int curvsync = -1;

View File

@ -10,6 +10,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
static const uchar fv[6][4] = // indexes for cubecoords, per each vert of a face orientation
{

View File

@ -17,6 +17,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
extern int outline;

View File

@ -17,6 +17,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
struct vboinfo
{

View File

@ -13,6 +13,8 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
#include "mpr.hh"
const int MAXCLIPOFFSET = 4;

View File

@ -21,6 +21,7 @@
#include "water.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
static vec minimapcenter(0, 0, 0), minimapradius(0, 0, 0), minimapscale(0, 0, 0);

View File

@ -18,6 +18,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
#define CHANGE_SHADERS 0

View File

@ -13,6 +13,7 @@
#include "texture.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
VAR(oqdynent, 0, 1, 1);
VAR(animationinterpolationtime, 0, 200, 1000);

View File

@ -17,6 +17,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
#if 0
void regular_particle_flame(int type, const vec &p, float radius, float height, int color, int density = 3, float scale = 2.0f, float speed = 200.0f, float fade = 600.0f, int gravity = -15);

View File

@ -16,6 +16,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
static inline void drawtris(GLsizei numindices, const GLvoid *indices, ushort minvert, ushort maxvert)
{

View File

@ -10,6 +10,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
struct stainvert
{

View File

@ -15,6 +15,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
#ifdef __APPLE__
#include "SDL2_image/SDL_image.h"

View File

@ -20,6 +20,7 @@
#include "world.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
VARNR(mapscale, worldscale, 1, 0, 0);
VARNR(mapsize, worldsize, 1, 0, 0);

View File

@ -14,6 +14,7 @@
#include "worldio.hh"
#include <shared/cube.hh>
#include <shared/igame.hh>
#define OCTAVERSION 33

View File

@ -3,6 +3,7 @@
#include <engine/main.hh>
#include <engine/octaedit.hh>
#include <engine/physics.hh>
#include <engine/texture.hh>
#include <engine/worldio.hh>
#include <engine/world.hh>

View File

@ -50,7 +50,5 @@
#include "glemu.hh"
#endif
#include "igame.hh"
#endif