2025-09-15 00:36 CEST

spring: develop bef06a85 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2006-09-14 07:01:25 develop 500e53a2
Changeset * Added 'aspectRatio' variable to GlobalUnsynced (screenx/screeny)

* Removed the fixed size curricon array
* Added the "ctrlpanel.txt" configurability to GuiHandler
  - position
  - cell counts
  - cell dimensions
  - cell border width
  - frame border width
  - paging button slots
  - a 'dead' icon slot (used for page number, needs a rename)
  - "Selected units: ..." text location
  - outlineFont usage (affects InfoConsole as well)

* Allowed factory build actions to specify the quantity (+5, +20, +100, -1, -5, -20, -100)
* Added "ctrlpanel" action
* Made icon text use aspectRatio
* Limited active page switching to a reasonable command set
* Removed all file local (static) variables from GuiHandler
* Protected the variables in GuiHandler that did not need to be public

* Added the OutlineFont option (configured in "ctrlpanel.txt")

* Changed the tooltip and infoConsole to use the global GUI translucency value

* Clamped the Minimap to the screen edges while moving it

* Removed "Any+j mouse2" default keybinding
* Copied the Ctrl+enter keybindings to Ctrl+j (aka: Ctrl+Enter on windows)

* Moved the direct control unit rendering away from the tooltip box
* Adjusted the direct control rendering for the aspect ratio
* Changed the direct control hud rendering to use standard blending
  (this mode works better for bright scenes, and looks fine for dark ones)
* Used a little less alpha when drawing direct control text messages

* Moved the some common parsing routines into SimpleParser


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2167 37977431-3df6-0310-b722-df95706aa16b
mod - Documentation/changelog.txt Diff ] File ]
mod - game/uikeys.txt Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/UI/CommandColors.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
mod - rts/Game/UI/InfoConsole.cpp Diff ] File ]
mod - rts/Game/UI/InfoConsole.h Diff ] File ]
mod - rts/Game/UI/KeyBindings.cpp Diff ] File ]
mod - rts/Game/UI/MiniMap.cpp Diff ] File ]
add - rts/Game/UI/OutlineFont.cpp Diff ] File ]
add - rts/Game/UI/OutlineFont.h Diff ] File ]
add - rts/Game/UI/SimpleParser.cpp Diff ] File ]
add - rts/Game/UI/SimpleParser.h Diff ] File ]
mod - rts/Game/UI/TooltipConsole.cpp Diff ] File ]
mod - rts/System/GlobalStuff.cpp Diff ] File ]
mod - rts/System/GlobalStuff.h Diff ] File ]
mod - rts/System/Main.cpp Diff ] File ]