Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong SURF_HINT definition #1410

Merged
merged 2 commits into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/engine/qcommon/SurfaceFlags.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down