From c19aa8c19a58a9c90609cc8c053c40ca61faeb42 Mon Sep 17 00:00:00 2001 From: zicodxx <> Date: Fri, 21 Nov 2008 16:09:41 +0000 Subject: [PATCH] Increasing Render_depth to max. if OGL build (we probably should get rid of these variables, but may still be handy for non-3D-accellerated build optimisations) --- CHANGELOG.txt | 1 + main/render.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 568f9cbed..aed039a72 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -3,6 +3,7 @@ D1X-Rebirth Changelog 20081121 -------- main/game.c: Do not allow to restore games while player is dead... again - to much trouble right now +main/render.c: Increasing Render_depth to max. if OGL build (we probably should get rid of these variables, but may still be handy for non-3D-accellerated build optimisations) 20081120 -------- diff --git a/main/render.c b/main/render.c index 15b215509..f9ae0be8d 100644 --- a/main/render.c +++ b/main/render.c @@ -64,7 +64,11 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. #endif // (former) "detail level" values +#ifdef OGL +int Render_depth = MAX_RENDER_SEGS; //how many segments deep to render +#else int Render_depth = 20; //how many segments deep to render +#endif int Max_perspective_depth = 8; // Deepest segment at which perspective interpolation will be used. int Max_linear_depth = 50; // Deepest segment at which linear interpolation will be used. int Max_linear_depth_objects = 20;