Per Inge Mathisen
|
f55c3ad471
|
Add INI file parser (iniParser -- version 3.0b (beta) by N.Devillard)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7902 4a71c877-e1ca-e34f-864e-861f7616d084
|
2009-09-27 19:06:53 +02:00 |
Per Inge Mathisen
|
bd937b8515
|
Add new assert to try to trigger bug in ticket:738 earlier.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7901 4a71c877-e1ca-e34f-864e-861f7616d084
|
2009-09-27 19:06:52 +02:00 |
Per Inge Mathisen
|
639f21ed21
|
Add type of unit to assert message for bug in ticket:738
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7898 4a71c877-e1ca-e34f-864e-861f7616d084
|
2009-09-27 19:06:52 +02:00 |
Giel van Schijndel
|
7952b39be8
|
netplay address printing:
* Don't cast if we can safely alter the format specifiers
* Fix a spelling error: 'address famliy' -> 'address family'
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7897 4a71c877-e1ca-e34f-864e-861f7616d084
|
2009-09-27 19:06:52 +02:00 |
Per Inge Mathisen
|
ae8ec8652c
|
Fix division by zero crash in visibility code. Found in local LAN game.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7893 4a71c877-e1ca-e34f-864e-861f7616d084
|
2009-09-27 19:06:52 +02:00 |
Guangcong Luo
|
35155f3e52
|
Index terrain textures (~68 MB -> ~22 MB); idea suggested by i-NoD.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7891 4a71c877-e1ca-e34f-864e-861f7616d084
|
2009-09-27 19:06:50 +02:00 |
Guangcong Luo
|
95ce6a6fde
|
Fix crash from accessing an invalid object ID in intGetObject (fix found by cybersphinx)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7890 4a71c877-e1ca-e34f-864e-861f7616d084
|
2009-09-27 19:06:37 +02:00 |
Guangcong Luo
|
a7cf3b6edf
|
Stop rotation when "Continue" is pressed after winning a multiplayer/skirmish game.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7888 4a71c877-e1ca-e34f-864e-861f7616d084
|
2009-09-27 19:06:37 +02:00 |
Guangcong Luo
|
cfda22f528
|
Fix compile error introduced by r7884
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7886 4a71c877-e1ca-e34f-864e-861f7616d084
|
2009-09-27 19:06:37 +02:00 |
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 |