Per Inge Mathisen
068b94b49e
Clean up movement code a bit, removing some dead code and open up path-finding API for different
...
kinds of path orders. Patch reviewed by stiv.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9762 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:33 +01:00
dak180
1eabbb6f5a
Externalize the xcode build settings for better readability and fix .strings mime-type.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9761 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:33 +01:00
Christian Ohm
6ddbdb3c6c
Update translations.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9757 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:21 +01:00
Christian Ohm
0dd15e7d1e
Updated Spanish translation by Saberuneko.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9756 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:20 +01:00
Christian Ohm
05fc78709e
Mark strings in the limits screen for translation.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9755 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:20 +01:00
Per Inge Mathisen
8bd0a98a5c
Fix line build that was broken by r9749.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9754 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:19 +01:00
Per Inge Mathisen
896c74aeba
Remove aivolution also from trunk
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9753 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:19 +01:00
Per Inge Mathisen
f903f89c1e
Reenable cyborg mechanic, thermite and grenadier.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9751 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:19 +01:00
Per Inge Mathisen
a8168bd4f8
When a droid has completed construction of a building, make sure we clear the orders
...
of every droid that has been helping, to ensure they do not get lagging behind when
AI gives new orders the (possibly) next frame.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9749 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:19 +01:00
Per Inge Mathisen
0da62cbc99
When canceling or completing build orders, make sure we clear the complete droid
...
state, otherwise other parts of the code can become confused and think they are busy.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9748 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:18 +01:00
Per Inge Mathisen
a2b0a70764
Remove the old hack that nullified AI orders when they got stuck, since it is no longer
...
necessary now that we do not send droids back to repair, and that detection algorithm is
rather error prone, and nullifies useful orders.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9747 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:18 +01:00
Per Inge Mathisen
ad41e9dd1f
Add script commands to iterate over the unfinished buildings of a player.
...
They work irrespective of structure type.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9746 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:18 +01:00
Per Inge Mathisen
9bb288d1f4
Remove erroneous comment
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9745 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:18 +01:00
dak180
af297bfe0f
Do not forget to use the msgfmt we downloaded if we need it.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9743 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:18 +01:00
dak180
fb99df7950
Get msgfmt if we do not have it.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9742 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:17 +01:00
Cyp
be907e3994
Fix hover tanks thinking they are submarines, going under the water, and the height wrapping around.
...
Hover tanks float above the water, which can only be fixed when droid heights are stored in something slightly less unsigned.
Closes ticket:1554 which was a combination of bugs or design flaws exposed in -r9619.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9741 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:17 +01:00
dak180
6bfd2ce794
Add .lproj bundles for mac localization.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9740 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:17 +01:00
Per Inge Mathisen
01dc5e937f
Add a few more baba templates for extra baba squish fun.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9739 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:17 +01:00
Cyp
4651724689
Move #includes out of extern "C" blocks, make STATIC_ASSERT work in C++.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9737 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:16 +01:00
Giel van Schijndel
392c08cd3c
Use LOG_INFO to report non-existant playlist files (instead of LOG_ERROR)
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9732 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:16 +01:00
i-nod
cec20aae6a
- NSIS changes from 2.3 ( #1111 ).
...
- Additional fixes to [9642]: remove old-1.10-balance.wz instead of origianl.wz.
- MinGW build system updates.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9727 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:16 +01:00
Per Inge Mathisen
6b22f1855d
Also remove disabled players from skirmish games with scavengers turned on.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9725 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:16 +01:00
Per Inge Mathisen
44d6340eac
Clean up scrSkDifficultyModifier() (the AI cheat function), and make it ignore human
...
autogame players. This should fix ticket:1374 where players get tons of power in
autogames.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9719 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:15 +01:00
Per Inge Mathisen
1f6df2a565
Skirmish AI improvements: Reduce interval to check if trucks can help build
...
something. Check if we need to build more trucks once we have built one,
instead of immediately going for military units then changing our mind.
Upgrade new research labs immediately after producing them.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9718 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:15 +01:00
i-nod
a7c4631fbc
Update MSVC2008 project file (random.cpp).
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9717 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:14 +01:00
Per Inge Mathisen
1f6a23e4a7
For challenges, make sure NetPlay.maxPlayers equals game.maxPlayers (why do we
...
have two values that mean the same thing?), to fix AI start position bug. Also
add some extra script debug logging.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9716 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:14 +01:00
Cyp
cf82924294
Make it possible to increase MAX_FACTORY without crashing.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9715 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:14 +01:00
Per Inge Mathisen
35bfe4b72c
Make sure AI does not build VTOL factory before it is available.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9714 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:14 +01:00
Buginator
6d8d6dcb24
frontport r9538 & r9551
...
"2.3: Rename "original.wz" to "old-1.10-balance.wz" - I had an agreement with Delphinio that the mod could be named anything but "original", which was vague and confusing to new users."
&
"Rename directory of "original" mod to "old-1.10-balance".
Fixes autotools build."
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9712 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:14 +01:00
Buginator
b4b4cc7efc
revert r9710, and fix it another (cleaner) way.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9711 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:13 +01:00
Buginator
bd300c1824
We don't support C99 initializers.
...
Fixing MSVC builds broken in r9656
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9710 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:12 +01:00
Buginator
1ebb9ea9bc
Update MSVC project file to add random.cpp
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9709 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:12 +01:00
Buginator
d859cd7bd3
Change HOST_TRIPLET to be i586-mingw32msvc instead of mingw32 as the default HOST_TRIPLET
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9708 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:12 +01:00
Buginator
f121a3483f
frontport r9651
...
"Add the loaded mods to the crash report"
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9707 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:12 +01:00
Buginator
6a083086e2
Frontport r9650
...
"Add a error message about not being able to (re)allocate a string"
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9706 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:12 +01:00
Buginator
a6d88bda6b
frontport r9645
...
"Change netplay.log to netplay-xxx_yyy.log where xxx is the date, and yyy is the time. So people can have a history of all their MP games, and they can upload said file to us.
This log is in the config directory!"
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9705 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:12 +01:00
Buginator
dbdbd4f1a3
frontport r9644
...
"Change / add a few log WARNINGS to INFO instead, to track down why the game thinks that people have left when they haven't, and also fix the bug of not destroying the player who dropped / left feature(s).
fixes ticket:1020"
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9704 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:12 +01:00
Buginator
ade49a97d6
frontport r9642
...
Fix NSIS
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9703 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:11 +01:00
Christian Ohm
8e005eaa21
Remove useless call to gridDroidMove().
...
Also remove some now unused variables. Was reintroduced in r9689 (from 2.3) and
broke compilation.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9702 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:11 +01:00
Guangcong Luo
f7d7f880bd
Remove limiting of oil derricks. Power production is limited by generators, anyway, so this is mainly to help people who don't like seeing blinking blue dots everywhere on the map.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9697 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:11 +01:00
Per Inge Mathisen
98e0e74347
Allow loading broken maps that have duplicate buildings when asserts are turned off. Closes ticket:1551
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9691 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:11 +01:00
Per Inge Mathisen
24b3bcbb42
Sync sync fixes and changes from 2.3 over to trunk
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9689 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:11 +01:00
Per Inge Mathisen
d82ec00cf5
Remove .cbp file instead. No longer used.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9685 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:11 +01:00
Per Inge Mathisen
eea98d8bdf
Remove target.c|h from .cbp build file
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9682 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:11 +01:00
Per Inge Mathisen
b99e845d97
Fix template sync in MP for AIs broken by recent template changes.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9679 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:10 +01:00
dak180
79e482d606
Update the xcode project for logical updates.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9676 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:10 +01:00
Per Inge Mathisen
4b9b39ac03
Fix assert failure in template code when receiving new templates over the network.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9675 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:10 +01:00
Cyp
13988d3b0d
logical: Oops, forgot to add src/random.{cpp,h} in last commit.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9673 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:10 +01:00
Per Inge Mathisen
0e0d5f25fe
Fix missing cyborg transport in skirmish due to recent template changes. Closes ticket:1548
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9672 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:09 +01:00
Cyp
238d42c0f8
logical: Use separate pseudorandom number generator for game decisions, which should at some point be made to be synchronised between clients.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9670 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:09 +01:00