- const-ified the palette pointers in the texture creation code.
- fixed includes.
This commit is contained in:
parent
65f15e1147
commit
d586ffa79c
32 changed files with 37 additions and 37 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue