OpenTTD Source: PurchaseDefaultMapSpriteGroupHandler< T > Struct Template Reference

OpenTTD Source 15.0-RC2

Public Member Functions
PurchaseDefaultMapSpriteGroupHandler< T > Struct Template Reference

Common handler for mapping sprite groups for features which only support "Purchase" and "Default" sprites. More...

Inheritance diagram for PurchaseDefaultMapSpriteGroupHandler< T >:

## Public Member Functions
void | MapSpecific (uint16_t local_id, uint8_t cid, const SpriteGroup *group) override
void | MapDefault (uint16_t local_id, const SpriteGroup *group) override

## Detailed Description

template<typename T>
struct PurchaseDefaultMapSpriteGroupHandler< T >

Common handler for mapping sprite groups for features which only support "Purchase" and "Default" sprites.

Definition at line 168 of file newgrf_act3.cpp.

## Member Function Documentation

## ◆ MapDefault()

template<typename T >

void PurchaseDefaultMapSpriteGroupHandler< T >::MapDefault | ( | uint16_t | local_id,
|  | const SpriteGroup * | group
| ) |  |
| inlineoverridevirtual

Implements MapSpriteGroupHandler.

Definition at line 180 of file newgrf_act3.cpp.

## ◆ MapSpecific()

template<typename T >

void PurchaseDefaultMapSpriteGroupHandler< T >::MapSpecific | ( | uint16_t | local_id,
|  | uint8_t | cid,
|  | const SpriteGroup * | group
| ) |  |
| inlineoverridevirtual

Implements MapSpriteGroupHandler.

Definition at line 169 of file newgrf_act3.cpp.

The documentation for this struct was generated from the following file:

- src/newgrf/newgrf_act3.cpp