summaryrefslogtreecommitdiff
path: root/src/strife/r_draw.c
diff options
context:
space:
mode:
authorSamuel Villareal2010-09-27 05:48:13 +0000
committerSamuel Villareal2010-09-27 05:48:13 +0000
commitfee277eb0a3bfee3000a6f2adb610ab0b274a917 (patch)
tree02fab7c5e42ba8b3422416c23a86fbe00cdc90b0 /src/strife/r_draw.c
parent2f326ebddc4f4de18909b557fa69fe74ac849e82 (diff)
downloadchocolate-doom-fee277eb0a3bfee3000a6f2adb610ab0b274a917.tar.gz
chocolate-doom-fee277eb0a3bfee3000a6f2adb610ab0b274a917.tar.bz2
chocolate-doom-fee277eb0a3bfee3000a6f2adb610ab0b274a917.zip
+ V_DrawXlaPatch added
+ xlatab lump loading handled in v_video.c + Pop up menus added in st_stuff (not completed still) Subversion-branch: /branches/strife-branch Subversion-revision: 2143
Diffstat (limited to 'src/strife/r_draw.c')
-rw-r--r--src/strife/r_draw.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/strife/r_draw.c b/src/strife/r_draw.c
index 79c571fe..bfe3470f 100644
--- a/src/strife/r_draw.c
+++ b/src/strife/r_draw.c
@@ -435,7 +435,7 @@ void R_DrawTRTLColumn(void)
// haleyjd 08/26/10: [STRIFE] - Rogue's translucency lookup table
// This is functionally equivalent to Raven's TINTTAB and BOOM's TRANMAPs.
-byte *xlatab;
+extern byte *xlatab;
//
// R_InitTranslationTables
@@ -465,7 +465,9 @@ void R_InitTranslationTables (void)
// just set the 2nd memset call's length to 0 bytes... Terrible. Since none
// of this accomplishes anything, and isn't strictly portable, all we need
// to do is this:
- xlatab = W_CacheLumpName("XLATAB", PU_STATIC);
+
+ // villsa [STRIFE] 09/26/10: load table through this function instead
+ V_LoadXlaTable();
// villsa [STRIFE] allocate a larger size for translation tables
translationtables = Z_Malloc (256*8, PU_STATIC, 0);