mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
Cleaned up #include's in dynamic lights code
This commit is contained in:
parent
671736ecdc
commit
3212da8fcf
5 changed files with 3 additions and 34 deletions
|
@ -55,26 +55,14 @@
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "templates.h"
|
|
||||||
#include "m_random.h"
|
|
||||||
#include "p_local.h"
|
|
||||||
#include "c_dispatch.h"
|
#include "c_dispatch.h"
|
||||||
#include "g_level.h"
|
|
||||||
#include "thingdef.h"
|
#include "thingdef.h"
|
||||||
#include "i_system.h"
|
|
||||||
#include "templates.h"
|
|
||||||
#include "doomdata.h"
|
|
||||||
#include "r_utility.h"
|
#include "r_utility.h"
|
||||||
#include "p_local.h"
|
|
||||||
#include "portal.h"
|
|
||||||
#include "doomstat.h"
|
#include "doomstat.h"
|
||||||
#include "serializer.h"
|
#include "serializer.h"
|
||||||
#include "g_levellocals.h"
|
#include "g_levellocals.h"
|
||||||
#include "a_dynlight.h"
|
#include "a_dynlight.h"
|
||||||
#include "actorinlines.h"
|
#include "actorinlines.h"
|
||||||
#include "c_cvars.h"
|
|
||||||
#include "gl/system//gl_interface.h"
|
|
||||||
#include "vm.h"
|
|
||||||
|
|
||||||
|
|
||||||
CUSTOM_CVAR (Bool, gl_lights, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
CUSTOM_CVAR (Bool, gl_lights, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
EXTERN_CVAR(Bool, gl_lights)
|
EXTERN_CVAR(Bool, gl_lights)
|
||||||
EXTERN_CVAR(Bool, gl_attachedlights)
|
EXTERN_CVAR(Bool, gl_attachedlights)
|
||||||
|
|
||||||
|
struct side_t;
|
||||||
|
struct seg_t;
|
||||||
|
|
||||||
class ADynamicLight;
|
class ADynamicLight;
|
||||||
class FSerializer;
|
class FSerializer;
|
||||||
|
|
||||||
|
|
|
@ -26,12 +26,7 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "gl/system/gl_system.h"
|
#include "gl/system/gl_system.h"
|
||||||
#include "c_dispatch.h"
|
|
||||||
#include "p_local.h"
|
|
||||||
#include "vectors.h"
|
|
||||||
#include "g_level.h"
|
|
||||||
#include "actorinlines.h"
|
#include "actorinlines.h"
|
||||||
#include "a_dynlight.h"
|
|
||||||
|
|
||||||
#include "hw_dynlightdata.h"
|
#include "hw_dynlightdata.h"
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#ifndef __GLC_DYNLIGHT_H
|
#ifndef __GLC_DYNLIGHT_H
|
||||||
#define __GLC_DYNLIGHT_H
|
#define __GLC_DYNLIGHT_H
|
||||||
|
|
||||||
#include "c_cvars.h"
|
|
||||||
#include "a_dynlight.h"
|
#include "a_dynlight.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -33,25 +33,9 @@
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <ctype.h>
|
|
||||||
#include "i_system.h"
|
|
||||||
#include "doomtype.h"
|
|
||||||
#include "c_cvars.h"
|
|
||||||
#include "c_dispatch.h"
|
|
||||||
#include "m_random.h"
|
|
||||||
#include "sc_man.h"
|
|
||||||
#include "templates.h"
|
|
||||||
#include "w_wad.h"
|
|
||||||
#include "gi.h"
|
|
||||||
#include "r_state.h"
|
#include "r_state.h"
|
||||||
#include "stats.h"
|
|
||||||
#include "zstring.h"
|
|
||||||
#include "d_dehacked.h"
|
|
||||||
#include "v_text.h"
|
|
||||||
#include "g_levellocals.h"
|
#include "g_levellocals.h"
|
||||||
#include "a_dynlight.h"
|
#include "a_dynlight.h"
|
||||||
#include "textures/skyboxtexture.h"
|
|
||||||
|
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue