2025-08-29 14:45 CEST

spring: develop f871d3a0 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2007-07-15 03:22:39 develop a8bb2e12
Changeset * Added 'allyBuildBox' color to cmdcolors.txt
  - allows you to see where allies have builds queued

* Added the Spring.DrawUnitCommands() call-out
  (can be used to render allied unit command queues)

* Replaced some legacy LuaUI calls:
  - UpdateLayout() -> Update()
  - DrawScreenItems() -> DrawScreen() -- rendered after all default UI elements
  - DrawWorldItems() -> DrawWorld()
  * No change required for widgets

* Added LuaUI Spring.GetActivePage() call-out
* Added LuaUI Spring.ForceLayoutUpdate() call-out

* Added the DrawScreenEffects() call-in
  - Run just after the world has been drawn, uses the same code as DrawScreen,
    good for doing fullscreen post-processing effects

* Added Spring.IsAABBInView() -- AABB = axis-aligned bounding box

* Made Spring.GetLastUpdateSeconds() available to all unsynced lua scripts



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3934 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/callins.lua Diff ] File ]
mod - game/LuaUI/main.lua Diff ] File ]
mod - game/LuaUI/widgets.lua Diff ] File ]
mod - game/cmdcolors.txt Diff ] File ]
mod - rts/Game/Camera.cpp Diff ] File ]
mod - rts/Game/Camera.h Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/Game.h Diff ] File ]
mod - rts/Game/SelectedUnits.cpp Diff ] File ]
mod - rts/Game/UI/CommandColors.cpp Diff ] File ]
mod - rts/Game/UI/CommandColors.h Diff ] File ]
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Game/UI/LuaUI.h Diff ] File ]
mod - rts/Game/UI/MiniMap.cpp Diff ] File ]
mod - rts/Lua/LuaCallInHandler.cpp Diff ] File ]
mod - rts/Lua/LuaCallInHandler.h Diff ] File ]
mod - rts/Lua/LuaHandle.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.h Diff ] File ]
mod - rts/Lua/LuaHandleSynced.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.h Diff ] File ]
mod - rts/Lua/LuaRules.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedCtrl.h Diff ] File ]
mod - rts/Lua/LuaUnsyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedRead.h Diff ] File ]