2025-08-24 12:54 CEST

spring: develop 21d21c6f Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2007-10-27 05:02:27 develop d440fb17
Changeset * Added the 'bonusShieldEnabled' unitDef parameter (defaults to true)
  (this should be removed when/if lurker adds his flanking shield
   improvements)

* Added the BlockShot#(unitID, block) COB call-in

* /quit will now quit immediately if you are the only active player
  (as well as the obvious, this is also useful for quitting from LuaUI
   scripts instead of using the -q command line option)

* Changed '/grabinput' to '/grabinput [0|1]', and added state reporting

* Replaced unitsType with unitsByDefs (in CUnitHandler)

* Changed the CUnitDefHandler::decoyMap to map<int, set<int>>
  (so that it can be used directly for synced ordered data reads)

* Moved LocalS3DO and LocalS3DOModel functions into 3DModelParser.cpp

* Added the 'decloakSpherical' unitDef tag (defaults to true)

* Added the cob GET/SET STEALTH command (96)

* Added some crash protection to CInMapDraw::GotNetMsg()

* Renamed cmdDesc iconname -> texture for LuaUI LayoutButtons() input
* Renamed cmdDesc mouseicon -> cursor for LuaUI LayoutButtons() input

* Changed the cmdDesc double texture format to:
    '&<xscale>x<yscale>&<tex1>&<tex2>'
  (both textures can use either the named textures or '#<unitDefID>' format)
* Updated LuaUI/layout.lua to use the new double-texture format

* Fixed a 'bad team' segv in Spring.CreateUnit()

* Allowed for rectangle texture lua FBO color attachments

* Added the Spring.RequestPath() lua call-out
  - RequestPath(<number moveID | string moveName>,
      startX, startY, startZ, endX, endY, endZ [, goalRadius]) -> nil | path
  - it returns a lua userdata or nil
  - the userdata has the following calls:
    path:Next([currX, currY, currZ[, minDist]]) -> nil | x, y, z
    path:GetEstimatedPath() ->
            {[1] = {x,y,z}, [2] = {x,y,z}, etc... }, -- waypoints
      {[1] = index, [2] = index, etc... } -- resolution start points
* Added Spring.GetUnitEstimatedPath() -- same return as path:GetEstimatedPath()
* Added GetEstimatedPoints() to CPathManager

* Added the NETMSG_LUAMSG net packet type
* Added the following calls to LuaUI:
    Spring.SendLuaUIMsg(msg [,mode = ''|'a'|'allies'|'s'|'specs'])
    Spring.SendLuaCobMsg(msg)
    Spring.SendLuaGaiaMsg(msg)
    Spring.SendLuaRulesMsg(msg)
* Added the RecvLuaMsg(msg, playerID) call-in to all lua scripts

* Added client side network traffic tallying (per packet type)
* Added the Spring.GetPlayerTraffic() LuaUI call-out

* Added the gl.UnitMultMatrix() lua call-out
* Added the gl.UnitPieceMultMatrix() lua call-out
* Added the gl.EdgeFlag() lua call-out

* Added 'AIDLL=LuaAI:' -> CTeam::luaAI handling for LuaAI
* Added the Spring.GetTeamLuaAI() lua call-out

* Added the Spring.GetCameraFOV() lua call-out
* Added the Spring.GetCameraDirection() lua call-out

* Added the AICallIn() LuaRules unsynced call-in (for CallLuaRules())
* Added CallLuaRules() to CAICallback

* Added the DrawUnit() LuaRules unsynced call-in (for SetUnitLuaDraw())
* Added the Spring.SetUnitLuaDraw() LuaRules call-out

* Added the GameFrame() call-in to LuaUI

* Added the Spring.SetDrawSky() lua call-out
* Added the Spring.SetDrawWater() lua call-out
* Added the Spring.SetDrawGroud() lua call-out

* Added the weaponID to the lua UnitDamaged() for fullRead scripts


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4630 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/layout.lua Diff ] File ]
mod - game/LuaUI/widgets.lua Diff ] File ]
mod - game/teamcolors.lua Diff ] File ]
mod - rts/ExternalAI/AICallback.cpp Diff ] File ]
mod - rts/ExternalAI/AICallback.h Diff ] File ]
mod - rts/ExternalAI/GlobalAIHandler.cpp Diff ] File ]
mod - rts/ExternalAI/IAICallback.h Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/Game.h Diff ] File ]
mod - rts/Game/GameHelper.cpp Diff ] File ]
mod - rts/Game/GameHelper.h Diff ] File ]
mod - rts/Game/GameServer.cpp Diff ] File ]
mod - rts/Game/GameSetup.cpp Diff ] File ]
mod - rts/Game/GameSetup.h Diff ] File ]
mod - rts/Game/Team.cpp Diff ] File ]
mod - rts/Game/Team.h Diff ] File ]
mod - rts/Game/UI/GuiHandler.cpp 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/Game/UI/MouseCursor.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/LuaHandleSynced.h Diff ] File ]
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.h Diff ] File ]
add - rts/Lua/LuaPathFinder.cpp Diff ] File ]
add - rts/Lua/LuaPathFinder.h Diff ] File ]
mod - rts/Lua/LuaRules.cpp Diff ] File ]
mod - rts/Lua/LuaRules.h Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedRead.h Diff ] File ]
mod - rts/Lua/LuaTODO.txt Diff ] File ]
mod - rts/Lua/LuaTextures.cpp Diff ] File ]
mod - rts/Lua/LuaUnitDefs.cpp Diff ] File ]
mod - rts/Lua/LuaUnitRendering.cpp Diff ] File ]
mod - rts/Lua/LuaUnitRendering.h 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 ]
mod - rts/Map/Ground.cpp Diff ] File ]
mod - rts/Map/Ground.h Diff ] File ]
mod - rts/Rendering/Env/AdvWater.cpp Diff ] File ]
mod - rts/Rendering/Env/DynWater.cpp Diff ] File ]
mod - rts/Rendering/InMapDraw.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/3DModelParser.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/3DModelParser.h Diff ] File ]
mod - rts/Rendering/UnitModels/3DOParser.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/MoveInfo.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/MoveInfo.h Diff ] File ]
mod - rts/Sim/Path/IPath.h Diff ] File ]
mod - rts/Sim/Path/PathFinder.h Diff ] File ]
mod - rts/Sim/Path/PathManager.cpp Diff ] File ]
mod - rts/Sim/Path/PathManager.h Diff ] File ]
mod - rts/Sim/Units/COB/CobFile.cpp Diff ] File ]
mod - rts/Sim/Units/COB/CobFile.h Diff ] File ]
mod - rts/Sim/Units/COB/CobInstance.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/BuilderCAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/FactoryCAI.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.h Diff ] File ]
mod - rts/Sim/Units/UnitDef.h Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.h Diff ] File ]
mod - rts/Sim/Units/UnitHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitHandler.h Diff ] File ]
mod - rts/Sim/Units/UnitLoader.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.h Diff ] File ]
mod - rts/System/BaseNetProtocol.cpp Diff ] File ]
mod - rts/System/BaseNetProtocol.h Diff ] File ]
mod - rts/System/LoadSaveHandler.cpp Diff ] File ]
mod - rts/System/Matrix44f.cpp Diff ] File ]
mod - rts/System/Object.h Diff ] File ]
mod - rts/System/Script/LuaFunctions.cpp Diff ] File ]
mod - tools/unitsync/javabind.cpp Diff ] File ]