Commit Graph

7000 Commits (04eb3e1e06561c7ff6f7e289a922c56c7f8e1a98)

Author SHA1 Message Date
Giel van Schijndel 04eb3e1e06 po/update-po.sh: Search C++ files for translatable messages as well
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9873 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-19 19:50:28 +01:00
Giel van Schijndel 1b30058f75 po/update-po.sh: Change directory relative to the script instead of $PWD
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9871 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-19 19:50:28 +01:00
Giel van Schijndel 60c55e4009 #undefine NOMINMAX before #defining it
Prevents warnings about #redefining previously #defined macros

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9869 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-19 18:00:09 +01:00
Giel van Schijndel 384e87976d Win32 crossbuild script: Make sure that win32/builds/libs exists
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9868 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-19 17:50:37 +01:00
Guangcong Luo f8754addc6 Add move status to `showorders` info.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9867 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-19 16:51:16 +01:00
René Jürgens 595d94c4d9 - NTW Mod: none Versions Number anymore
- Less hit Points for Artillery (coz Artillery hit bug is removed) they are all on 25-35% now
- Mines & 3 Scavenger Bodys removed (others rebalanced)
- Color issue fixed
- Grim's Texture Mod removed

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9864 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-19 14:51:03 +01:00
Cyp a2dc1ffcde Use list of damaged objects instead of single damaged object, to avoid damaging the same pair of overlapping objects twice.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9863 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-19 12:50:37 +01:00
Per Inge Mathisen 478ed169ee Unify the treatment of the bTargetted hack, which displays crosshairs for enemy objects targetted
by your sensor droids, and also removes duplicate feature tracking of object born time. Patch
reviewed by stiv.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9857 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-18 22:50:10 +01:00
Per Inge Mathisen 2d57f9cfd4 Contrary to base definition, the inFire variable is not a boolean. It is used a triple state variable.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9856 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-18 21:50:09 +01:00
Per Inge Mathisen 8fb38ab094 Remove unused tileVisBits - now superseded by tileExploredBits.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9855 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-18 20:50:24 +01:00
Per Inge Mathisen 9632b1bf50 Add backend support for gates using new REF_GATE structure type. See ticket:1179 for more info.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9854 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-18 20:50:24 +01:00
Per Inge Mathisen 5a1271be4c Allow loading maps of with erroneously placed features if asserts are turned off.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9848 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-18 16:50:45 +01:00
Buginator 0146f4e751 Fix ticket:1604
limiter_tex.wrf is still needed by trunk.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9847 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 23:50:25 +01:00
Git SVN Gateway 3e7dd5ebcf ln -s .gitignore .bzrignore
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9846 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 21:50:57 +01:00
Git SVN Gateway a981dbf610 Workaround for texture corruption bug on Ati Mobility Radeon HD 2400 (R610) open source radeon + mesa drivers.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9845 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 21:50:57 +01:00
Buginator 2f13ea644f Correct typo (actually, c&p error) in r9842
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9844 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 08:50:11 +01:00
Buginator 6850d05a78 When player drops, and we were transferring a map to them, abort the send.
Reported by themac on IRC.

Show the progress of the map being sent, of each player, to the host.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9842 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 06:50:19 +01:00
Guangcong Luo 608c53730f Fix deity mode ("deity" cheat and ctrl+g cheat) not revealing entire map.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9841 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 06:00:15 +01:00
Buginator 3a4251917c Fix host kicking people when the host selected the limiter while hosting, and not before hosting.
Thanks to Michal (on forums) for finding the reason for these rare kicks.

Fix memory leak in in hash routine found by Per.

Add more LOG_NET debugging to clarify what we are doing.

fixes ticket:1577

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9839 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 05:50:29 +01:00
Per Inge Mathisen a960ffb42f semperfi: When AI has enough initial factories, send off initial trucks on a truck rush in an
attempt to achieve total map control. First the closest unprotected oil resource to the enemy
is defended, then hardpoints are built around his base. This behaviour is currently experimental
and quite high risk, but works fine on some maps. Also fix bug that made AI not always pick quite 
closest the oil resource.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9837 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 00:50:13 +01:00
Per Inge Mathisen 106eeefb08 If we cancel a build order, check if we have more orders queued up that can be started instead.
Also notify the AI scripts if a build order fails due to various common failure modes.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9836 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 00:50:13 +01:00
dak180 a3f8200327 Step 1 of X in getting translations working on the mac.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9835 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-16 23:50:09 +01:00
Per Inge Mathisen e943eb0ff7 semperfi: Be a bit more proactive about poaching oil resources.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9834 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-16 22:50:16 +01:00
Per Inge Mathisen 197a9b0594 Give AIs implicit knowledge of defense building threats that other players start the game with.
This makes them avoid making silly mistakes that human players would not.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9833 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-16 22:50:15 +01:00
Steven Koenig 782268f1aa Updated the German translation
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9832 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-16 17:50:35 +01:00
Christian Ohm 131720ded2 Updated Ukrainian translation by olexandr1986.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9827 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-16 17:01:32 +01:00
Christian Ohm 3a2389a7e0 Updated Brazilian translation by tucalipe.
Closes #1583.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9826 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-16 17:01:32 +01:00
Christian Ohm a20207b008 Updated Spanish translation by Saberuneko.
Closes #1567.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9825 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-16 17:01:32 +01:00
dak180 1f2b4f201a Add LangDis to the makefile.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9823 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 21:50:10 +01:00
Per Inge Mathisen 5047c50848 Fix some unused code.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9822 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 21:50:10 +01:00
dak180 5bc553c3c0 Add a file listing all disabled translations for the mac (translations are not working yet but might be soon).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9821 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 21:00:18 +01:00
Cyp e1bfee9a4c make: Better (hopefully) hack to fix broken dependency files.
Probably closes ticket:1590.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9817 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:08 +01:00
dak180 5fc308b749 More encoding fixes and fix some names.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9816 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:08 +01:00
Per Inge Mathisen 47beb57842 Fix saving water level heights. Existing savegames with wrong heights remain wrong.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9815 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:08 +01:00
Giel van Schijndel 946c9965f2 Replace ''all'' usage of BOOL in lib/framework with bool instead
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9812 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:08 +01:00
Giel van Schijndel b3ea108cce Replace some BOOL usage with bool
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9811 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:07 +01:00
Giel van Schijndel ad3b3c9f06 Mark functions internal to data.c as static
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9810 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:07 +01:00
Per Inge Mathisen 018b64662c Forward port a fix from 2.3 for bad visibility data when changing missions
that closes ticket:1546 and closes ticket:1524


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9809 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:06 +01:00
Per Inge Mathisen 823cf96eeb semperfi AI: Rewrite base expansion code - teach AI to spend like a drunken sailor when it
has too much power on its hands. Fix some bugs. Guide it to research mg tower and the first
power upgrade.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9807 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:06 +01:00
Cyp f4ed16feea logical: Use graphics time for spinning on victory. Makes victory animation smoother.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9805 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:05 +01:00
Per Inge Mathisen 90b398b3d0 Revert r9800 - if you did remake your keymap after this commit, re-remake it again.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9804 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:05 +01:00
Cyp d5a69618ce logical: Fix bug in confusing illogical mess of random units which caused (at least) VTOLs to roll.
Closes ticket:1586.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9803 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:05 +01:00
Buginator 468c0b7c6b Thy creator creates (r8069) and now I must show him the inevitable.
Reset your keymaps, debug mode enabled, select thy subject and hit left shift delete :)



git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9800 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:05 +01:00
Buginator b3b29140a2 Take into account if a user is upgrading the factory when deciding if we should drop a artifact or not.
fixes the issue in r9786

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9794 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:05:01 +01:00
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