Commit Graph

6956 Commits (d254e6a3396bbfb439e2f34471b760f0c6870c7b)

Author SHA1 Message Date
Per Inge Mathisen d254e6a339 Remove duplicate points removal in PIE loader. Closes ticket:1582 Reviewed by Safety0ff
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9793 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:05:01 +01:00
Per Inge Mathisen 7b7aca3ce0 Remove 5878 duplicate points in PIE files. See ticket:1582 Reviewed by Safety0ff.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9792 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:05:00 +01:00
Per Inge Mathisen 303a4d20ba Fix texture file references in base wz wall PIEs.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9791 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:05:00 +01:00
Per Inge Mathisen f3affb4c58 simplipie: Add duplicate point removal.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9790 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:05:00 +01:00
Cyp 12c488c70d Fix race condition in pathfinding caused by -Wdeclaration-after-statement. Pathfinding jobs should no longer get lost.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9788 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:04:59 +01:00
Buginator 5d772d4b6f Only drop artifacts on a fully built factory
fixes ticket:1574

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9786 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:04:59 +01:00
Buginator c2fc183703 Fix a dangling pointer issue concerning the text input.
patch reviewed by vexed.

fixes ticket:1480
Thanks to the excellent detective work by Ai_Tak !


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9784 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:04:58 +01:00
Buginator aeaab52615 Add a new directory name 'logs' (in config dir) to store all our netplay logs in.
fixes ticket:1564

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9778 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:35 +01:00
Guangcong Luo 815725c039 Apply patch #1474 - Fix sync issues involving alt-orders.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9777 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:35 +01:00
Guangcong Luo 88b7093f95 Fix bug #1527 - droid->actionStarted sometimes not initialized.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9775 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:35 +01:00
Giel van Schijndel 40208015e4 string_ext.h doesn't actually use frame.h, so don't #include it
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9774 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:35 +01:00
René Jürgens ee1aad0d42 NTW Mod Version 1.8.9
- Fix Templates Bug
- Fix Scourge and Arch Angel Balance
- Fix Command Center Limit
- Fix Illogical Tech Levels

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9772 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:34 +01:00
Per Inge Mathisen 22039c1969 Check against AI building in a gateway, as this can seriously block AI passages.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9771 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:34 +01:00
Per Inge Mathisen b084022d5e Clean up function pickStructLocation() - stylistic changes only.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9770 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:34 +01:00
Buginator c8340c4e43 frontport r9768
"Do away with the illogical cruff in clearPlayer() since it didn't make sense to remove the oil _feature_ (and only for player 0!?) when a player leaves the game.
It is now simplified to destroy everything, and if we want the effects on or off for the destruction.

fixes ticket:1558 "


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9769 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:34 +01:00
dak180 6ff43cbbaa Correct some encoding issues and typos in the strings files.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9767 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:34 +01:00
i-nod d457d866ba - Aivolution has been removed from the MinGW build system and NSIS project
- NSIS: Aivolution and Original remnants should be removed from target system before installing new files
- NSIS: Force admin-privileges in UAC (they are required anyway), this will allow correct SM shortcuts removal possible on Vista/7


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9764 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:34 +01:00
Per Inge Mathisen c4fddbc513 A new in-progress rewrite of large parts of the current AI. Kept in a mod while it is being
worked on, to avoid breaking other people's testing and skirmish saves unnecessarily.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9763 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:33 +01:00
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