mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
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
This commit is contained in:
parent
b9b8e01e32
commit
b7e3f8cbc9
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue