Commits on Jan 27, 2011
  1. make -Cpo update-po

    Cyp committed Jan 27, 2011
  2. Don't do "moral" or health checks in skirmish, since they break synch…

    … and don't make sense.
    Cyp committed Jan 27, 2011
  3. Disable AIs cheating with research time in true multiplayer games (an…

    …d breaking synch).
    This might have worked without breaking synch at one point, if AI scripts were running on all clients (even if dormant on some).
    Cyp committed Jan 27, 2011
  4. Work around broken cross-compiler with -fstack-protector.

    Fixes ticket:2448. Fixes ticket:2451. Fixes ticket:2452.
    Broken compiler i586-mingw32msvc-g++ version 4.4.2 and version 4.4.4.
    With -O0 -fstack-protector and i586-mingw32msvc-g++ version 4.4.4, theCompilerWorks() returns false.
    struct TheCompilerWorks
    	TheCompilerWorks() {}   // Does absolutely nothing.
    	~TheCompilerWorks() {}  // Does absolutely nothing.
    	char unusedArray[340];  // Unused.
    bool theCompilerWorks()  // This function unconditionally returns true, since there's nothing else it could possibly do... Unless cross-compiling with -O0 -fstack-protector, of course.
    	TheCompilerWorks harmlessObject;  // Unused variable, and no side effects whatsoever.
    	printf("%s", "");                 // Do nothing.
    	return true;                      // Return true.
    Cyp committed Jan 27, 2011
Commits on Jan 26, 2011
  1. Fix crash on calling getDroidOrderName(DORDER_TEMP_HOLD) or on invali…

    …d orders.
    Fixes ticket:2461.
    Cyp committed Jan 26, 2011
Commits on Jan 25, 2011
  1. Fix NETregisterServer connecting multiple times also fixes the requir…

    …ement to reconnect to the lobby for updates
    Rene Jochum committed Jan 24, 2011
Commits on Jan 24, 2011
  1. Add new unit test for model files, to check that they are in a valid …

    …PIE format. Remove unused and broken A* test.
    perim committed Jan 24, 2011
  2. Make 'make check' work again.

    perim committed Jan 24, 2011
  3. Add guard to YY_NO_UNISTD_H definition.

    Closes #2444.
    Safety0ff committed Jan 24, 2011
Commits on Jan 23, 2011
  1. Fix cross-compile warnings

    perim committed Jan 23, 2011
  2. Do not load scripts for player who are not supposed to run them. This…

    … saves us from having to check this in the scripts themselves.
    Also change some player functions from unsigned to signed since a missing scavenger player is sometimes communicated as -1.
    perim committed Jan 23, 2011
  3. New backdrop image by jorzi

    perim committed Jan 17, 2011
Commits on Jan 22, 2011
  1. Fix blocking bug in danger map code if a larger than 2v2 building is …

    …placed on top of the player's starting position.
    perim committed Jan 22, 2011
  2. Fix unused var warning

    perim committed Jan 22, 2011
  3. New script function BASEOBJ getDerrick(int) that returns indexed derr…

    …ick objects. Can be iterated until it returns a NULLOBJECT.
    Modify semperfi to use this function for attacks of opportunity against undefended oil derricks.
    perim committed Jan 22, 2011
  4. Switch the bot builds to use git.

    dak180 committed Jan 22, 2011
Commits on Jan 21, 2011
  1. Removed function cmdSelectSubDroids due to not being used on the code…

    …. Cleaned BOOL from cmddroid.h/cpp.
    LordGolias committed Jan 21, 2011
Commits on Jan 20, 2011
  1. Added a std::list<DROID_GROUP *> grpGlobalManager; to replace the 'fi…

    …rstgroup' to avoid every DROID_GROUP object having previous and next DROID_GROUP object to erase all at end shutdown.
    DROID_GROUP became class. grpJoin function was made a method of DROID_GROUP, DROID_GROUP::Add(DROID*psDroid) and every instance of grpJoin(DROID_GROUP*, DROID*) was replaced by DROID_GROUP*->Add(DROID). Code was tested both compile and run, and everything is working as supposed, including Initialization and ShutDown of a game.
    LordGolias committed Jan 20, 2011
  2. Remove unused variables.

    Cyp committed Jan 20, 2011
  3. Fix memory leak when saving config.

    Fixes ticket:2455.
    Cyp committed Jan 20, 2011
  4. Mg damage to cyborgs up 10%, to tracks down 10%, and to bunkers down …

    …5%. Cannon damage to buildings and hardpoints up 10% and to bunkers up 25%.
    perim committed Jan 20, 2011
  5. Make structure target prioritisation more precise.

    Prefer uncompleted non-wall structures over completed walls. Prefer nearby uncompleted structures over distant uncompleted structures.
    Check whether a target is allied before checking line of sight (this can make a slight performance difference between 2.5 FPS and 40 FPS on maps with many structures).
    Cyp committed Jan 20, 2011
  6. Remove meaningless initialisation.

    Cyp committed Jan 20, 2011