2025-08-17 02:03 CEST

Changesets: spring

Search ] Browse ] Back to Index ]
develop f35d91d0
Timestamp: 2008-04-21 21:39:12
Author: tvo
Details ] Diff ]
* Use vectors of objects instead of pointers to prevent allocating
and deleting hundreds of small object every CGrassDrawer::Draw().

Note: the std::sort now copies around 8/12 bytes instead of 4.
I *think* this is more efficient then separately calling new/delete
for every 8/12 byte block just so 4/8 bytes less have to be copied
per item in the std::sort, but I *did not* measure this.

In either case it's less error prone, which was main motivation
for the change. (wrt heap corruption etc.)

* Small refactor in AdvTreeDrawer.cpp

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5763 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Rendering/Env/AdvTreeDrawer.cpp Diff ] File ]
mod - rts/Rendering/Env/GrassDrawer.cpp Diff ] File ]
develop e670fbae
Timestamp: 2008-04-21 21:38:45
Author: kloot
Details ] Diff ]
fix a possible SEGV in the dangling-pointer fix

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5762 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Rendering/GroundDecalHandler.cpp Diff ] File ]
develop 28bf8bd7
Timestamp: 2008-04-21 21:27:31
Author: tvo
Details ] Diff ]
* Removed a lot of duplicated code.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5761 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Lua/LuaFeatureDefs.cpp Diff ] File ]
mod - rts/Lua/LuaParser.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaUnitDefs.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaUtils.cpp Diff ] File ]
mod - rts/Lua/LuaUtils.h Diff ] File ]
mod - rts/Lua/LuaWeaponDefs.cpp Diff ] File ]
develop 73b39f07
Timestamp: 2008-04-21 19:32:55
Author: imbaczek
Details ] Diff ]
fix a dangling pointer in GroundDecalHandler. fixes mantis 0000889 and possibly others.

This bug could cause LuaUI crashes, desyncs and all kinds of Bad Stuff. RemoveBuilding
set some fields on a pointer which was invalid if a decal was deleted in Draw on the same
frame in which RemoveBuilding was called.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5760 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Rendering/GroundDecalHandler.cpp Diff ] File ]
develop 5967ae12
Timestamp: 2008-04-20 14:39:12
Author: satirik
Details ] Diff ]
- download map mod, host and add to filter items hidden when no battle are selected
- min width and height set to 50 for each resizable windows (via the FixFormSizeConstraints function)
- i don't remember the rest (small fixes probably)

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5759 37977431-3df6-0310-b722-df95706aa16b
develop 955bbe2f
Timestamp: 2008-04-20 12:35:28
Author: Auswaschbar
Details ] Diff ]
* fix wrong spectatorchat message
* new lua-startscript functions:
namespace game:
-> End() (was EndGame() before)
-> GetTeam(int number)

class Team:
-> [metal|energy]storage (read only)
-> set[metal|energy]storage

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5758 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/Team.h Diff ] File ]
mod - rts/System/Script/LuaBinder.cpp Diff ] File ]
mod - rts/System/Script/LuaFunctions.cpp Diff ] File ]
mod - rts/System/Script/LuaFunctions.h Diff ] File ]
develop 4d5a0309
Timestamp: 2008-04-20 00:03:33
Author: submarine
Details ] Diff ]
AAI v0.862
- Added submarine defence map -> AAI will now store its defence capabilities vs submarines separately from other naval units

- AAI now takes continents into account when sending scouts to positions (e.g. it does not try send ground scouts to positions on other islands/continents anymore)

- Bumped mod learning file version to 0.86 due to some changes in handling of amphibious units

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5757 37977431-3df6-0310-b722-df95706aa16b
mod - AI/Global/AAI/AAI ReadMe.txt Diff ] File ]
mod - AI/Global/AAI/AAIBrain.cpp Diff ] File ]
mod - AI/Global/AAI/AAIBrain.h Diff ] File ]
mod - AI/Global/AAI/AAIBuildTable.cpp Diff ] File ]
mod - AI/Global/AAI/AAIExecute.cpp Diff ] File ]
mod - AI/Global/AAI/AAIMap.cpp Diff ] File ]
mod - AI/Global/AAI/AAIMap.h Diff ] File ]
mod - AI/Global/AAI/AAISector.cpp Diff ] File ]
mod - AI/Global/AAI/AAISector.h Diff ] File ]
mod - AI/Global/AAI/aidef.h Diff ] File ]
mod - game/AI/AAI/AAI ReadMe.txt Diff ] File ]
add - game/AI/AAI/cfg/map/ExpandedTropics.cfg Diff ] File ]
develop f4308142
Timestamp: 2008-04-18 23:15:23
Author: Auswaschbar
Details ] Diff ]
* export synced random integers to startscripts
* ScriptHandler automatically parses lua startscripts on creation (it doesn't need to be called explicitly)
* ScriptHandler uses VFS to locate and load startscripts

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5756 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/StartScripts/ScriptHandler.cpp Diff ] File ]
mod - rts/Game/StartScripts/ScriptHandler.h Diff ] File ]
mod - rts/System/Script/LuaBinder.cpp Diff ] File ]
mod - rts/System/Script/LuaBinder.h Diff ] File ]
mod - rts/System/SpringApp.cpp Diff ] File ]
develop 3236aef4
Timestamp: 2008-04-18 17:19:29
Author: satirik
Details ] Diff ]
- sort by global grade changed to respect the number of votes : score = (globalGrade-5)*nbVotes, so any rate under 5 = how much you don't like the map, and > 5 = how much you like the map

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5755 37977431-3df6-0310-b722-df95706aa16b
develop 98dc329a
Timestamp: 2008-04-18 16:34:39
Author: satirik
Details ] Diff ]
- TLabel changed to TSpTBXLabel (to fix a bug when scrolling) in the map list form item panel

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5754 37977431-3df6-0310-b722-df95706aa16b
develop a13e056f
Timestamp: 2008-04-18 15:42:14
Author: satirik
Details ] Diff ]
- client list selection behavior improved (won't auto scroll at random time)
- map list form : map item panel : map information moved to a new "map details" tab to reduce the panel's width
- map list form : sorting map should not make glitches
- map list form now display as many map as possible per line each time you resize the form

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5753 37977431-3df6-0310-b722-df95706aa16b
develop e6e6946b
Timestamp: 2008-04-17 21:52:14
Author: tvo
Details ] Diff ]
* Fix cyclic #include dependency in overload_rep.hpp,
when BOOST_MSVC was #defined.



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5751 37977431-3df6-0310-b722-df95706aa16b
mod - rts/lib/luabind/luabind/detail/overload_rep.hpp Diff ] File ]
develop afdfb85f
Timestamp: 2008-04-17 20:22:43
Author: submarine
Details ] Diff ]
- fix std::math functions for msvc in GameServer.cpp

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5750 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/GameServer.cpp Diff ] File ]
develop 77ad3e77
Timestamp: 2008-04-17 18:05:17
Author: tnowell
Details ] Diff ]
- tiny change, removed a supress warning check that didn't do anything (not sure ti even applied)

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5749 37977431-3df6-0310-b722-df95706aa16b
develop da7ad19f
Timestamp: 2008-04-17 17:12:48
Author: KDR_11k
Details ] Diff ]
*Made Cannons not aim in an arc if the target position is closer than 2 elmos, this allows force firing them with emit-sfx

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5748 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Weapons/Cannon.cpp Diff ] File ]
develop 0f649d87
Timestamp: 2008-04-17 16:58:15
Author: imbaczek
Details ] Diff ]
fix std::math functions for msvc (tested on vs2005)

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5747 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/PreGame.cpp Diff ] File ]
mod - rts/Game/UI/EndGameBox.h Diff ] File ]
develop f9dcf678
Timestamp: 2008-04-17 13:37:27
Author: kloot
Details ] Diff ]
use boost::thread::hardware_concurrency() when boost version >= 1.35

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5746 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Path/PathEstimator.cpp Diff ] File ]
develop 4902881c
Timestamp: 2008-04-16 17:31:44
Author: satirik
Details ] Diff ]
- highlight battle code improved
- "sort $local player list" option added and disabled by default
- auto start boxes bug fixed

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5745 37977431-3df6-0310-b722-df95706aa16b
develop 54bb2c24
Timestamp: 2008-04-15 18:42:21
Author: KDR_11k
Details ] Diff ]
*Committed patch by rattle which adds the get constants MIN (131), MAX(132) and ABS(133) to COB which perform the respective math operations.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5744 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Units/COB/CobInstance.cpp Diff ] File ]
develop 0eae6b86
Timestamp: 2008-04-15 18:11:36
Author: Auswaschbar
Details ] Diff ]
* scripts can remove units from map (without explosion or leaving a corpse)
* fix bug 0000892

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5743 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/GameServer.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.h Diff ] File ]
mod - rts/System/Script/LuaBinder.cpp Diff ] File ]
mod - rts/System/Script/LuaFunctions.cpp Diff ] File ]
mod - rts/System/Script/LuaFunctions.h Diff ] File ]
develop b95fd428
Timestamp: 2008-04-15 12:21:20
Author: KDR_11k
Details ] Diff ]
*Added unit FBI tag verticalSpeed (float, default: 3.0) for non-fighter/bomber planes to define the speed of takeoff and landing (or loading).

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5742 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Lua/LuaUnitDefs.cpp Diff ] File ]
mod - rts/Sim/Units/UnitDef.h Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitLoader.cpp Diff ] File ]
develop 79795bd4
Timestamp: 2008-04-15 00:02:36
Author: satirik
Details ] Diff ]
- ladder help updated
- '?' lua option button are now skinned too
- redirect ip is now stored in a different var so if you try to connect after a redirection it will connect to the main server
- hint metal rounded with 3digits
- replays are just launched with the current spring version without any check on wine mode
- replay comments tab is in bold if it's not empty

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5741 37977431-3df6-0310-b722-df95706aa16b
develop 9b757f9d
Timestamp: 2008-04-14 15:26:46
Author: Auswaschbar
Details ] Diff ]
* try to fix bug 0000890

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5740 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/SelectedUnits.cpp Diff ] File ]
mod - rts/Game/SelectedUnits.h Diff ] File ]
develop 8b1aa87d
Timestamp: 2008-04-13 23:02:01
Author: Auswaschbar
Details ] Diff ]
* really fix lua startscripts

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5739 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Units/CommandAI/Command.h Diff ] File ]
mod - rts/System/Script/LuaBinder.cpp Diff ] File ]
mod - rts/System/Script/LuaFunctions.cpp Diff ] File ]
mod - rts/System/Script/LuaFunctions.h Diff ] File ]
develop 4e43006f
Timestamp: 2008-04-13 20:59:43
Author: imbaczek
Details ] Diff ]
fix lack of std

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5734 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/GameServer.cpp Diff ] File ]
mod - rts/Game/PreGame.cpp Diff ] File ]
First  Prev  1 2 3 ... 110 ... 220 ... 330 ... 440 ... 550 ... 660 ... 770 ... 848 849 850 851 852 853 854 ... 880 ... 990 ... 1057 1058 1059  Next  Last