Commit Graph

6872 Commits (27534ac95a839c265942c32886ceb6e1c5533eeb)

Author SHA1 Message Date
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
Guangcong Luo 13682eaa92 Fix bug #1338 - crash when joining IP.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8984 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:05 +01:00
Christian Ohm 9b554a2d6e Reject differing game versions, not the same.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8981 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:05 +01:00
Christian Ohm 92f53f68ff Shorten autokick message when version differs.
Was too long to be displayed completely.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8979 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:05 +01:00
dak180 972c6d397c Correct copyright strings
DMG script refinements

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8978 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:04 +01:00
Guangcong Luo e74168eb36 Make it easier to use cheat codes in single-player mode.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8977 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:04 +01:00
Guangcong Luo 8e0e0ebf3f Some fixes to the new turnOffMultiMsg code.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8974 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:04 +01:00
Guangcong Luo d193b397fc Meant to commit these files in r8971.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8973 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:03 +01:00
Guangcong Luo 5bb3fc6132 Compare netcode versions rather than version strings - allows updating version strings while retaining netcode compatibility. Bump netcode version to 2.31.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8971 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:03 +01:00
Guangcong Luo 9037b0e236 Players (especially host) shouldn't autoquit just because he/she lost - they should stick around - maybe they want to chat.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8970 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:03 +01:00
Guangcong Luo e42645e66b Revert r8964 - apparently increasing the maximum number of games visible in the lobby breaks savegame compatibility.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8968 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:03 +01:00
Guangcong Luo 1854b0add0 Fix bug #1304 - crash when loading units from offworld.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8965 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00