Determines the size class of a creature.
The creature whose size we are to determine.
Returns the size (CREATURE_SIZE_*) of oCreature.
It returns CREATURE_SIZE_INVALID for an invalid size - normally a non-creature.
The sizes are defined by the 2da file, creaturesize.2da
This is determined by the appearance of the creature.
A PC who is polymorphed into a dragon will return the CREATURE_SIZE_HUGE, not their normal CREATURE_SIZE_MEDIUM.
There is no way to change this apart from changing the appearance.2da file.
It also only really affects Knockdown and AC. - it is harder (more penalties) to attack a larger creature, and tiny creatures get a small bonus to AC (+2), small get some (+1), large get a small penalty (-1) and huge gets a small penalty (-2). The AC changes show up in a creatures properties in the toolset.
author: Tom Cassiotis, editor: Jasperre, additional contributor(s): Jasperre