spring: develop 1275421f | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
trepan | trepan | develop | 2008-05-18 04:13:53 | develop 87e30f01 |
Changeset | * Added the following LuaSyncedCtrl call-outs: - SetUnitLosMask(unitID, allyTeamID, number | table) -> nil - SetUnitLosState(unitID, allyTeamID, number | table) -> nil - If a mask bit is enabled, than the engine will not update the corresponding state bit (think of them as 'lock' bits) - If a table is used, entries should be of the form: { string = boolean } -- 'false' to clear, 'true' to set ex: SetUnitLosState(3, 2, { los = true, radar = false }) - The valid strings are 'los', 'radar', 'prevLos', and 'contRadar' prevLos: previous LOS contRadar: continuous radar (since prevLos contact) *** These 2 dictate whether or not a unit type is known * Replaced LOS_INTEAM with the LOS_xxx_MASK bits * Changed the losStatus array from 'int' to 'unsigned short' * Minimap and UnitDrawer now rely on the losStatus for unit visibility, and do not take the allyTeam shortcut * Added the 'customParams' table to both featureDefs and weaponDefs (accessible via the lua FeatureDefs and WeaponDefs' tables) * Did some indent/whitespace clean-up in Game.cpp * Globally replaced s/Recieve/Receive git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5907 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - rts/ExternalAI/AICallback.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/CameraHandler.h | [ Diff ] [ File ] | |||
mod - rts/Game/Console.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/Console.h | [ Diff ] [ File ] | |||
mod - rts/Game/Game.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/Game.h | [ Diff ] [ File ] | |||
mod - rts/Game/GameServer.h | [ Diff ] [ File ] | |||
mod - rts/Game/PreGame.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/PreGame.h | [ Diff ] [ File ] | |||
mod - rts/Game/UI/KeyBindings.h | [ Diff ] [ File ] | |||
mod - rts/Game/UI/MiniMap.cpp | [ Diff ] [ File ] | |||
mod - rts/Lua/LuaFeatureDefs.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/LuaWeaponDefs.cpp | [ Diff ] [ File ] | |||
mod - rts/Rendering/UnitModels/UnitDrawer.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Features/FeatureDef.h | [ Diff ] [ File ] | |||
mod - rts/Sim/Features/FeatureHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Misc/LosHandler.h | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/COB/CobInstance.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/Unit.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/Unit.h | [ Diff ] [ File ] | |||
mod - rts/Sim/Weapons/WeaponDefHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Weapons/WeaponDefHandler.h | [ Diff ] [ File ] | |||
mod - rts/System/AutohostInterface.h | [ Diff ] [ File ] | |||
mod - rts/System/Net/Connection.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Net/Connection.h | [ Diff ] [ File ] | |||
mod - rts/System/Net/LocalConnection.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Net/Net.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Net/Net.h | [ Diff ] [ File ] | |||
mod - rts/System/Net/Test/main.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Net/UDPConnectedSocket.h | [ Diff ] [ File ] | |||
mod - rts/System/Net/UDPConnection.cpp | [ Diff ] [ File ] | |||
mod - rts/System/NetProtocol.h | [ Diff ] [ File ] |