diff --git a/polymer/eduke32/source/lunatic/test/shadexfog.lua b/polymer/eduke32/source/lunatic/test/shadexfog.lua index 15aae6709..a72887d05 100644 --- a/polymer/eduke32/source/lunatic/test/shadexfog.lua +++ b/polymer/eduke32/source/lunatic/test/shadexfog.lua @@ -653,47 +653,6 @@ number . ]] ) -engine.registerMenuFunc( - "Create depth shade tab", - CreateMenuFunction{ - [0] = shadexfog.create_depth_shtab, - { "Pal number", 100, MAXUSERPALOOKUP }, - }, - -formatHelp -[[ - -<____________________________________> - -Creates a shade table for debugging purposes at pal . - - For every color index, the shade table maps shade index to - color index (of the first ramp of gray colors, assuming Build - has loaded a base shade table with 32 shade levels). -]] -) - -engine.registerMenuFunc( - "Create vismarker sh. tab", - CreateMenuFunction{ - [0] = shadexfog.create_vismarker_shtab, - { "Pal number", 100, MAXUSERPALOOKUP }, - }, - -formatHelp -[[ - -<________________________________________> - -Creates a shade table for debugging purposes at pal . - - For every color index, the shade table maps shade index 1 to - a ^14bright yellow^O color and shade index 30 to a ^13purple^O color. - Thus, it can be useful in visualizing the limits of the - fog/visibility attenuation. -]] -) - engine.registerMenuFunc( "Create c.index remapping", function() @@ -886,6 +845,47 @@ entry. ]] ) +engine.registerMenuFunc( + "Create depth shade tab", + CreateMenuFunction{ + [0] = shadexfog.create_depth_shtab, + { "Pal number", 100, MAXUSERPALOOKUP }, + }, + +formatHelp +[[ + +<____________________________________> + +Creates a shade table for debugging purposes at pal . + + For every color index, the shade table maps shade index to + color index (of the first ramp of gray colors, assuming Build + has loaded a base shade table with 32 shade levels). +]] +) + +engine.registerMenuFunc( + "Create vismarker sh. tab", + CreateMenuFunction{ + [0] = shadexfog.create_vismarker_shtab, + { "Pal number", 100, MAXUSERPALOOKUP }, + }, + +formatHelp +[[ + +<________________________________________> + +Creates a shade table for debugging purposes at pal . + + For every color index, the shade table maps shade index 1 to + a ^14bright yellow^O color and shade index 30 to a ^13purple^O color. + Thus, it can be useful in visualizing the limits of the + fog/visibility attenuation. +]] +) + engine.registerMenuFunc("Linearize default basep.", engine.linearizeBasePal, formatHelp [[