if (victoryCondition.condition != winStandard) //specific victory conditions
switch (victoryCondition.condition) //read victory conditions
That cases have been intentionally omitted, since we do not need to do anything specific for them or they can’t appear.
However, if you care about that warnings, you may just add empty cases for missing enumerations (eg. case winStandard:break;).
if (n = getSlotFor(town->basicCreatures*, ARMY_SIZE));
pyramidConfig.combatValue; //how hard are guards of this level
pyramidConfig.value; //overall value of given things
pyramidConfig.rewardDifficulty; //proportion of reward value to difficulty of guards; how profitable is this creature Bank config
if (tile = IObjectInterface::cb->getTile(o->pos + offsets*)) //tile is in the map
First two - semicolon should be removed.
Third (src) -> (_src)
Fourth - that one is not a mistake - makeNumberShort is a template that is used both with signed and unsigned integers (and the latter generate a warning).
Fifth - sel should be signed.