Commits on Feb 28, 2011
  1. make -Cpo update-po

    Cyp committed Feb 28, 2011
  2. Update ally research information in real-time.

    Cyp committed Feb 28, 2011
    Old behaviour was to wait for you to click on something (for example, to start the research), before showing that the ally was already researching.
  3. Fix research sharing.

    Cyp committed Feb 28, 2011
    Fixes ticket:2508.
  4. Fix gates.

    Cyp committed Feb 28, 2011
    It is now possible to go through gates when, and only when, they are open, and friendly gates are always ignored by pathfinding.
    Fixes ticket:2486.
  5. Fix cyborgs and inital truck design being displayed as free.

    Cyp committed Feb 28, 2011
    Fixes ticket:2510.
  6. Don't send GAME_BUILDFINISHED when in synch.

    Cyp committed Feb 28, 2011
    Was causing the second module to instantly finish, with the structure at 10% body points, if queueing two module build orders in a row for the same structure.
    Fixes ticket:2480.
  7. Do memset of array, not MAX_PLAYERS elements of NetPlay…

    Cyp committed Feb 28, 2011
    MAX_PLAYERS was less than MaxGames, so it wouldn't memset too much, at least.
Commits on Feb 27, 2011
  1. Remove GAME_SECONDARY in favour of GAME_DROIDINFO, which is sent more…

    Cyp committed Feb 27, 2011
    … efficiently for multiple droids.
    Instead of one message per droid, it sends one message for all droids, with the list of droids encoded as droid ID deltas.
  2. Fix crash in moveBestTarget when sMove.Position == 0.

    Cyp committed Feb 27, 2011
    The moveBestTarget function could be called while sMove.Position == 0, if moveCalcBlockingSlide detected a gate and changed the status to MOVEPAUSE.
    To reproduce the crash (before this commit), add a bunch of gates and a bunch of droids, and have the droids patrol near the gates, and wait a while.
    Renamed sMove.Position to sMove.pathIndex to reduce confusion and to verify all uses of it.
  3. Try to prevent patrolling/scouting droids from forgetting to stop whe…

    Cyp committed Feb 27, 2011
    …n encountering something.
Commits on Feb 26, 2011
  1. Use QuesoGLC's pkg-config file for build configuration.

    Safety0ff committed Feb 26, 2011
    Closes #2458.
  2. If a droid has ID 0, change it to the arbitrary ID 0xFEDBCA98 after t…

    Cyp committed Feb 26, 2011
    …he assertion.
    Fixes ticket:2498.
  3. Don't syncDebug isHumanPlayer.

    Cyp committed Feb 26, 2011
    Caused desynch dumps when players leave.
    Fixes ticket:2501.
  4. Save/restore psBlockMap and psAuxMap during missions, to prevent weir…

    Cyp committed Feb 26, 2011
    …d crashes at the end of missions.
    Mission stuff is very confusing, but whether or not it is correct now, it at least doesn't crash.
Commits on Feb 25, 2011
  1. Update translations.

    cybersphinx committed Feb 25, 2011
  2. Exit if shaders are not supported, and revert "Hack in the team colou…

    Cyp committed Feb 25, 2011
    …r when shaders aren't supported."
    This reverts commit e0617af.
    If you are building from source, and you cannot upgrade your graphics drivers, you can revert this revert, and the game may be playable for now.
  3. Change "typedef struct {...} Blah;" into "struct Blah {...};".

    Cyp committed Feb 25, 2011
    Removed a few structs due to disuse.
  4. Bump year.

    Cyp committed Feb 25, 2011
    sed -i 's/\(Copyright (C) .*-201\)0\( *Warzone 2100 Project\)/\11\2/' {src,lib/*{,/*}}/*.{c,cpp,h,y,l}
  5. Fix VTOLs sometimes forgetting to rearm before flying off.

    Cyp committed Feb 25, 2011
    A VTOL would be waiting for a rearming pad to become available, but also happen to be covering a rearming pad, and get asked to clear off since it wasn't actually using that pad. The VTOLs would then get confused, and fly off as if it had rearmed itself already.
Commits on Feb 24, 2011
  1. Fix FEAT_SKYSCRAPER features on TER_CLIFFFACE tiles remaining as bloc…

    Cyp committed Feb 24, 2011
    …king for air units even after being destroyed.
  2. Fix ping in pre-game lobby screen.

    Cyp committed Feb 24, 2011
    Ping frequency was based on gameTime, which is constant and meaningless if the game has not started.
    Fixes ticket:2375.
  3. Fix scores usually being displayed as 0 in multiplayer.

    Cyp committed Feb 24, 2011
    Scores were 0 due to some complicated score synchronisation code.
    Fixed mainly by removing a lot of the score synchronisation code.
Commits on Feb 23, 2011
  1. Add assertion that droid ID is not 0.

    Cyp committed Feb 23, 2011
    Seems that weird stuff is possible when a droid has an ID of 0.
    Finding and fixing all places that assume a droid cannot have an ID of 0 might be more correct, but adding an assertion is easier.
  2. Increase recycled experience storage.

    cybersphinx committed Feb 23, 2011
    Also make constants for the unit limits. The experience storage is a separate
    value, to be able to change unit limits without breaking savegames.
Commits on Feb 22, 2011
  1. Fix research being free due to incorrect shift direction in aiUpdateS…

    Cyp committed Feb 22, 2011
    Was >>32, should have been <<32, broke in 466943b.
    Cleaned up some casts a bit, too.