2025-08-30 13:16 CEST

Changesets: spring

Search ] Browse ] Back to Index ]
develop 1f8c78ca
Timestamp: 2007-04-27 02:00:22
Author: trepan
Details ] Diff ]
* Made LuaUI compatible with VFS access
(ex: /usr/share/game/Spring/LuaUI, or whatever dir is used)
* Made mod widgets possible
(currently show with *name* in the selector)
* Added the Spring.SetUnitNoDraw() call-out
(useful for special rendering techniques)
* Added the Spring.IsDevLuaEnabled() call-out
* Forced the initial LuaUI and KeyAutobinder code loading to use the raw filesystem
* Defined calls in AICallback to access the lua scripts (not implemented)

P.S. The lua/vfs stuff needs some going over, it is not complete.
As an example, the VFS.DEF_MODE parameter is not be used to
control the default access mode for mod defined LuaUI's, when
it should be VFS.ZIP_FIRST.


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3686 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/Widgets/gui_hilight_unit.lua Diff ] File ]
mod - game/LuaUI/fonts.lua Diff ] File ]
mod - game/LuaUI/main.lua Diff ] File ]
mod - game/LuaUI/modui_dialog.lua Diff ] File ]
mod - game/LuaUI/selector.lua Diff ] File ]
mod - game/LuaUI/utils.lua Diff ] File ]
mod - game/LuaUI/widgets.lua Diff ] File ]
mod - game/gui.lua Diff ] File ]
mod - rts/ExternalAI/AICallback.h Diff ] File ]
mod - rts/Game/UI/KeyAutoBinder.cpp Diff ] File ]
mod - rts/Game/UI/KeyAutoBinder.h Diff ] File ]
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Game/UI/LuaUI.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/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/LuaUnsyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedRead.h Diff ] File ]
mod - rts/Lua/LuaVFS.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.cpp 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 ]
develop 61a07128
Timestamp: 2007-04-26 03:47:26
Author: trepan
Details ] Diff ]
* New lua filesystem access table (easier to use)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3685 37977431-3df6-0310-b722-df95706aa16b
add - rts/Lua/LuaVFS.cpp Diff ] File ]
add - rts/Lua/LuaVFS.h Diff ] File ]
develop 24cf7e31
Timestamp: 2007-04-25 09:52:16
Author: trepan
Details ] Diff ]
* New default widget (demos gl.Unit() and gl.ColorMask())


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3684 37977431-3df6-0310-b722-df95706aa16b
add - game/LuaUI/Widgets/gui_hilight_unit.lua Diff ] File ]
develop a2f47eee
Timestamp: 2007-04-25 06:22:07
Author: trepan
Details ] Diff ]
* Changed the unit resource updates so that they occur even while stunned
* Removed the '32.0f' scaling from:
- Spring.AddTeamResource()
- Spring.UseTeamResource()
- Spring.AddUnitResource()
- Spring.UseUnitResource()
* Added the table format for:
- Spring.UseTeamResource()
- Spring.UseUnitResource()
(allows testing all resource values before using them)
* Added Spring.GetUnitNearestAlly(unitID)
* Added Spring.GetUnitNearestEnemy(unitID)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3683 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/Widgets/cmd_doline.lua Diff ] File ]
mod - game/LuaUI/widgets.lua Diff ] File ]
mod - rts/Game/GameHelper.cpp 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/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.h Diff ] File ]
develop bf0f430d
Timestamp: 2007-04-25 05:41:26
Author: trepan
Details ] Diff ]
* Fixed feature selection (allyTeam visibility)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3682 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/GameHelper.cpp Diff ] File ]
develop a370b5dd
Timestamp: 2007-04-24 21:15:46
Author: trepan
Details ] Diff ]
* Avoid un-stunning units during unloadeding (that are still paralyzed)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3681 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Units/UnitTypes/TransportUnit.cpp Diff ] File ]
develop 779329e6
Timestamp: 2007-04-24 21:00:20
Author: trepan
Details ] Diff ]
* Provided LuaUI widgets with the Script{} table
* Added the '_G' table for the unsynced code of synced lua scripts


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3680 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/system.lua Diff ] File ]
mod - rts/Lua/LuaHandleSynced.cpp Diff ] File ]
develop 64d5968c
Timestamp: 2007-04-24 13:07:16
Author: tvo
Details ] Diff ]
* Fix gcc 4.3 compile error



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3679 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Units/UnitTypes/ExtractorBuilding.cpp Diff ] File ]
develop 0e7824f1
Timestamp: 2007-04-24 11:28:55
Author: tvo
Details ] Diff ]
* Fix for server move
(These bb* scripts dont really belong here, I think. Once old fido is down they can be removed.)



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3678 37977431-3df6-0310-b722-df95706aa16b
mod - tools/scripts/bbinit.sh Diff ] File ]
develop f4588f31
Timestamp: 2007-04-24 07:19:20
Author: trepan
Details ] Diff ]
* All CLuaHandles now use AddBasicCalls() to populate the Script[] table
* Moved the special access team constants into the Script[] table
* Added the Script.GetName() call-out


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3677 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
rm - rts/Lua/LuaConstSpring.cpp Diff ] File ]
rm - rts/Lua/LuaConstSpring.h Diff ] File ]
mod - rts/Lua/LuaHandle.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.h Diff ] File ]
mod - rts/Lua/LuaHandleSynced.cpp Diff ] File ]
develop a674e2e2
Timestamp: 2007-04-24 03:58:27
Author: trepan
Details ] Diff ]
* Allow raw filesystem access to synced lua
script VFS calls when .devlua is enabled


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3676 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Lua/LuaRules.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
develop a8656ac9
Timestamp: 2007-04-24 02:18:43
Author: trepan
Details ] Diff ]
* Fixed AllowUnitTransfer() 'capture' parameter


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3675 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
develop b0f94f98
Timestamp: 2007-04-23 23:41:00
Author: tvo
Details ] Diff ]
* Attempt to fix scons ignoring streflop build failure.



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3674 37977431-3df6-0310-b722-df95706aa16b
mod - SConstruct Diff ] File ]
develop fcfd8422
Timestamp: 2007-04-23 23:21:56
Author: tvo
Details ] Diff ]
* fix for server move



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3673 37977431-3df6-0310-b722-df95706aa16b
mod - tools/scripts/bbinit.sh Diff ] File ]
develop 056fa763
Timestamp: 2007-04-23 14:45:31
Author: tvo
Details ] Diff ]
* Oops, forgot some



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3672 37977431-3df6-0310-b722-df95706aa16b
rm - AI/Global/KAI-0.22/MyNode.cpp Diff ] File ]
rm - AI/Global/KAI-0.22/MyNode.h Diff ] File ]
develop 5809f40d
Timestamp: 2007-04-23 14:44:45
Author: tvo
Details ] Diff ]
* Add new copyright notice to MicroPather.* in KAI-0.12.
Tournesol gave explicit permission for this per e-mail:
So feel free to add something like:
"All parts of the code in this file that are made by 'Tournesol' are
released under GPL licence." in the files Micropather.* in KAI
0.11/0.12 (only).
* Remove unneeded KAI files that have a doubtful legal status.
* TASServer makefile doesn't make jar anymore, was broken anyway on some
java versions.



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3671 37977431-3df6-0310-b722-df95706aa16b
rm - AI/Global/KAI-0.12/FastScoreList.cpp Diff ] File ]
rm - AI/Global/KAI-0.12/FastScoreList.h Diff ] File ]
mod - AI/Global/KAI-0.12/MicroPather.cpp Diff ] File ]
mod - AI/Global/KAI-0.12/MicroPather.h Diff ] File ]
rm - AI/Global/KAI-0.12/MyNode.cpp Diff ] File ]
rm - AI/Global/KAI-0.12/MyNode.h Diff ] File ]
rm - AI/Global/KAI-0.22/FastScoreList.cpp Diff ] File ]
rm - AI/Global/KAI-0.22/FastScoreList.h Diff ] File ]
develop 6adb263b
Timestamp: 2007-04-23 09:19:21
Author: trepan
Details ] Diff ]
* Disable weapon attack cone rendering (code is still there)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3670 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
develop cfe767d1
Timestamp: 2007-04-23 08:01:16
Author: trepan
Details ] Diff ]
* Shutdown() call-in


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3669 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Lua/LuaCob.cpp Diff ] File ]
mod - rts/Lua/LuaGaia.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.h Diff ] File ]
mod - rts/Lua/LuaRules.cpp Diff ] File ]
develop 3f7e23c3
Timestamp: 2007-04-23 03:12:03
Author: trepan
Details ] Diff ]
* Fixed UnitSeismicPing() call-in


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3668 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/widgets.lua Diff ] File ]
develop f9485695
Timestamp: 2007-04-22 11:06:55
Author: tvo
Details ] Diff ]
* Set svn:eol-style property to native so CRLF/LF doesn't give problems anymore



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3667 37977431-3df6-0310-b722-df95706aa16b
mod - rts/ExternalAI/GlobalAICInterface/AbicAICallback.cpp Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/AbicAICallback.h Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/AbicProxy.cpp Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/AbicProxy.h Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/GlobalAICInterfaceGenerator.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/IAICallback_generated.h Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/IFeatureDef_generated.h Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/IMoveData_generated.h Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/IUnitDef_generated.h Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/dllbuild.h Diff ] File ]
mod - rts/ExternalAI/GlobalAICInterface/generate.bat Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/Command.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/Float3.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/GlobalAIInterfaces.build Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/GlobalAIInterfaces.csproj Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/GlobalAIInterfaces.csproj.user Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/GlobalAIInterfaces.sln Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/GlobalAIProxy.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/IAICallback.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/IFeatureDef.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/IGlobalAI.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/IMonoLoaderProxy.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/IMoveData.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/IUnitDef.cs Diff ] File ]
mod - rts/ExternalAI/GlobalAIInterfaces/readme.txt Diff ] File ]
develop b56d7a0f
Timestamp: 2007-04-22 06:07:34
Author: trepan
Details ] Diff ]
* Reverted r3665


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3666 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaUnitDefs.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/Weapons/Weapon.cpp Diff ] File ]
develop 0ac86a98
Timestamp: 2007-04-22 05:19:40
Author: przybyjw
Details ] Diff ]
Mantis 0000524: Applies patch by imbaczek. Added decloakOnFire fbi tag, and also added a little tweak so that a unit with init_cloaked really does start cloaked.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3665 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaUnitDefs.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/Weapons/Weapon.cpp Diff ] File ]
develop c7bf9e56
Timestamp: 2007-04-22 04:55:17
Author: przybyjw
Details ] Diff ]
Improve the aiming of Cannon type weapons. They will no longer over/under shoot due to large height differentials.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3664 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/GameHelper.h Diff ] File ]
mod - rts/Sim/Units/CommandAI/MobileCAI.cpp Diff ] File ]
mod - rts/Sim/Weapons/Cannon.cpp Diff ] File ]
mod - rts/Sim/Weapons/Cannon.h Diff ] File ]
mod - rts/Sim/Weapons/Weapon.cpp Diff ] File ]
develop 67fe6497
Timestamp: 2007-04-21 13:18:29
Author: trepan
Details ] Diff ]
* Reformatting (no functional changes)


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3663 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Projectiles/ProjectileHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitTypes/Factory.cpp Diff ] File ]
develop 8d8ac477
Timestamp: 2007-04-21 12:39:48
Author: tvo
Details ] Diff ]
* Added a simple unit testing framework to the 'scons test' target.
If 'scons test' is run, scons looks in all subdirectories called 'Test' if
a file called 'test' exists. If it does exist, it runs it.



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3662 37977431-3df6-0310-b722-df95706aa16b
mod - SConstruct Diff ] File ]
First  Prev  1 2 3 ... 110 ... 220 ... 330 ... 440 ... 550 ... 660 ... 770 ... 880 ... 929 930 931 932 933 934 935 ... 990 ... 1057 1058 1059  Next  Last