2025-08-30 19:59 CEST

spring: develop 2058822c Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2007-07-13 04:44:23 develop 1b404d03
Changeset * Added CUnit::travel and CUnit::travelPeriod
  (accumulated unit distance and fmodf() control value)
* Added Spring.GetUnitTravel() and Spring.SetUnitTravel() lua call-outs
* Added the table format for lua material texture specification
* Removed hit sphere when drawing individual lua LOD'ed raw units
* Added 'shadowDensity' param to Spring.GetSun()
* Reset unit lod counts during team changes (was causing segvs)
* Inverted the /lodscale values
  (now '/lodscale 0' disables lod'ing, probably easier to remember)
* Fixed an old bug in CLuaUI::GetLuaCmdDescList()
  (and switched to the cleaner for loop parsing style)
* Changed to glPushAttrib()/glPopAttrib() for UnitDrawer.cpp/DrawBins()
  (the cloaked and reflection passes still are not properly handled)
* Changed some table.getn() calls to the lua 5.1 '#' syntax
* Added proper handling of engine fps rendering in gui_fps.lua
* Removed the comments from gui_hilight_unit.lua, and added unit IDs
  when META is pressed, and cheating is enabled (silly convenience)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3919 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/Widgets/camera_ctrl.lua Diff ] File ]
mod - game/LuaUI/Widgets/gui_fps.lua Diff ] File ]
mod - game/LuaUI/Widgets/gui_hilight_unit.lua Diff ] File ]
mod - game/LuaUI/Widgets/ico_customicons.lua Diff ] File ]
mod - game/LuaUI/actions.lua Diff ] File ]
mod - game/LuaUI/loadmodel.lua Diff ] File ]
mod - game/LuaUI/selector.lua Diff ] File ]
mod - game/LuaUI/widgets.lua Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.h Diff ] File ]
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedRead.h Diff ] File ]
mod - rts/Lua/LuaUnitRendering.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/ScriptMoveType.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.h Diff ] File ]