Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 28, 2009
  1. @buginator

    backport r7136, & r7149 to netplay

    buginator authored
    ---
    Introduce ASSERT_OR_RETURN, a macro to assert on an expression, and assert() and then return if it fails,
    but only assert() in debug builds.
    --
    Fix compile on MSVC. Cannot use #ifdef inside a macro.
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7577 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on May 27, 2009
  1. @buginator

    Add a new translation: zh_TW.po by chtsau

    buginator authored
    Closes ticket:239 and ticket:439 as well.
    
    Thanks!
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7564 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on May 23, 2009
  1. @buginator

    backport r7513-r7522, r7524-r7525

    buginator authored
    Only use abort() for fatal conditions: abort() cleanup patch.
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7526 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on May 22, 2009
  1. @buginator

    backport r7487-r7498

    buginator authored
  2. @buginator
  3. @buginator

    backport r7481-r7487

    buginator authored
    On certain mission types (limbo & expand) we still have valid map data that is saved in-between the sub missions, and the radarblip drawing code didn't filter things that are outside the current scroll limits of the map.
    --
    Excise code of useless abort() & use ASSERT_OR_RETURN to prevent GIGO, and also fix miscellaneous issues of removing '\n', 'watermelon', and other things that made by eyes bug out.
    
    *NOTE*, there should be no logic changes besides converting ASSERT() to ASSERT_OR_RETURN()!
    
    
    --
    Use ASSERT_OR_RETURN to prevent GIGO, and also fix miscellaneous issues of removing '\n', 'watermelon', and other things that made by eyes bug out.
    
    *NOTE*, there should be no logic changes besides converting ASSERT() to ASSERT_OR_RETURN()!
    
    
    --
    Check if the unit has weapons, before trying to see what weapons they have.
    
    Fixes ticket:523
    
    
    fixes ticket:499
     
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7488 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on May 21, 2009
  1. @buginator

    Backport r7476-r7479

    buginator authored
    Using ASSERT_OR_RETURN macro to prevent GIGO (Garbage in, Garbage out).
    --
    Fix strlcpy() & strlcat() to use ASSERT_OR_RETURN
    --
    apply a bug fix patch from travisellett which fixed a minimap / radar issue.
    
    Closes ticket:333
    
    Thanks for the patch!
    --
    Fix windows crash dump report, by returning back a c_str() instead of a string.
    
    Fixes ticket:519
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7480 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on May 16, 2009
  1. @cybersphinx
  2. @buginator
  3. @buginator

    When on a mission, and the map size changes (*scroll limits change mi…

    buginator authored
    …dgame*), we need to make sure that the radar buffer gets reset to the new size of the map.
    
    Fixes ticket:479 (again) and also fixes ticket:494 (which is basically a duplicate of ticket:479)
    
    NOTE: need a Expand_Limbo mission savegame to more fully test this. See notes in structure.c
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7443 4a71c877-e1ca-e34f-864e-861f7616d084
  4. @buginator
Commits on May 15, 2009
  1. @cybersphinx
  2. @buginator

    merging r7429-r7431

    buginator authored
    ---
    *Updated* pl.po file by Makary.
    closes ticket:241
    
    NEW Slovenian translation sl.po file by ThomasCarstein.
    Closes ticket: 392
    
    Applying pt_BR.po update by Tucalipe
    closes ticket:350
    ---
    There is *no* reason to use abort() or exit() on failed command line parsing parameters.  We just return false instead.
    
    
    
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7432 4a71c877-e1ca-e34f-864e-861f7616d084
  3. @buginator

    backport r7427

    buginator authored
    We now return the truncated string, instead of returning NULL if the string is too long.
    
    fixes ticket:493
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7428 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on May 14, 2009
  1. @buginator

    Backport r7413

    buginator authored
    Don't allow the transporter to be controlled in SP games.
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7415 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on May 13, 2009
  1. @buginator

    Backport r7402

    buginator authored
    Fixes ticket:479
    
    The radar can expand its size during certain missions, also we only assert if this happens in a skirmish/MP game, since we currently do not allow levels to change in those modes.
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7404 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on May 11, 2009
  1. @buginator

    backport r7380, "Properly fix intfac.img & infac.h

    buginator authored
    After a short (*cough*) delay, finally add Zarel's new icons from ticket:247.  (fixes ticket:247) 
    
    Move leave / disconnect icon to top(ish) right of screen."
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7393 4a71c877-e1ca-e34f-864e-861f7616d084
  2. @buginator

    backport:

    buginator authored
    r7309, "Add error messages in case the values we have read in from the config file don't match the default values."
    r7311, "Use strcasecmp() not stricmp()"
    r7313, "Get rid of magic numbers, and use #define instead."
    r7334, "Let's not underflow a unsigned variable.
    Broken in r6969"
    r7336, "* Don't abort() because a string can't be found.
    * Don't abort() because we cannot find a Droid template."
    r7341, "Work around for drivers that report VBO, but don't have full openGL 1.5 implementation.
    
    This is the case for the current radeon open source drivers, and possibly others.
    
    Patch by: suokko (Pauli Nieminen)
    see: http://developer.wz2100.net/ticket/216
    reference ticket:216"
    r7358, "Workaround for a bug in the script files that abuses the DORDER_BUILD order for demolition.
    
    The problem is with the player*.slo file(s), but putting off a proper fix until the LUA translation is completed."
    r7381, "Fix prototype to match function's definition.
    (was missing a const)"
    r7382, "Change non-fatal debug messages in the sound code from LOG_ERROR to LOG_WARNING instead.
    fixes ticket:427"
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7392 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on Apr 27, 2009
  1. @buginator

    whoops! :o I applied the wrong patch.

    buginator authored
    Reverting.
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7203 4a71c877-e1ca-e34f-864e-861f7616d084
  2. @buginator

    die dpid die!

    buginator authored
    Which means, there should be no more references to dpid.
    *No* real code changes, only renaming of variables
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7180 4a71c877-e1ca-e34f-864e-861f7616d084
  3. @buginator
  4. @buginator

    Add define for NET_HOST_ONLY, and use that when we need to send infor…

    buginator authored
    …mation only to the host, and use this instead of magic numbers on init.
    
    It is a compliment to NET_ALL_PLAYERS.
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7176 4a71c877-e1ca-e34f-864e-861f7616d084
  5. @buginator

    Fix (client) player position bug, and also fix it so clients only sen…

    buginator authored
    …d color & position data to host, and not to all other players.
    
    Host is the one that is responsible for sending that info to all the other players.
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7175 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on Apr 26, 2009
  1. @buginator

    backport r7172

    buginator authored
    closes ticket:37  Which had a bad case of bitrot.
    
    Adds a new console command 'showorders'  (Must be in debug/cheat mode)
    This toggle allows realtime information on the selected unit, and always shows the order / action it is doing.  When the unit is deselected, then it doesn't display anything.
    
    
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7173 4a71c877-e1ca-e34f-864e-861f7616d084
  2. @buginator

    Backport r7169

    buginator authored
    Fixes ticket:419
    
    Add check to make sure logfile is available.
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7171 4a71c877-e1ca-e34f-864e-861f7616d084
  3. @buginator

    backport 7166

    buginator authored
    Fixes ticket:421
    --host works correctly again.
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7167 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on Apr 24, 2009
  1. @buginator

    backport 6969

    Gerard Krol authored buginator committed
    Fix an array out of bounds error (off by one) that could occur when picking up an artifact during a multiplayer game.
    
    From: Gerard Krol <gerard_@gna.org>
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7162 4a71c877-e1ca-e34f-864e-861f7616d084
  2. @buginator

    backport r7159

    buginator authored
    Fixes ticket:369
    
    Don't always assume that the (lobby) server will not be available, and give up on all future attempts.
    We now reset the flag on NETclose().
    
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7161 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on Apr 23, 2009
  1. @perim
  2. @buginator

    backport 7150

    buginator authored
    Disable password button for skirmish games.
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7152 4a71c877-e1ca-e34f-864e-861f7616d084
  3. @buginator

    backport 7146

    buginator authored
    Remove superfluous asserts concerning unit's names.
    
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7147 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on Apr 22, 2009
  1. @buginator

    backport r7120

    buginator authored
    excise the codebase from some C99 format specifiers.
    (%zu -> %lu)
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7122 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on Apr 21, 2009
  1. @buginator

    Don't broadcast join messages to everyone. Host is the only one that …

    buginator authored
    …should receive this info.
    
    Remove a NETBroadcastPlayerInfo(), since it causes a broken socket, and isn't really needed in this function.  Only Host needs to know this info.
    
    Fix missing entries in netlog
    
    Comment out (for now) routine introduced in r7058 since it voids map selection.  Unsure what the intention of said routine is for.
      
    
    
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/netplay@7114 4a71c877-e1ca-e34f-864e-861f7616d084
Commits on Apr 19, 2009
  1. @buginator
  2. @buginator
Something went wrong with that request. Please try again.