|
|
|
|
@ -68,6 +68,12 @@ struct Towner {
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
extern Towner Towners[NUM_TOWNERS]; |
|
|
|
|
/**
|
|
|
|
|
* @brief Maps from a _talker_id value to a pointer to the Towner object, if they have been initialised |
|
|
|
|
* @param type enum constant identifying the towner |
|
|
|
|
* @return Pointer to the Towner or nullptr if they are not available |
|
|
|
|
*/ |
|
|
|
|
Towner *GetTowner(_talker_id type); |
|
|
|
|
|
|
|
|
|
void InitTowners(); |
|
|
|
|
void FreeTownerGFX(); |
|
|
|
|
|