2025-08-25 04:06 CEST

Changesets: spring

Search ] Browse ] Back to Index ]
develop 61354c60
Timestamp: 2008-05-24 17:09:46
Author: trepan
Details ] Diff ]
- a little more cleanup for CIconHandler



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5925 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Rendering/IconHandler.cpp Diff ] File ]
mod - rts/Rendering/IconHandler.h Diff ] File ]
develop 0e8273f5
Timestamp: 2008-05-24 16:56:16
Author: trepan
Details ] Diff ]
- cleaned up CIconHandler and friends (cleaner / safer)

- added the 'distdraw' and 'disticon' commands
disticon: sets UnitIconDist dynamically
distdraw: sets UnitLodDist dynamically



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5924 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/WordCompletion.cpp Diff ] File ]
mod - rts/Rendering/Icon.h Diff ] File ]
mod - rts/Rendering/IconHandler.cpp Diff ] File ]
mod - rts/Rendering/IconHandler.h Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.h Diff ] File ]
develop 9af579c1
Timestamp: 2008-05-24 14:55:54
Author: trepan
Details ] Diff ]
- updated IconHandler to load from 'gamedata/icontypes.lua'
- added the 'gamedata/icontypes.lua' file
- removed the 'usericons.tdf' file
- added the following LuaUnsyncedCtrl call-outs:
AddUnitIcon(string name, string texture
[, number size[, number distance[, bool radiusAdjust]]])
FreeUnitIcon(string name)
- added 'distSqr' into CIconData to avoid (d * d) dynamic calcs
- replaced the UnitDef 'string iconType' with a refCounted
pointer to a CIconData. This avoids the map search that
was required to draw the icons
NOTE: for even better performance, you'd probably want to
generate a texture atlas, and change CIconData so
that it could use a raw texture or the texture atlas
(icons known at startup would go into the atlas)
The CIconData class is already setup with its
Draw() calls...
- made UnitDef::iconType 'mutable' (less of tvo's HACK HACK)
- updated ico_customicons.lua

- changed FLOZi's sideData LuaParser commit to avoid the side
string numbering (legacy format based on a TDF deficiency)
- changed SideData 'commander' tag to 'startUnit'
(and all related code uses startUnit now as well, less
confusion with respect to the unitDef isCommander tag)

- added a LuaParser constructor to load from a text chunk
- added a parse_tdf.lua call to load from a text chunk

- locked the reload and disable commands (for luaRules and luaGaia),
to the host player (actually, player 0 -- be it man or machine)



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5923 37977431-3df6-0310-b722-df95706aa16b
mod - AI/Global/NTai/AI/NTai/Agents/CManufacturer.cpp Diff ] File ]
mod - game/LuaUI/Widgets/ico_customicons.lua Diff ] File ]
rm - game/usericons.tdf Diff ] File ]
add - installer/builddata/springcontent/gamedata/icontypes.lua Diff ] File ]
mod - installer/builddata/springcontent/gamedata/parse_tdf.lua Diff ] File ]
mod - installer/builddata/springcontent/gamedata/sidedata.lua Diff ] File ]
mod - installer/make_luaui_nsh.py Diff ] File ]
mod - installer/sections/luaui.nsh Diff ] File ]
mod - rts/ExternalAI/AICallback.cpp Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/StartScripts/CommanderScript.cpp Diff ] File ]
mod - rts/Game/StartScripts/CommanderScript2.cpp Diff ] File ]
mod - rts/Game/StartScripts/GlobalAITestScript.cpp Diff ] File ]
mod - rts/Game/StartScripts/SpawnScript.cpp Diff ] File ]
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Game/UI/MiniMap.cpp Diff ] File ]
mod - rts/Game/UI/MiniMap.h Diff ] File ]
mod - rts/Lua/LuaHandle.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaParser.cpp Diff ] File ]
mod - rts/Lua/LuaParser.h Diff ] File ]
mod - rts/Lua/LuaUnitDefs.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/LuaWeaponDefs.cpp Diff ] File ]
add - rts/Rendering/Icon.h Diff ] File ]
mod - rts/Rendering/IconHandler.cpp Diff ] File ]
mod - rts/Rendering/IconHandler.h Diff ] File ]
mod - rts/Rendering/UnitModels/3DModelParser.h Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.cpp Diff ] File ]
mod - rts/Sim/ModInfo.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp 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 - tools/unitsync/unitsync.cpp Diff ] File ]
develop b392b427
Timestamp: 2008-05-22 14:23:54
Author: satirik
Details ] Diff ]
- bug fixed when unbanning people not logged in
- error msg added when updating the lobby but couldn't rename TASClient.exe

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5920 37977431-3df6-0310-b722-df95706aa16b
develop 83dcb277
Timestamp: 2008-05-21 17:15:16
Author: satirik
Details ] Diff ]
- quickstart link to http://spring-portal.com/index.php/how-to-play now

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5919 37977431-3df6-0310-b722-df95706aa16b
develop 232b021a
Timestamp: 2008-05-21 16:27:14
Author: tvo
Details ] Diff ]
* Updated VC8 project file.
* Small refactor in LosHandler: removed duplicated code from InLos(CUnit*,...) and InLos(CWorldObject*,...),
they are identical apart from unit->isCloaked being checked in the first.
* Fixed mantis 0000937 and 0000919, "archive scanner sometimes returns -1 as an archive checksum".
(I forgot to put the 7-zip InitCrcTable() in CRC.cpp after removing it from ArchiveScanner.cpp...)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5918 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Misc/LosHandler.h Diff ] File ]
mod - rts/System/FileSystem/CRC.cpp Diff ] File ]
mod - rts/build/vstudio8/rts.vcproj Diff ] File ]
develop 74a258b1
Timestamp: 2008-05-20 20:17:56
Author: FLOZi
Details ] Diff ]
Sidedata.tdf -> sidedata.lua
Start scripts now no longer default to OTA commanders, content_error is thrown if a side's commander cannot be read
For scripts with two sides, side1 defaults to side0 if it is missing, so mods no longer need two sides to work

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5917 37977431-3df6-0310-b722-df95706aa16b
add - installer/builddata/springcontent/gamedata/sidedata.lua Diff ] File ]
mod - rts/Game/StartScripts/CommanderScript.cpp Diff ] File ]
mod - rts/Game/StartScripts/CommanderScript2.cpp Diff ] File ]
mod - rts/Game/StartScripts/GlobalAITestScript.cpp Diff ] File ]
mod - rts/Game/StartScripts/LoadScript.cpp Diff ] File ]
mod - rts/Game/StartScripts/SpawnScript.cpp Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
develop 620c3952
Timestamp: 2008-05-20 01:57:14
Author: FLOZi
Details ] Diff ]
Transfers resources.tdf to resources.lua, and resources_map.tdf to resources_map.lua.
springcontent.sdz base files updated correspondingly.
Maintains full backwards compatibility.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5916 37977431-3df6-0310-b722-df95706aa16b
add - installer/builddata/springcontent/gamedata/resources.lua Diff ] File ]
rm - installer/builddata/springcontent/gamedata/resources.tdf Diff ] File ]
add - installer/builddata/springcontent/gamedata/resources_map.lua Diff ] File ]
mod - rts/Map/MapInfo.cpp Diff ] File ]
mod - rts/Map/MapInfo.h Diff ] File ]
mod - rts/Rendering/Env/AdvTreeGenerator.cpp Diff ] File ]
mod - rts/Rendering/Env/BasicTreeDrawer.cpp Diff ] File ]
mod - rts/Rendering/GroundDecalHandler.cpp Diff ] File ]
mod - rts/Sim/Projectiles/ProjectileHandler.cpp Diff ] File ]
develop 30109964
Timestamp: 2008-05-19 00:01:25
Author: Auswaschbar
Details ] Diff ]
* allow "/luarules ..." for every player, not only for host


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5915 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/GameServer.cpp Diff ] File ]
mod - rts/Game/GameServer.h Diff ] File ]
mod - rts/System/Net/Connection.h Diff ] File ]
develop dda16b7f
Timestamp: 2008-05-18 22:40:44
Author: trepan
Details ] Diff ]
* Fixed non-ta camera modes


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5914 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/Widgets/camera_smooth_move.lua Diff ] File ]
develop ec15e3fc
Timestamp: 2008-05-18 22:39:51
Author: FLOZi
Details ] Diff ]
Functionality of Sensors.tdf moved to modrules, deleted SensorHandler as it was no longer needed, the values are now read from the modInfo object. Cleaned up the installer folder as springcontent.sdz no longer needs a Sensors.tdf or Particles.tdf. The change breaks backwards compatibility with mods custom Sensors, but its unlikely this will be an issue, as it is only a few lines for a modder to add back in, and most use the defaults

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5913 37977431-3df6-0310-b722-df95706aa16b
rm - installer/builddata/springcontent/gamedata/particles.tdf Diff ] File ]
rm - installer/builddata/springcontent/gamedata/sensors.tdf Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Sim/Misc/LosHandler.cpp Diff ] File ]
rm - rts/Sim/Misc/SensorHandler.cpp Diff ] File ]
rm - rts/Sim/Misc/SensorHandler.h Diff ] File ]
mod - rts/Sim/ModInfo.cpp Diff ] File ]
mod - rts/Sim/ModInfo.h Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
develop aa478921
Timestamp: 2008-05-18 22:19:43
Author: satirik
Details ] Diff ]
- chat log limit is back but optional and you can choose the limit
- allclient list sort when adding a new user changed to only move the new user to the right place instead of sorting the whole list (i hope it will fix the cpu peaks)

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5912 37977431-3df6-0310-b722-df95706aa16b
develop c099b455
Timestamp: 2008-05-18 16:52:30
Author: LordMatt
Details ] Diff ]
*Remove unused file settingstemplate.xml from users installs


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5911 37977431-3df6-0310-b722-df95706aa16b
mod - installer/sections/main.nsh Diff ] File ]
develop cbf2e95e
Timestamp: 2008-05-18 16:51:57
Author: LordMatt
Details ] Diff ]
*Delete unused file settingstemplate.xml


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5910 37977431-3df6-0310-b722-df95706aa16b
rm - game/settingstemplate.xml Diff ] File ]
develop 4b5d5675
Timestamp: 2008-05-18 16:42:10
Author: LordMatt
Details ] Diff ]
*Change some more things to be in external instead of game (everything
that isn't built by buildsys should be in external)
*Delete ArchiveCacheV6 on uninstall
*Delete lobby\var\groups.ini on uninstall


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5909 37977431-3df6-0310-b722-df95706aa16b
mod - installer/sections/archivemover.nsh Diff ] File ]
mod - installer/sections/main.nsh Diff ] File ]
mod - installer/sections/tasclient.nsh Diff ] File ]
develop 5a846960
Timestamp: 2008-05-18 04:17:20
Author: trepan
Details ] Diff ]
* Removed the old commented code


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5908 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
develop 1275421f
Timestamp: 2008-05-18 04:13:53
Author: trepan
Details ] Diff ]
* 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 ]
develop 87e30f01
Timestamp: 2008-05-17 23:05:55
Author: trepan
Details ] Diff ]
* Tooltips will now display the unit type for enemy units
that have been typed with previous LOS and continuous radar
(as is done for minimap icons)
* Enemy unit tooltip stats still require LOS


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5901 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/UI/TooltipConsole.cpp Diff ] File ]
develop 287c2f9a
Timestamp: 2008-05-17 22:20:02
Author: trepan
Details ] Diff ]
* Oops, a debugging statement


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5900 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/widgets.lua Diff ] File ]
develop 21218499
Timestamp: 2008-05-17 17:03:30
Author: FLOZi
Details ] Diff ]
Increases weapon limit per unit to 32. Mods with their own weapondefs_post.lua will need to update it if they want weapon names to be displayed correctly.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5899 37977431-3df6-0310-b722-df95706aa16b
mod - installer/builddata/springcontent/gamedata/parse_fbi.lua Diff ] File ]
mod - installer/builddata/springcontent/gamedata/weapondefs_post.lua Diff ] File ]
mod - rts/Sim/Units/COB/CobFile.h Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
develop 5efb4c8a
Timestamp: 2008-05-17 13:38:43
Author: trepan
Details ] Diff ]
* Fixed a SEGV that occurred while reloading or disabling LuaUI
(the 'currentCursor' was not being updated during deletions or replacements)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5898 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/UI/MouseHandler.cpp Diff ] File ]
develop e3ff7d00
Timestamp: 2008-05-16 20:14:35
Author: Auswaschbar
Details ] Diff ]
* all network-sending code uses RawPackets
* use boost::smart_ptr for RawPackets
-> easier, safer, less code ...


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5895 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/ChatMessage.cpp Diff ] File ]
mod - rts/Game/ChatMessage.h Diff ] File ]
mod - rts/Game/CommandMessage.cpp Diff ] File ]
mod - rts/Game/CommandMessage.h Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/GameData.cpp Diff ] File ]
mod - rts/Game/GameData.h Diff ] File ]
mod - rts/Game/GameServer.cpp Diff ] File ]
mod - rts/Game/PreGame.cpp Diff ] File ]
mod - rts/Game/PreGame.h Diff ] File ]
mod - rts/System/BaseNetProtocol.cpp Diff ] File ]
mod - rts/System/BaseNetProtocol.h Diff ] File ]
mod - rts/System/Net/Connection.h Diff ] File ]
mod - rts/System/Net/LocalConnection.cpp Diff ] File ]
mod - rts/System/Net/LocalConnection.h Diff ] File ]
mod - rts/System/Net/Net.cpp Diff ] File ]
mod - rts/System/Net/Net.h Diff ] File ]
mod - rts/System/Net/PackPacket.cpp Diff ] File ]
mod - rts/System/Net/PackPacket.h Diff ] File ]
mod - rts/System/Net/Test/CMakeLists.txt Diff ] File ]
mod - rts/System/Net/Test/main.cpp Diff ] File ]
mod - rts/System/Net/UDPConnection.cpp Diff ] File ]
mod - rts/System/Net/UDPConnection.h Diff ] File ]
mod - rts/System/Net/UnpackPacket.cpp Diff ] File ]
mod - rts/System/Net/UnpackPacket.h Diff ] File ]
mod - rts/System/NetProtocol.cpp Diff ] File ]
mod - rts/System/NetProtocol.h Diff ] File ]
develop 35e4a764
Timestamp: 2008-05-15 13:54:39
Author: trepan
Details ] Diff ]
* Changed GetUnitNearestEnemy() useLos default to true
(to be consistent with current behaviour). You have to
explicitly request not to use los ...


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5893 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
develop fc484923
Timestamp: 2008-05-15 13:50:22
Author: trepan
Details ] Diff ]
* Changed the GetUnitNearestEnemy() lua call-out to:
GetUnitNearestEnemy(number unitID[, number range[, boolean useLos]])
(useLos is always enabled if not called from a fullRead script, ex: LuaRules)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5892 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
develop 35cfb1eb
Timestamp: 2008-05-15 06:43:38
Author: trepan
Details ] Diff ]
* Reset missing spectating variables when switching teams in cheat mode


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5891 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/Game.cpp Diff ] File ]
First  Prev  1 2 3 ... 110 ... 220 ... 330 ... 440 ... 550 ... 660 ... 770 ... 842 843 844 845 846 847 848 ... 880 ... 990 ... 1057 1058 1059  Next  Last