2025-08-22 08:29 CEST

spring: develop e3b72fec Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2006-11-08 20:56:06 develop 4fa88b8c
Changeset * Added all config params into Windows registry
  (as is done for the linux config file setup)

* Default to stencil buffer enabled

* Default to MiniMapFullProxy enabled

* Added ResizeEvent call to GameController

* Stopped immobile builders from locking on to repair targets outside of their range

* Put a 10ms delay into the PreGame loop to avoid 100% cpu

* Allow named loading for "cmdcolors.txt" and "ctrlpanel.txt"

* Added "resbar [0|1]" action to enable/disable the resource bar
* Added "tooltip [0|1]" action to enable/disable the tooltip window

* Added "InfoConsoleGeometry" config param for initial console placement (x, y, w, h)
* Added "TooltipGeometry" config param for initial tooltip placement (x, y, w, h)
* Added "TooltipOutlineFont" config param to enable outline fonts for the tooltips

* Only produce cursor error messages when a command can not be bound
  to a cursor, and not when a specific cursor file is missing

* Minimap
  - Tightened up the header file
  - Moved the inside buttons to the outside, and allow their size and texture to be specified
      "bitmaps/minimapbuttons.png" -- texture name
      MiniMapButtonSize=16 -- config param
  - Added "MiniMapDrawCommands" config param
  - Added "MiniMapUnitSize" config param
  - Added "MiniMapUnitExp" config param (exponent for growth)
  - Tied the minimap to the upper left corner when resizing
  - Switched to a GL transform based rendering style
  - Started using GL display lists for circles (need to finish it)
  - Using harmonic mean for unit size calcs

* LUA -- changed the config file name to "gui.lua"
  - Added callout LoadTextVFS("filename") -> string
  - Added callout DrawShape(GLprimType, "textureName", elementArray[])
  - Added callout DrawText("text", x, y [,size] [,optionsString])
  - Added callout SetShareLevel("type", level)
  - Added callins MouseMove(), MousePress(), MouseRelease()
    (these calls can be used to override the normal GuiHandler mouse handling)
  - Added callins DrawMapItems() & DrawScreenItems()



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2569 37977431-3df6-0310-b722-df95706aa16b
add - installer/builddata/springcontent/bitmaps/minimapbuttons.png Diff ] File ]
mod - rts/Game/CameraController.cpp Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/Game.h Diff ] File ]
mod - rts/Game/GameController.h Diff ] File ]
mod - rts/Game/PreGame.cpp Diff ] File ]
mod - rts/Game/SelectedUnits.cpp Diff ] File ]
mod - rts/Game/SelectedUnits.h Diff ] File ]
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
mod - rts/Game/UI/IconLayoutHandler.cpp Diff ] File ]
mod - rts/Game/UI/IconLayoutHandler.h Diff ] File ]
mod - rts/Game/UI/InfoConsole.cpp Diff ] File ]
mod - rts/Game/UI/InputReceiver.h Diff ] File ]
mod - rts/Game/UI/LuaState.cpp Diff ] File ]
mod - rts/Game/UI/MiniMap.cpp Diff ] File ]
mod - rts/Game/UI/MiniMap.h Diff ] File ]
mod - rts/Game/UI/MouseCursor.cpp Diff ] File ]
mod - rts/Game/UI/MouseHandler.cpp Diff ] File ]
mod - rts/Game/UI/OutlineFont.cpp Diff ] File ]
mod - rts/Game/UI/ResourceBar.cpp Diff ] File ]
mod - rts/Game/UI/ResourceBar.h Diff ] File ]
mod - rts/Game/UI/TooltipConsole.cpp Diff ] File ]
mod - rts/Game/UI/TooltipConsole.h Diff ] File ]
mod - rts/Sim/Units/CommandAI/BuilderCAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/LineDrawer.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/LineDrawer.h Diff ] File ]
mod - rts/System/Main.cpp Diff ] File ]
mod - rts/System/Platform/Win/RegHandler.cpp Diff ] File ]