Permalink
Commits on Nov 25, 2010
  1. make -Cpo update-po

    Cyp committed Nov 25, 2010
  2. Do not keep unused structure variables in memory, and document them a…

    …s being unused in the data header.
    perim committed Nov 25, 2010
  3. Fix clients and/or host crashing due to the last client clicking read…

    …y too many times. Based on patch by Buggy.
    
    Throw in a few checks for changing player position or team, too.
    
    Closes ticket:2346.
    
    Changelog: Fixed crash for all players when the last player clicks "Ready" too many times.
    Cyp committed Nov 25, 2010
  4. Re: fccb548

    Really remove all references to it.
    buginator committed Nov 25, 2010
Commits on Nov 24, 2010
  1. Initialise structure direction before using the structure width/bread…

    …th in auxStructureBlocking().
    
    Fixes unsynchronised errors in the blocking map when building cyborg factories or lassats.
    
    Closes ticket:2290. Refs ticket:2203.
    Cyp committed Nov 24, 2010
  2. When clearing AUXBITS_THREAT, clear AUXBITS_AATHREAT too.

    Refs ticket:2203.
    Cyp committed Nov 24, 2010
  3. Make aquatic ground heights be deterministic.

    Don't know whether aquatic ground heights could affect game state, but changing in case, and since it means less to debug.
    
    Also, removed unused parts of src/environ (which is pretty much everything).
    src/environ is now even more useless, and should probably be deleted in a future commit.
    Cyp committed Nov 24, 2010
  4. Update translations.

    cybersphinx committed Nov 24, 2010
  5. Korean translation update by urgood2.

    Closes #2098.
    cybersphinx committed Nov 24, 2010
  6. Allow process to be traced for the crash handler.

    Some distributions disallow this (newer Ubuntu for example), so the gdb call
    didn't output anything useful. Based on a patch by Safety0ff.
    (cherry picked from commit 023ea5b)
    cybersphinx committed Nov 24, 2010
Commits on Nov 22, 2010
  1. Only clear player name when needed.

    (When player drops / leaves, you will still see their name instead of the default color name).
    
    Also fix a log line.
    
    git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/2.3@11495 4a71c877-e1ca-e34f-864e-861f7616d084
    (cherry picked from commit 847edec)
    buginator committed with Cyp Aug 20, 2010
  2. Fix danger map threading, pointer-to-int compile -Werror warning, and…

    … dangerFloodFill running for player -1.
    
    Refs ticket:2203.
    Cyp committed Nov 22, 2010
  3. Reset colors after drawing droid selections.

    Closes #2341.
    Safety0ff committed Nov 22, 2010
Commits on Nov 21, 2010
  1. Uh. I hate git.

    perim committed Nov 21, 2010
  2. Rework the cached information in psTiles to be easily copied for use …

    …in threads. Put danger map processing in a separate work thread. See ticket:2203
    perim committed Nov 21, 2010
  3. Initialise psFeature->lastHitWeapon to avoid valgrind warning found b…

    …y Safety0ff.
    
    Also changed lastHitWeapon from UDWORD to WEAPON_SUBCLASS.
    Cyp committed Nov 21, 2010
  4. Handle floating point connector coordinates as well as integer (ignor…

    …es the floating point part).
    
    Correctly handles "42 127 -3", "42.999 127. -3.1415926535897932384626" and "42... 127.0.0.1 -3.0..0...0" as (42, 127, -3).
    Doesn't handle the floating point and integer mixture "42 127.0 -3".
    Cyp committed Nov 21, 2010
Commits on Nov 20, 2010
  1. Change connector locations and pie_TRANSLATE from floats to ints.

    Probably fixes desynchs involving different projectile sources.
    
    Hope no floats are left to affect the game state...
    Cyp committed Nov 20, 2010
Commits on Nov 19, 2010
  1. Fix multiturret droids trying to look at invalid weapon slots of stru…

    …ctures when looking at their targets.
    
    Fixes a desynch when multiturreted droids are present.
    Cyp committed Nov 19, 2010
  2. Fix broken check for giving too many trucks to a player. Caused desyn…

    …chs due to players not agreeing who owned what.
    
    The check against selectedPlayer was incorrect, it caused clients with max trucks + 1 to not believe anyone could give trucks to anyone else.
    
    Introduced in d6b47d1.
    
    Changelog: Really fix truck limit when giving trucks.
    Cyp committed Nov 19, 2010
  3. Fix VTOLs teleporting to a planet 2.5 million tiles up, due to missin…

    …g cast before division in last commit.
    Cyp committed Nov 19, 2010
Commits on Nov 18, 2010
  1. Fix desynch due to deltaGameTime not being deterministic during messa…

    …ge processing.
    
    Fixed by setting deltaGameTime = 0 in src/loop.c, after each game-state update.
    Also, cleaned up lib/gamelib/gtime slightly.
    
    To reproduce locally, start 2 clients, set one to 20x speed, the other to normal speed, and create droids on uneven terrain using the debug menu.
    Cyp committed Nov 18, 2010
Commits on Nov 17, 2010
  1. Spanish translation update by Saberuneko.

    Closes #2327.
    cybersphinx committed Nov 17, 2010
Commits on Nov 16, 2010
  1. Fix broken mapObjIsAboveGround and incorrect lighting normals due to …

    …ELEVATION_SCALE.
    
    Changelog: Fix projectiles going through terrain due to bad terrain height calculations.
    Changelog: Fix terrain shading.
    Cyp committed Nov 16, 2010