Permalink
Commits on Oct 3, 2014
  1. Reset branch info.

    AlexBx committed Oct 3, 2014
Commits on Sep 30, 2014
  1. Surprisingly few changes needed to support /Zc:strictStrings, which r…

    AlexBx committed Sep 30, 2014
    …equires pointers to string literals to be of type const char* or const wchar_t*. Surprisingly, almost all my fault.
Commits on Sep 29, 2014
Commits on Sep 25, 2014
  1. Bumped version for 0.8 RC2.

    AlexBx committed Sep 25, 2014
Commits on Sep 24, 2014
  1. Related to #1369308: Defending against Super Weapons that haven't eve…

    AlexBx committed Sep 22, 2014
    …n fired
    
    Added a check for the charged flag to infer whether the SW has actually fired and AI needs to protect against it.
Commits on Sep 22, 2014
  1. Defined a constant for max Doggie panic, and used it in place of 300 …

    AlexBx committed Sep 22, 2014
    …and 200. Maybe this fixes the issues with the units getting up and sitting down when under attack on a patch of Tiberium.
Commits on Sep 21, 2014
  1. Buildings stopping to fire when occupant is killed by Pass Through logic

    AlexBx committed Sep 21, 2014
    The current firing occupant number wasn't updated in case an occupant died. The index could became invalid, if the next occupant to fire was the last occupant. In this case, any removal from list made this index invalid. The building then wouldn't auto-target and not give an attack cursor. Ejecting and re-entering fixed this, as leaving the building resets the index.
  2. Reworked long lists tag reading code

    AlexBx committed Sep 21, 2014
    - Removed PARSE_LIST and PARSE_RULES_LIST
    - Reuse Parser instead of only supporting AbstractTypes and int
Commits on Sep 20, 2014
  1. Flatten DamageOccupants() a bit more. Negating the condition again ex…

    AlexBx committed Sep 20, 2014
    …its early, moving the check and its consequence together.
  2. DamageOccupants exit early when Building is null. By negating the con…

    AlexBx committed Sep 20, 2014
    …dition, the entire function flattens a bit. Keeping the comments, though now it is obvious why false is returned.
  3. Made all virtual functions that participate in the initialization and…

    AlexBx committed Sep 20, 2014
    … ini loading procedure protected -- as they should be regarding to two comments, which have been removed now.
  4. Objects are always 'constanted', so this call shouldn't be necessary.…

    AlexBx committed Sep 20, 2014
    … If anything now breaks: suspect this commit!
  5. Extracted the part that does the basic extension initialization into …

    AlexBx committed Sep 20, 2014
    …a method called EnsureConstanted. It's only applied once, and every consecutive call then does nothing any more.
    
    This changes behavior, because now the Initialized field is updated after calling InitializeConstants. Objects are 'constanted' right after construction (in Container::FindOrAllocate). Previously, when an ini file was read later, it would be called again for each and every ext object because Initialized was not updated, and the switch in LoadFromINI stepped in too early.
  6. Use emplacement.

    AlexBx committed Sep 19, 2014