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

    Cyp committed Feb 26, 2011
  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
    …tructure.
    
    Was >>32, should have been <<32, broke in 466943b.
    
    Cleaned up some casts a bit, too.
Commits on Feb 21, 2011
  1. Add more syncDebug when objects are damaged.

    Cyp committed Feb 21, 2011
    Also, added syncDebugObject function for tracing objects of unspecified type.
Commits on Feb 20, 2011
  1. Hack in the team colour when shaders aren't supported.

    Cyp committed Feb 20, 2011
    Ugly, but better than nothing.
  2. Deselect droids immediately, before waiting for droid repair states t…

    Cyp committed Feb 20, 2011
    …o be synchronised.
    
    Fixes ticket:2495.
Commits on Feb 18, 2011
Commits on Feb 15, 2011
  1. Fix compilation with C++0x compilers.

    Cyp committed Feb 15, 2011
    Can't use nullptr, until switching to C++0x.
  2. A bit of cleanup.

    cybersphinx committed Feb 15, 2011
    make_dir() does both the PHYSFS_mkdir() and strcpy().
Commits on Feb 14, 2011
Commits on Feb 13, 2011
  1. Reset color to white before rendering decals rather than after having…

    Safety0ff committed Feb 13, 2011
    … changed it.
    
    Fixes #2487.
  2. Split droid template list into game-state list and UI list.

    Cyp committed Feb 13, 2011
    This simplifies things a bit and fixes a desynch.
Commits on Feb 12, 2011
  1. Do not load AI data twice when loading savegames, once from scratch a…

    perim committed Feb 12, 2011
    …nd once from savegame.