Guangcong Luo
91b7bd2b99
Fix crash when attempting to leave a null group.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7884 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:37 +02:00
Guangcong Luo
081e5ab566
Fix crash when attempting to read a sensor tower's droid type.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7882 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:37 +02:00
Christian Ohm
69c61c2d3e
Update French translation. Closes #487 .
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7879 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:36 +02:00
Christian Ohm
f52bbccaf4
Update Simplified Chinese translation. Closes #483 .
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7878 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:36 +02:00
Christian Ohm
85cca5bf75
Fix Polish translation. Closes #530 .
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7876 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:36 +02:00
Christian Ohm
732a030544
Undef _XOPEN_SOURCE before including config.h in wzglobal.h.
...
Override the system headers, since autoconf defines this when needed.
Fixes #544 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7874 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:36 +02:00
Christian Ohm
62fc9784d4
Clarify SQLite warning (refs #552 ).
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7872 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:35 +02:00
Christian Ohm
d6b71f2cf2
Commit Russian translation from Maxim (Raptor9000), and update translations.
...
Fixes #664 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7870 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:35 +02:00
Christian Ohm
383d8612be
Add missing languages for getLanguageName, and if a language is missing, show
...
it in the assert. Fixes #673 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7869 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:34 +02:00
Christian Ohm
17d2c4f000
Fix automake for out-of-source builds
...
Patch by Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7867 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:34 +02:00
Christian Ohm
d7c46a7b3f
Show when a game was saved in a tooltip on the loading screen.
...
Patch by Rawler, closes #682 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7865 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:34 +02:00
Christian Ohm
d34a73a624
Update translations
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7862 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:34 +02:00
Christian Ohm
cb1497c259
Fix a few spelling errors reported by Paul Wise.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7859 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:33 +02:00
Per Inge Mathisen
b230a93976
Fix Spanish translation. Closes ticket:715
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7858 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:32 +02:00
Guangcong Luo
bc01c345af
Fix a bug that caused some keyboard shortcuts to be unusable in multiplayer since they were considered cheats.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7857 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:32 +02:00
Guangcong Luo
6e52b9a01d
Fix bug reported by Beau - NetPlay.playercount could be decremented in situations where it should not, and underflow.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7855 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:32 +02:00
Christian Ohm
bd85f32ba5
Prevent possible out-of-bounds access when out of sockets in NETallowJoining.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7854 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:32 +02:00
Christian Ohm
d70c4a8de2
Initialize some possibly uninitalized variables to make optimized debug builds
...
easier.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7853 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:32 +02:00
Guangcong Luo
89bdf5d8cc
Apply patch #716 - make exceptionhandler.c C90-compliant - patch by stiv.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7850 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:31 +02:00
Guangcong Luo
924ef17242
Fix bug #713 : Can't compile.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7848 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:31 +02:00
Guangcong Luo
1907b3aa73
Fix possible crash in fpathBaseBlockingTile.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7846 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:31 +02:00
Guangcong Luo
0a5b68c4a1
Forwardport r7822 by Buginator to trunk: Add ASSERT_OR_RETURN() to guard against buffer overflow.
...
(Real fix is still needed, and the cause is the unit is trying to build in a invalid area, and the path finding needs to be reset for the droid)
ref ticket:698
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7845 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:31 +02:00
Guangcong Luo
76ee950a03
Fix bug #711 - didn't compile
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7843 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:30 +02:00
Guangcong Luo
a31465c75d
Fix possible buffer overflow in missionFlyTransportersIn and getLandingX/Y.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7841 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:30 +02:00
Guangcong Luo
d5dfdc17e0
Fix bug #691 : Cannot display more than one game from lobby. Also fix a lobby display issue that I thought I already fixed.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7840 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:30 +02:00
Per Inge Mathisen
75026a21ee
Fix bad use of variable inside a debug message. Noticed by cybersphinx.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7838 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:30 +02:00
Per Inge Mathisen
11335e28a9
Add assert-or-return workarounds for some crashes reported by zydonk on the forums.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7835 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:30 +02:00
Per Inge Mathisen
72a10b7cc7
Fix that closes ticket:633 Made research speed and power go haywire if we loaded a game.
...
Patch by i-NoD. Quick fix. Will fix this properly with new savegame format later.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7834 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:29 +02:00
Per Inge Mathisen
a70ba3f2e1
More silly typo fixes
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7833 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:29 +02:00
Per Inge Mathisen
d78d670166
Fix silly typo
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7832 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:29 +02:00
Per Inge Mathisen
929048d54e
Updated Spanish translation by Gustavo Vivas <sabathorn@gmail.com>.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7831 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:28 +02:00
Guangcong Luo
b6bb00f405
Fix possible bug on connection error not clearing old games; reformat surrounding code.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7830 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:28 +02:00
Guangcong Luo
8994b78c6f
More fixes to the options menu (align graphics menu; rephrase colored cursor).
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7827 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:28 +02:00
Per Inge Mathisen
b86f0f85cc
Improve documentation of PLAYER.allocated field. Improve asserts for indexing into some player methods.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7826 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:27 +02:00
Guangcong Luo
5b45d1ac9c
Rename "Reverse Mouse" and "Right-Click Orders" to "Reverse Rotation" and "Switch Mouse Buttons", respectively.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7823 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:27 +02:00
Per Inge Mathisen
edcc7f79a8
Fix erronous description of ASSERT_OR_RETURN.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7821 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:27 +02:00
Guangcong Luo
d805eefed8
New icon for Mac OS X.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7819 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:27 +02:00
Per Inge Mathisen
4966ae5c6a
Fix compile failure on MSVC. Patch by stiv, reported by i-NoD. Closes ticket:662.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7818 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:27 +02:00
Per Inge Mathisen
4d33f6a51d
Add new function to output grayscale PNG images. Needed for ticket:652 net map/savegame format.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7817 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:26 +02:00
Guangcong Luo
d58af93eb5
Fix possible crash in hasCommander()
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7816 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:26 +02:00
Guangcong Luo
1f97005b83
Restore savegame compatibility with TUTMG
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7813 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:26 +02:00
Christian Ohm
dccf60a1bf
Remove some more mentions of TUTMG
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7812 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:26 +02:00
Guangcong Luo
3ee7d16904
Remove another mention of TUTMG.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7809 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:25 +02:00
Guangcong Luo
70431dff3b
Get rid of the scourge of TUTMG once and for all (fixes bug #594 , as well as my sanity). Also get rid of useless multiplayer folder in base.wz.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7807 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:25 +02:00
Guangcong Luo
d913d66cc6
Add 256x256 icon.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7805 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:25 +02:00
Per Inge Mathisen
63c94de726
Fix bug introduced in r7737 where we would iterate wrongly over uninitialized effects during
...
shutdown, and badly initialize new nodes in the effect chunks. This caused a counter underflow
and crash during any game save. This closes ticket:640 for real this time.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7801 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:25 +02:00
Per Inge Mathisen
fc78b8326e
No longer save most game state as tagfile format (wzs). Closes ticket:640 reported by Samowar.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7800 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:24 +02:00
Freddie Witherden
54f3d2e9b8
Get Mesa offf of my lawn. Update the Xcode project.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7789 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:24 +02:00
Christian Ohm
a5c67098a7
Fix Italian translation and run update-po
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7784 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:24 +02:00
Buginator
7044fb1ca2
Make sure we take xOffset into account, we don't always start at 0 for the FMV text.
...
fixes ticket:625
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7781 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:23 +02:00