- const-ified the palette pointers in the texture creation code.

- fixed includes.
This commit is contained in:
Christoph Oelckers 2020-04-11 19:08:22 +02:00
commit d586ffa79c
32 changed files with 37 additions and 37 deletions

View file

@ -28,7 +28,7 @@
#include "f_wipe.h"
#include "templates.h"
#include "textures/bitmap.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
class FBurnTexture : public FTexture
{
@ -41,7 +41,7 @@ public:
Height = h;
}
FBitmap GetBgraBitmap(PalEntry*, int *trans) override
FBitmap GetBgraBitmap(const PalEntry*, int *trans) override
{
FBitmap bmp;
bmp.Create(Width, Height);

View file

@ -28,7 +28,7 @@
#include "matrix.h"
#include "hwrenderer/scene//hw_drawstructs.h"
#include "hwrenderer/scene//hw_renderstate.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "c_cvars.h"
#include "r_defs.h"
#include "r_data/r_translate.h"

View file

@ -31,7 +31,7 @@
#include "c_cvars.h"
#include "doomtype.h"
#include "r_data/colormaps.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "gl_load/gl_interface.h"
#include "hwrenderer/utility/hw_cvars.h"

View file

@ -28,7 +28,7 @@
#include "gl/system/gl_debug.h"
#include "gl/renderer/gl_renderer.h"
#include "gl_samplers.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
namespace OpenGLRenderer
{

View file

@ -35,7 +35,7 @@
#include "g_levellocals.h"
#include "i_time.h"
#include "cmdlib.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "hwrenderer/data/buffers.h"
#include "hwrenderer/data/flatvertices.h"
#include "hwrenderer/scene/hw_drawinfo.h"

View file

@ -29,7 +29,7 @@
#include "a_sharedglobal.h"
#include "r_utility.h"
#include "g_levellocals.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "hwrenderer/utility/hw_cvars.h"
#include "hwrenderer/scene/hw_drawstructs.h"
#include "hwrenderer/scene/hw_drawinfo.h"

View file

@ -25,7 +25,7 @@
#include "hwrenderer/dynlights/hw_lightbuffer.h"
#include "hwrenderer/scene/hw_drawstructs.h"
#include "hwrenderer/scene/hw_drawinfo.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
EXTERN_CVAR(Bool, gl_seamless)

View file

@ -39,7 +39,7 @@
#include "hwrenderer/utility/hw_cvars.h"
#include "hwrenderer/utility/hw_clock.h"
#include "hwrenderer/utility/hw_lighting.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "hwrenderer/scene/hw_drawinfo.h"
#include "hwrenderer/data/flatvertices.h"
#include "hwrenderer/dynlights/hw_lightbuffer.h"

View file

@ -6,7 +6,7 @@
#include "hwrenderer/scene/hw_drawinfo.h"
#include "hwrenderer/scene/hw_drawstructs.h"
#include "hw_renderstate.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
struct HWSkyInfo

View file

@ -6,7 +6,7 @@
#include "hw_drawstructs.h"
#include "hw_drawlist.h"
#include "matrix.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
struct FColormap;
class IVertexBuffer;

View file

@ -32,7 +32,7 @@
#include "hwrenderer/scene/hw_drawstructs.h"
#include "hwrenderer/scene/hw_portal.h"
#include "hwrenderer/utility/hw_lighting.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
CVAR(Bool,gl_noskyboxes, false, 0)

View file

@ -63,7 +63,7 @@
#include "cmdlib.h"
#include "skyboxtexture.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "hw_skydome.h"
#include "hw_renderstate.h"
#include "hw_drawinfo.h"

View file

@ -52,7 +52,7 @@
#include "hwrenderer/utility/hw_cvars.h"
#include "hwrenderer/utility/hw_clock.h"
#include "hwrenderer/utility/hw_lighting.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "hwrenderer/dynlights/hw_dynlightdata.h"
#include "hwrenderer/dynlights/hw_lightbuffer.h"
#include "hw_renderstate.h"

View file

@ -32,7 +32,7 @@
#include "actorinlines.h"
#include "texturemanager.h"
#include "hwrenderer/dynlights/hw_dynlightdata.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "hwrenderer/utility/hw_cvars.h"
#include "hwrenderer/utility/hw_clock.h"
#include "hwrenderer/utility/hw_lighting.h"

View file

@ -38,7 +38,7 @@
#include "hwrenderer/models/hw_models.h"
#include "hwrenderer/dynlights/hw_dynlightdata.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "hwrenderer/utility/hw_lighting.h"
#include "hwrenderer/utility/hw_cvars.h"
#include "hwrenderer/scene/hw_drawinfo.h"

View file

@ -32,7 +32,7 @@
#include "actor.h"
#include "r_data/models/models.h"
#include "skyboxtexture.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "image.h"
#include "v_video.h"
#include "v_font.h"

View file

@ -25,7 +25,7 @@
#include "c_dispatch.h"
#include "v_video.h"
#include "hw_cvars.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "menu/menu.h"
#include "texturemanager.h"

View file

@ -23,7 +23,7 @@
#include "templates.h"
#include "c_cvars.h"
#include "r_data/colormaps.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "hwrenderer/utility/hw_cvars.h"
#include "hwrenderer/scene/hw_renderstate.h"
#include "poly_framebuffer.h"

View file

@ -8,7 +8,7 @@
#include "hwrenderer/scene/hw_drawstructs.h"
#include "hwrenderer/scene/hw_renderstate.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
struct HWViewpointUniforms;

View file

@ -26,7 +26,7 @@
*/
#include "hw_ihwtexture.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "swrenderer/r_renderer.h"
#include "r_swscene.h"
#include "filesystem.h"

View file

@ -10,7 +10,7 @@
#include "hwrenderer/scene/hw_drawstructs.h"
#include "hwrenderer/scene/hw_renderstate.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
class VkRenderPassSetup;
class VkTextureImage;

View file

@ -23,7 +23,7 @@
#include "templates.h"
#include "c_cvars.h"
#include "r_data/colormaps.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
#include "hwrenderer/utility/hw_cvars.h"
#include "hwrenderer/scene/hw_renderstate.h"
#include "vulkan/system/vk_objects.h"

View file

@ -28,7 +28,7 @@
#include "vulkan/system/vk_device.h"
#include "vulkan/system/vk_builders.h"
#include "vk_samplers.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
struct VkTexFilter
{