Commit Graph

6657 Commits (fbd7ba368a7367e6dde52ef38faa9d71f321b531)

Author SHA1 Message Date
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
Guangcong Luo be47ec5bfa Increase max game limit from 12 to 18 - now supported by new larger lobby!
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8964 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00
Guangcong Luo 9d1c1f4cc1 Fix bug #1327 - players list doesn't appear sometimes.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8961 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00
Guangcong Luo fc94a37432 Fix bug #1325 - confusing research icons for some missile upgrades.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8960 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00
dak180 d1776d650d Add a "Make DMGs for Release" target to the xcode project.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8958 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00
Giel van Schijndel 2b8c85a686 Include source:trunk/autorevision.conf in `make dist`
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8956 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:01 +01:00
Christian Ohm 18294ffdc7 Update translations.
Also include po/stamp-po, to prevent the .po files from being changed during
the build process.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8954 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:01 +01:00
Giel van Schijndel f83b2dbd79 Remove po/stamp-po from the ignore lists per cybersphinx's request (he uses git-svn)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8952 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:00 +01:00
Giel van Schijndel 0705cbdf35 Don't perform additional dependency resolving for the installer when we're not building the installer...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8948 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:00 +01:00
Giel van Schijndel f0fb5d2168 Trac plugin TicketValidEmail:
* Reject e-mail addresses matching /^\w+@example\.(org|net|com)$/ (see #1317)
 * Suggest logging in as alternative to using a valid e-mail address for the reporter field

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8947 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Giel van Schijndel f0aacfd6a8 Add a new Trac plugin: TicketValidEmail
Extends Trac to only accept anonymous tickets when the reporter name is a valid RFC822 e-mail address.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8946 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Christian Ohm 3637a83e38 Remove stray parenthesis.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8945 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Per Inge Mathisen 3190fb0ab6 Fix warnings
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8941 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Guangcong Luo f69d38b4f2 Fix bug #1312 - forgot to commit multiint.c
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8940 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Guangcong Luo e372d3d44e Fix bug #1311 - typos in netplay.c
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8939 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Guangcong Luo f2e9a412ac I've discovered why the netcode is so unstable. Everthing just assumes it'll be successful. At one point, there's an infinite loop waiting for an accept message. No possibility of receiving a rejection message, no timeout, nothing. At another point, the host just overwrites an existing player, if the game is full. I've fixed most of the ones I came into contact with, but there are probably many more left.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8938 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:58 +01:00