mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
shadexfog.lua: in menu, move creation of debugging shade tables below DEBUG line.
BUILD_LUNATIC. git-svn-id: https://svn.eduke32.com/eduke32@4480 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b9b0b3f79b
commit
123906a9d7
1 changed files with 41 additions and 41 deletions
|
@ -653,47 +653,6 @@ number <palnum>.
|
|||
]]
|
||||
)
|
||||
|
||||
engine.registerMenuFunc(
|
||||
"Create depth shade tab",
|
||||
CreateMenuFunction{
|
||||
[0] = shadexfog.create_depth_shtab,
|
||||
{ "Pal number", 100, MAXUSERPALOOKUP },
|
||||
},
|
||||
|
||||
formatHelp
|
||||
[[
|
||||
<shadexfog.create_depth_shtab(palnum)>
|
||||
<____________________________________>
|
||||
|
||||
Creates a shade table for debugging purposes at pal <palnum>.
|
||||
|
||||
For every color index, the shade table maps shade index <i> to
|
||||
color index <i> (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
|
||||
[[
|
||||
<shadexfog.create_vismarker_shtab(palnum)>
|
||||
<________________________________________>
|
||||
|
||||
Creates a shade table for debugging purposes at pal <palnum>.
|
||||
|
||||
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
|
||||
[[
|
||||
<shadexfog.create_depth_shtab(palnum)>
|
||||
<____________________________________>
|
||||
|
||||
Creates a shade table for debugging purposes at pal <palnum>.
|
||||
|
||||
For every color index, the shade table maps shade index <i> to
|
||||
color index <i> (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
|
||||
[[
|
||||
<shadexfog.create_vismarker_shtab(palnum)>
|
||||
<________________________________________>
|
||||
|
||||
Creates a shade table for debugging purposes at pal <palnum>.
|
||||
|
||||
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
|
||||
[[
|
||||
|
|
Loading…
Reference in a new issue