ObjectClass::IsSurfaced.
Merge branch 'master' into alex05
Merge branch 'master' into alex05
Corrected some comments.
Renamed PipScale::Storage to PipScale::Power.
HouseClass::GetStoragePercentage()
Updated the tunnel getter, which returned void.
CellClass::MarkForRedraw()
CellClass::ChainReaction()

Wraps the original fastcall method that only takes a CellStruct pointer to an instance method.
Find and FindIndex overloads for TiberiumClass

FindIndex() calls an actual function that finds the TiberiumClass for the passed OverlayTypeClass index.

Find() overload is only there for convenience and calls the former method and resolves it to a TiberiumClass.
TiberiumClass::RegisterForGrowth()

When a cell gains some Tiberium or its Tiberium value is decreased from maximum, this method registers the cell's Tiberium as 'growable'.
Merge branch 'master' into alex05
Merge branch 'master' into alex05
Merge branch 'master' into alex05
Fixed return values for OwnedTiberiumStruct

AddAmount and RemoveAmount both return a float. This cannot be neglected like with functions returning an integral value in a register, because it unbalances the floating point stack. Without a return value, the compiler doesn't add a fstp instruction to discard the float the function adds. This leads to freezes in unrelated places.
Use GetItemOrDefault().
Added a bunch of support functions to retrieve certain houses.

FindByCountryName() helper function (also used by the two functions below).
FindNeutral() and FindSpecial() get the houses usually used for civilian structures. Both houses are hardcoded and the game always tries to create them.

FindBySideIndex() and FindBySideName() get the first house of a Side given by index or name.
FindCivilianSide() gets the first house of the side Civilian, which is used for freed slaves and mind control victims, AITriggers, MakeInfantry and a few more things.
Make the unchanged parameters to the conversion functions const.
Big update to Vector2D and Vector3D.

If applicable, the operators take a const reference to another Vector instead of a copy.
Assignment operators return a reference to this, binary operators return a const copy.
Marked the methods const, if appropriate.
Replaced C-style casts with static and reinterpret casts.
Added some more casts where overflow might occur.
Formatting, like one statement per line and spacing.
Extracted the AbstractClass casts.