From 6716a2a1bad0086999ce4206330735f666d07e70 Mon Sep 17 00:00:00 2001 From: slipher Date: Fri, 1 Nov 2024 17:36:18 -0500 Subject: [PATCH 1/2] Fix definition of SURF_HINT --- src/engine/qcommon/SurfaceFlags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/qcommon/SurfaceFlags.h b/src/engine/qcommon/SurfaceFlags.h index 4dc28666f5..e227c0bbca 100644 --- a/src/engine/qcommon/SurfaceFlags.h +++ b/src/engine/qcommon/SurfaceFlags.h @@ -85,7 +85,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define SURF_NOMARKS BIT( 5 ) // 0x20 // missile will explode, but no mark will be left #define SURF_SPLASH BIT( 6 ) // 0x40 // Q3 stores SURF_FLESH there; RTCW stores SURF_CERAMIC there; Wolf:ET stores SURF_SPLASH there #define SURF_NODRAW BIT( 7 ) // 0x80 // renderer will not draw this surface, q3map2 will not paint lightmap either -#define SURF_HINT BIT( 7 ) // 0x100 // q3map2 will split BSP using this surface +#define SURF_HINT BIT( 8 ) // 0x100 // q3map2 will split BSP using this surface #define SURF_SKIP BIT( 9 ) // 0x200 // ignore this surface, non-closed brushes can be made this way #define SURF_NOLIGHTMAP BIT( 10 ) // 0x400 // lightmap will not be painted on such surface #define SURF_POINTLIGHT BIT( 11 ) // 0x800 // sample lighting at vertexes From 1041d5fd0acb87dd55f8822436e9ce4795dfd437 Mon Sep 17 00:00:00 2001 From: slipher Date: Sat, 2 Nov 2024 12:28:51 -0500 Subject: [PATCH 2/2] cmake: Add missing header to sources list --- src.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/src.cmake b/src.cmake index d99c8f4747..bc1a1230b8 100644 --- a/src.cmake +++ b/src.cmake @@ -92,6 +92,7 @@ set(RENDERERLIST ${ENGINE_DIR}/renderer/gl_shader.cpp ${ENGINE_DIR}/renderer/gl_shader.h ${ENGINE_DIR}/renderer/iqm.h + ${ENGINE_DIR}/renderer/ShadeCommon.h ${ENGINE_DIR}/renderer/shaders.cpp ${ENGINE_DIR}/renderer/tr_animation.cpp ${ENGINE_DIR}/renderer/tr_backend.cpp