Per Inge Mathisen
93f1d85e2d
Add new debug log category for saving whatever was sent to console.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9102 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:29 +01:00
Guangcong Luo
357de2a6cb
Apply patch #1330 provided by Cyp - Add unicode support to text boxes and game-chat
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9101 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:29 +01:00
Guangcong Luo
406d82d15e
Optimize reloadMPConfig() and comment it better.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9099 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:29 +01:00
Guangcong Luo
acc1c8f155
Don't save MP game configuration settings if you're not the host.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9097 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:28 +01:00
Guangcong Luo
c139a431ff
Only show "You're the host" warning for real MP games. Also correct grammar of "You're the host" warning.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9096 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:28 +01:00
Guangcong Luo
90725264c9
Allow host to choose team for any player.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9093 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:28 +01:00
Guangcong Luo
70ab25e9e6
Make sure kicks are processed correctly.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9090 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:28 +01:00
Guangcong Luo
64e2425cf0
Update trunk VersionString.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9088 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:28 +01:00
Guangcong Luo
809149c437
Add feedback for the 'mouseflip' and 'shakey' commands.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9086 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:27 +01:00
Guangcong Luo
6749d42eec
Fix autoclick on IP dialog; add a cancel button to IP dialog.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9084 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:27 +01:00
Guangcong Luo
dd898dfbad
Fix bug #1250 - beacons seen by people who shouldn't see them.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9082 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:27 +01:00
Christian Ohm
19160be495
Update Estonian translation.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9078 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:27 +01:00
Per Inge Mathisen
08c2c1556a
The "superpower" cheat now gives you exactly 100 000 power to match the new limit.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9076 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:27 +01:00
Guangcong Luo
3e5998db68
Cap power at 100,000. (There was forum consensus!)
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9074 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:27 +01:00
Christian Ohm
e089ceefca
Update translations.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9070 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:26 +01:00
Christian Ohm
e0a74027e5
Change ASSERT to ASSERT_OR_RETURN in delSocket.
...
Closes #1368 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9068 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:25 +01:00
Guangcong Luo
a3f5fd403c
Fix bug #1220 - Transports don't fly to delivery point.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9067 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:25 +01:00
Guangcong Luo
0b4c58bd0b
Commit patch #1375 - don't allow players to ignore kicks, add a kick button to the MP game setup screen, prevent spoofing a message from a different source, don't show "player left" message unless a player actually left.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9065 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:25 +01:00
Christian Ohm
0eb8af379d
dealWithLMBObject: Don't assert on valid values.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9062 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:25 +01:00
Per Inge Mathisen
7b63597be1
Add (back) fog of war to the other radar modes. Stop radar from changing size when
...
changing mode. Closes ticket:1372
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9058 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:24 +01:00
Per Inge Mathisen
ada555a8d0
Add two new features to challenges, 1) to enable/disable changing your own position,
...
defaulting to not allowing user to change his or her position, and 2) to allow the
challenge to specify starting positions for each AI. Previously the user could freely
change starting position on all maps. Now this feature is only allowed on the "No Place
To Hide" challenge. Also move the starting AIs for "Hide Behind Me" challenge to flank
the starting player.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9056 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:23 +01:00
Guangcong Luo
c66c08e58d
Prevent messages sent to allies appearing twice in console.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9054 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:23 +01:00
Guangcong Luo
7f9cdd61e0
Fix possible crash when removing droids from transporter while calling reinforcements from an away mission.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9052 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:23 +01:00
Guangcong Luo
6c11cf0d9b
Clicking on empty space no longer cancels the loadsave dialog.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9051 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:23 +01:00
Guangcong Luo
0d01c89aba
scrRemoveMessage sometimes asserts when videos aren't available. Asserts are automatically fatal on Mac OS X and Linux, so demoted it to an error.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9049 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:22 +01:00
Per Inge Mathisen
cec4b05497
Revert r8904 - nested multimessage on/off patch
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9045 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:22 +01:00
Christian Ohm
4379fdcbd0
Fix possible segfault in miniupnp.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9041 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:22 +01:00
Christian Ohm
cd577664ca
Add Ukrainian translation.
...
Closes #947 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9039 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:22 +01:00
dak180
72ccb7c384
PNG optimization, also known as 'Crush them all!'.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9038 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:21 +01:00
Christian Ohm
49496fa3eb
Fix one declaration after statement warning.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9036 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:10 +01:00
Christian Ohm
b6fe392071
Add -Wdeclaration-after-statement to the default warnings.
...
Should help prevent breaking the build for people who have to use crappy
compilers. Exclude lib/exceptionhandler, that contains C99 non-Windows code in
places.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9035 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:10 +01:00
Guangcong Luo
192ade3cc0
Fix bug #1361 - tutorial can be unable to be finished if user clicks through design screen too quickly.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9033 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:10 +01:00
Guangcong Luo
aaf2c47031
Fix bug #1359 - "Host dropped" message can appear in singleplayer.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9030 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:09 +01:00
dak180
7951c86277
More DMG speed improvements.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9026 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:09 +01:00
dak180
996309fd29
Better version string formatting.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9024 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:09 +01:00
dak180
dbb20314e2
Try to make DMGs faster.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9018 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:09 +01:00
Guangcong Luo
a815eaa82c
Fix bug #1339 - trunk and 2.3-branch shouldn't be able to play with each other.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9017 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:09 +01:00
Guangcong Luo
4372db5151
Fix bug #1352 - modified templates aren't saved sometimes.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9015 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:09 +01:00
Christian Ohm
c31d7e502f
Do UPnP detection on "host game", not during startup.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9011 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:08 +01:00
Christian Ohm
069ab3cdbc
Only forward port 2100, 9990 is not needed.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9010 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:08 +01:00
Per Inge Mathisen
ec56dce1a4
Remove excessive logging. Closes ticket:1328
...
Add back traffic shaping for outgoing sync messages. Removed as a test in r8522
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9007 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:08 +01:00
Per Inge Mathisen
65dff22be0
Utilize the fading code used for exploring tiles to fade in and out the darkening of tiles for true fog of war view. It
...
simplifies the fading code significantly, and removes some optimizations however and may cause more CPU usage on larger
maps. Closes ticket:1296
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9004 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:08 +01:00
Christian Ohm
254f657427
Really fix #1338 (crash when joining IP).
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8997 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:08 +01:00
Christian Ohm
4c7554e9ed
Update Polish translation.
...
Closes #1347 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8996 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:07 +01:00
Christian Ohm
53b87689e0
Update Estonian translation.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8995 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:07 +01:00
Christian Ohm
bcfd5a3829
Update translations.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8994 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:07 +01:00
Christian Ohm
0e8107e3a1
Fix grammar, typos, don't translate kickPlayer messages.
...
Those are only shown in the log anyway, the in-game messages are still
translated.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8993 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:06 +01:00
Guangcong Luo
cd47405d83
Allow host to choose colors/positions for other players, without crashing this time. ;)
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8992 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:05 +01:00
Guangcong Luo
36c85d7c78
Fix bug #709 - lobby server doesn't update player count when player leaves a game.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8989 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:05 +01:00
dak180
8bf87d1ddd
More useful warning messages in the xcode build.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8986 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:05 +01:00