Skip to content

Commit

Permalink
Add Floris' Player Color Palette widget
Browse files Browse the repository at this point in the history
Add color palette option to options menu
  • Loading branch information
ForbodingAngel committed Mar 7, 2017
1 parent 2840721 commit 1b7d0e6
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 294 deletions.
293 changes: 0 additions & 293 deletions LuaUI/Widgets_Evo/gui_common_colors.lua

This file was deleted.

2 changes: 1 addition & 1 deletion LuaUI/Widgets_Evo/gui_options.lua
Expand Up @@ -1020,7 +1020,7 @@ function widget:Initialize()
{id="fpstimespeed", name="Display FPS, GameTime and Speed", type="bool", value=tonumber(Spring.GetConfigInt("ShowFPS",1) or 1) == 1, description='Located at the top right of the screen\n\nIndividually toggle them with /fps /clock /speed'},

{id="snow", widget="Snow", name="Snow", type="bool", value=widgetHandler.orderList["Snow"] ~= nil and (widgetHandler.orderList["Snow"] > 0), description='Snows at winter maps, auto reduces amount when fps gets lower and unitcount higher\n\nUse /snow to toggle snow for current map (it remembers)'},
{id="teamcolors", widget="Common Team Colors", name="Team colors based on a palette", type="bool", value=widgetHandler.orderList["Common Team Colors"] ~= nil and (widgetHandler.orderList["Common Team Colors"] > 0), description='Replaces lobby team colors for a color palette based one\n\nNOTE: reloads all widgets because these need to update their teamcolors'},
{id="teamcolors", widget="Player Color Palette", name="Team colors based on a palette", type="bool", value=widgetHandler.orderList["Player Color Palette"] ~= nil and (widgetHandler.orderList["Player Color Palette"] > 0), description='Replaces lobby team colors for a color palette based one\n\nNOTE: reloads all widgets because these need to update their teamcolors'},

{id="camera", name="Camera", type="select", options={'fps','overhead','spring','rot overhead','free'}, value=(tonumber((Spring.GetConfigInt("CamMode",1)+1) or 2))},
}
Expand Down

0 comments on commit 1b7d0e6

Please sign in to comment.