From b7e3f8cbc96557fc63289271ceefe50b88024f20 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Mon, 22 Apr 2013 10:35:50 +0000 Subject: [PATCH] a.m32: add user variable 'override_basepal'. Set it to >=0 to override the base palette (water, slime, ...) in 3D mode. This can be useful to navigate Lameduke's underwater sections, since its LOOKUP.DAT only contains 8 lookup tables, but no other *base* palettes. Consequently, base palettes >=1 will make the whole screen black when Lameduke's LOOKUP.DAT is loaded into EDuke32 or Mapster32. git-svn-id: https://svn.eduke32.com/eduke32@3704 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/package/samples/a.m32 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/polymer/eduke32/package/samples/a.m32 b/polymer/eduke32/package/samples/a.m32 index 6a1e653d5..5e29819cf 100644 --- a/polymer/eduke32/package/samples/a.m32 +++ b/polymer/eduke32/package/samples/a.m32 @@ -40,6 +40,9 @@ gamevar showrespawn_always 0 0 // When set to 1, previewed sprites are 66% translucent instead of 33%: gamevar showrespawn_fulltrans 0 0 +// Set to basepal index to override +gamevar override_basepal -1 0 + gamevar move_by_one 0 0 // Polymer "head" light @@ -1188,6 +1191,9 @@ endevent onevent EVENT_KEYS3D var l m + ifvarge override_basepal 0 + setgamepalette override_basepal + // door sound tester ifeitherctrl ifeithershift ifaimingwall ifholdkey KEY_SPACE