remove light.hh include from engine.hh

master
Daniel Kolesa 2020-06-23 00:36:12 +02:00
parent f8f809ec92
commit 5e77f45273
12 changed files with 23 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#include "blend.hh"
#include "console.hh" /* conoutf */
#include "light.hh"
#include "octaedit.hh"
#include "rendergl.hh" /* has* */
#include "renderva.hh"

View File

@ -3,6 +3,5 @@
#include "cube.hh"
#include "world.hh"
#include "light.hh"
#endif

View File

@ -1,3 +1,5 @@
#include "light.hh"
#include "blend.hh"
#include "console.hh" /* conoutf */
#include "main.hh" // renderbackground, player

View File

@ -1,3 +1,13 @@
/* TODO: cleanup */
#ifndef ENGINE_LIGHT_HH
#define ENGINE_LIGHT_HH
#include <shared/tools.hh>
#include <shared/geom.hh>
#include "octa.hh"
struct PackNode
{
PackNode *child1, *child2;
@ -84,3 +94,4 @@ extern void check_calclight_canceled();
extern const vector<int> &checklightcache(int x, int y);
#endif

View File

@ -1,3 +1,4 @@
#include "light.hh"
#include "main.hh" // renderprogress
#include "octarender.hh"
#include "texture.hh"

View File

@ -3,6 +3,7 @@
#include "octa.hh"
#include "console.hh" /* conoutf */
#include "light.hh"
#include "main.hh" // renderprogress
#include "octaedit.hh"
#include "octarender.hh"

View File

@ -2,6 +2,7 @@
#include "blend.hh"
#include "console.hh" /* conoutf */
#include "light.hh"
#include "main.hh" // mainmenu, keyrepeat, renderedframe, player
#include "material.hh"
#include "octa.hh"

View File

@ -5,6 +5,7 @@
#include "blend.hh"
#include "console.hh" /* conoutf */
#include "grass.hh"
#include "light.hh"
#include "main.hh" // mainmenu, laodprogress
#include "material.hh"
#include "rendergl.hh"

View File

@ -2,6 +2,7 @@
#include "aa.hh"
#include "dynlight.hh"
#include "light.hh"
#include "main.hh" // initwarning
#include "material.hh"
#include "octaedit.hh" // editmode

View File

@ -1,4 +1,5 @@
#include "console.hh" /* conoutf */
#include "light.hh"
#include "octaedit.hh" // editmode
#include "octarender.hh"
#include "rendergl.hh"

View File

@ -4,6 +4,7 @@
#include "command.hh" // identflags
#include "console.hh" /* conoutf */
#include "light.hh"
#include "main.hh" // initwarning, loadprogress, renderprogress, screenw/h, renderedframe
#include "material.hh"
#include "octaedit.hh"

View File

@ -3,6 +3,7 @@
#include "blend.hh"
#include "command.hh"
#include "console.hh" /* conoutf */
#include "light.hh"
#include "main.hh" // clearmainmenu, player
#include "octa.hh"
#include "octaedit.hh"