spring: develop 9cb5785a | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
trepan | trepan | develop | 2006-09-09 15:49:20 | develop 261afe33 |
Changeset | * Made the command queue and map indicator rendering configurable: - settings are loaded from "cmdcolors.txt" - sane defaults are used if "cmdcolors.txt" is not available, and for any parameters not specified by the file - colors are assigned to commands in a floating point RGBA format - separate blending modes can be assigned to the command queue rendering and the indicators for the highlighted units - blending specification is done via standard OpenGL src and dst labels - a new command queue rendering mode was added (useColorRestarts). It resets the color at the beginning of every line to show its direction - the reset color used for useColorRestarts can be explicitly assigned, or be based on the command color (with a scaling term for the alpha value) * Fixed the loss of blending state in BuilderCAI and GuiHandler git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2125 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - rts/Game/Game.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/SelectedUnits.cpp | [ Diff ] [ File ] | |||
add - rts/Game/UI/CommandColors.cpp | [ Diff ] [ File ] | |||
add - rts/Game/UI/CommandColors.h | [ Diff ] [ File ] | |||
mod - rts/Game/UI/GuiHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/CommandAI/AirCAI.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/CommandAI/BuilderCAI.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/CommandAI/CommandAI.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/CommandAI/FactoryCAI.cpp | [ Diff ] [ File ] | |||
add - rts/Sim/Units/CommandAI/LineDrawer.cpp | [ Diff ] [ File ] | |||
add - rts/Sim/Units/CommandAI/LineDrawer.h | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/CommandAI/MobileCAI.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/CommandAI/TransportCAI.cpp | [ Diff ] [ File ] |