Precalculating path costs
Moderator: Moderators
Precalculating path costs
Whenever I try a new mod/map combination, Spring has to do something very time consuming called "Calculating estimate path costs" which seems to be cached ( in the maps/paths directory ).
Is there a chance to precalculate those paths costs in batch mode?
fbo
Is there a chance to precalculate those paths costs in batch mode?
fbo
-
- Posts: 501
- Joined: 18 May 2006, 21:19
Re: Precalculating path costs
its a lot faster in the next version...fbo wrote:Whenever I try a new mod/map combination, Spring has to do something very time consuming called "Calculating estimate path costs" which seems to be cached ( in the maps/paths directory ).
Is there a chance to precalculate those paths costs in batch mode?
fbo
its already done!NOiZe wrote:someone make a patch

Re: Precalculating path costs
Where does this info come from? Can you give me a link to the revision in which the map estimating was optimized? I'm pretty sure it's a hoax...esteroth12 wrote: its a lot faster in the next version...
its already done!

And give me a link to the patch too

-
- Posts: 501
- Joined: 18 May 2006, 21:19
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Does this mean, when I use the lates svn, it will be faster?
I just wantet to try that, but I got this:
I'm not really a C++ guru. Does anyone know, what to do to make spring build on my linux machine?
fbo
I just wantet to try that, but I got this:
Code: Select all
g++ -o build/rts/Game/GameHelper.o -c -O1 -pipe -march=pentium4 -fvisibility=hidden -pthread -D_REENTRANT -DDIRECT_CONTROL_ALLOWED -D_SZ_ONE_DIRECTORY -DNO_CLIPBOARD -DNO_AVI -DNO_LUA -Irts -Irts/System -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/python2.4 rts/Game/GameHelper.cpp
rts/Game/GameHelper.cpp: In destructor 'virtual CGameHelper::~CGameHelper()':
rts/Game/GameHelper.cpp:55: error: no suitable 'operator delete' for 'CGameHelper::WaitingDamage'
rts/Game/GameHelper.cpp: In member function 'void CGameHelper::Explosion(float3, const DamageArray&, float, CUnit*, bool, float, bool, CExplosionGenerator*)':
rts/Game/GameHelper.cpp:114: error: no suitable 'operator delete' for 'CGameHelper::WaitingDamage'
rts/Game/GameHelper.cpp: In member function 'void CGameHelper::Update()':
rts/Game/GameHelper.cpp:641: error: no suitable 'operator delete' for 'CGameHelper::WaitingDamage'
rts/Game/GameHelper.cpp:696: confused by earlier errors, bailing out
scons: *** [build/rts/Game/GameHelper.o] Error 1
scons: building terminated because of errors.
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/SCR/ta/spring-svn-0'
make: *** [build-stamp] Fehler 2
fbo
-
- Posts: 501
- Joined: 18 May 2006, 21:19
-
- Posts: 501
- Joined: 18 May 2006, 21:19
-
- Posts: 47
- Joined: 28 Dec 2005, 03:20
- Tim Blokdijk
- Posts: 1242
- Joined: 29 May 2005, 11:18
It's very nice to link the Windows installer, but fbo is a Linux user so he can't use that.

About the compile error, maybe you can drop a message about it on the mailinglist: http://lolut.utbm.info/cgi-bin/mailman/ ... ring-linux