QcVillagerLook Struct
What the villagers of one village style wear (decision E-411): an outfit, hair styles or headwear to choose from (an empty name: none) and the colours of the tinted layers (0xRRGGBB). More...
| Header: | #include <common/content/villages/QcVillagerDefinitions.h> |
Public Functions
| bool | isSet() const |
Static Public Members
| const int | maxChoices |
Related Non-Members
| enum class | QcVillagerActivity { Wander, Work, Meet, Home, Sleep } |
Detailed Description
Each villager draws one of every list from its own seed; empty lists take the default look's. Read from an object with outfit, hair (names), skin, hairColor, shirt and pants (lists of "#rrggbb").
Member Function Documentation
bool QcVillagerLook::isSet() const
Returns whether the look is given (it names an outfit).
Member Variable Documentation
const int QcVillagerLook::maxChoices
Most entries of each list.
Related Non-Members
enum class QcVillagerActivity
What a villager does at a time of day (QcVillagerSettings::routine).
| Constant | Value | Description |
|---|---|---|
QcVillagerLook::QcVillagerActivity::Wander | 0 | Strolls about the village near its home. |
QcVillagerLook::QcVillagerActivity::Work | 1 | At its workstation (the unemployed stroll). |
QcVillagerLook::QcVillagerActivity::Meet | 2 | At the meeting point (the bell). |
QcVillagerLook::QcVillagerActivity::Home | 3 | Goes home and stays by its bed. |
QcVillagerLook::QcVillagerActivity::Sleep | 4 | Lies in its bed. |