forked from Mirrors/openclonk
Editor: Add blit mode editor prop
parent
52d0525886
commit
dc9b948590
|
@ -21,6 +21,12 @@ func Definition(def)
|
|||
Visibility = { Type = "enum", Name = "$Visibility$", EditorHelp = "$VisibilityHelp$", Options = [ { Name="$Unknown$", Value=-1 }, { Name="$DefaultVisible$" }, { Name="$Visible$", Value=VIS_All }, { Name="$Invisible$", Value=VIS_None }, { Name="$EditorVisible$", Value=VIS_Editor } ] },
|
||||
PlayerColor = { Name="$PlayerColor$", EditorHelp="$PlayerColorHelp$", Type = "color", AsyncGet = "GetColor", Set = "SetColor" },
|
||||
ClrModulation = { Name="$ClrModulation$", EditorHelp="$ClrModulationHelp$", Type = "color", AsyncGet = "GetClrModulation", Set = "SetClrModulation" },
|
||||
BlitMode = { Name="$BlitMode$", EditorHelp="$BlitModeHelp$", Type = "enum", AsyncGet = "GetObjectBlitMode", Set = "SetObjectBlitMode", Options = [
|
||||
{ Name="$Unknown$", Value=-1 },
|
||||
{ Name="$Default$", Value=0 },
|
||||
{ Name="$Additive$", Value=GFX_BLIT_Additive|GFX_BLIT_Custom },
|
||||
{ Name="$Mod2$", EditorHelp="$Mod2Help$", Value=GFX_BLIT_Mod2|GFX_BLIT_Custom },
|
||||
{ Name="$Wireframe$", EditorHelp="$WireframeHelp$", Value=GFX_BLIT_Wireframe|GFX_BLIT_Custom } ] },
|
||||
Name = { Name="$Name$", Type = "string", AsyncGet = "GetName", Set = "SetName" },
|
||||
CustomInitializationScript = { Type = "string", Name = "$CustomInitialization$", EditorHelp = "$CustomInitializationHelp$" }
|
||||
};
|
||||
|
|
|
@ -29,3 +29,11 @@ ItemPlusParameterList=Gegenstaende
|
|||
Other=Sonstige
|
||||
Nothing=Nichts
|
||||
Liquid=Fluessigkeit
|
||||
BlitMode=Zeichenmodus
|
||||
BlitModeHelp=Mit welchem Zeichenoperator die Grafik des Objektes auf den Untergrund gezeichnet wird.
|
||||
Default=Standard
|
||||
Additive=Additiv
|
||||
Mod2=Additiv auf Quellfarbe
|
||||
Mod2Help=Addiert die Modulationsfarbe zur Objektfarbe minus 127.
|
||||
Wireframe=Drahtgittermodell
|
||||
WireframeHelp=Zeichnet nur die Raender eines 3D-Modells.
|
|
@ -29,3 +29,11 @@ ItemPlusParameterList=Items
|
|||
Other=Miscellaneous
|
||||
Nothing=Nothing
|
||||
Liquid=Liquid
|
||||
BlitMode=Blit mode
|
||||
BlitModeHelp=Paint operator to use when drawing graphics of this object.
|
||||
Default=Default
|
||||
Additive=Additive
|
||||
Mod2=Additive on source color
|
||||
Mod2Help=Adds the modulation color to the object color minus 128.
|
||||
Wireframe=Wireframe
|
||||
WireframeHelp=Paints only the model surface borders.
|
Loading…
Reference in New Issue