Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 28, 2011
  1. @Cyp
  2. @Cyp

    make -Cpo update-po

    Cyp authored
  3. @Cyp

    Update ally research information in real-time.

    Cyp authored
    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.
  4. @Cyp

    Fix research sharing.

    Cyp authored
    Fixes ticket:2508.
  5. @Cyp

    Fix gates.

    Cyp authored
    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.
  6. @Cyp

    Fix cyborgs and inital truck design being displayed as free.

    Cyp authored
    Fixes ticket:2510.
  7. @Cyp
  8. @Cyp

    Don't send GAME_BUILDFINISHED when in synch.

    Cyp authored
    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.
  9. @Cyp

    Do memset of NetPlay.games array, not MAX_PLAYERS elements of NetPlay…

    Cyp authored
    ….games.
    
    MAX_PLAYERS was less than MaxGames, so it wouldn't memset too much, at least.
Commits on Feb 27, 2011
  1. @Cyp

    Remove GAME_SECONDARY in favour of GAME_DROIDINFO, which is sent more…

    Cyp authored
    … 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. @Cyp

    Fix crash in moveBestTarget when sMove.Position == 0.

    Cyp authored
    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. @Cyp

    Try to prevent patrolling/scouting droids from forgetting to stop whe…

    Cyp authored
    …n encountering something.
  4. @perim
  5. @perim
Commits on Feb 26, 2011
  1. @Safety0ff
  2. @Cyp

    If a droid has ID 0, change it to the arbitrary ID 0xFEDBCA98 after t…

    Cyp authored
    …he assertion.
    
    Fixes ticket:2498.
  3. @Cyp

    Don't syncDebug isHumanPlayer.

    Cyp authored
    Caused desynch dumps when players leave.
    
    Fixes ticket:2501.
  4. @Cyp

    Save/restore psBlockMap and psAuxMap during missions, to prevent weir…

    Cyp authored
    …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.
  5. @Cyp
Commits on Feb 25, 2011
  1. @cybersphinx

    Update translations.

    cybersphinx authored
  2. @Cyp

    Exit if shaders are not supported, and revert "Hack in the team colou…

    Cyp authored
    …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. @Cyp

    Change "typedef struct {...} Blah;" into "struct Blah {...};".

    Cyp authored
    Removed a few structs due to disuse.
  4. @Cyp
  5. @Cyp

    Bump year.

    Cyp authored
    sed -i 's/\(Copyright (C) .*-201\)0\( *Warzone 2100 Project\)/\11\2/' {src,lib/*{,/*}}/*.{c,cpp,h,y,l}
  6. @Cyp
  7. @Cyp
  8. @Cyp

    Fix VTOLs sometimes forgetting to rearm before flying off.

    Cyp authored
    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. @Cyp

    Fix FEAT_SKYSCRAPER features on TER_CLIFFFACE tiles remaining as bloc…

    Cyp authored
    …king for air units even after being destroyed.
  2. @cybersphinx
  3. @cybersphinx
  4. @Cyp

    Fix ping in pre-game lobby screen.

    Cyp authored
    Ping frequency was based on gameTime, which is constant and meaningless if the game has not started.
    
    Fixes ticket:2375.
  5. @Cyp

    Fix scores usually being displayed as 0 in multiplayer.

    Cyp authored
    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. @Cyp

    Add assertion that droid ID is not 0.

    Cyp authored
    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. @cybersphinx

    Increase recycled experience storage.

    cybersphinx authored
    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. @Cyp

    Fix research being free due to incorrect shift direction in aiUpdateS…

    Cyp authored
    …tructure.
    
    Was >>32, should have been <<32, broke in 466943b.
    
    Cleaned up some casts a bit, too.
Something went wrong with that request. Please try again.