OpenTTD Source: src/spritecache_type.h File Reference

OpenTTD Source 15.3

Data Structures | Typedefs | Enumerations
spritecache_type.h File Reference

Types related to the sprite cache. More...

`#include "core/enum_type.hpp"`

Go to the source code of this file.

## Data Structures
struct | Sprite
| Data structure describing a sprite. More...

## Typedefs
using | SpriteCacheCtrlFlags = EnumBitSet< SpriteCacheCtrlFlag, uint8_t >

## Enumerations
enum class | SpriteCacheCtrlFlag : uint8_t { AllowZoomMin1xPal , AllowZoomMin1x32bpp , AllowZoomMin2xPal , AllowZoomMin2x32bpp }

## Detailed Description

Types related to the sprite cache.

Definition in file spritecache_type.h.

## Typedef Documentation

## ◆ SpriteCacheCtrlFlags

using SpriteCacheCtrlFlags = EnumBitSet<SpriteCacheCtrlFlag, uint8_t>

Definition at line 31 of file spritecache_type.h.

## Enumeration Type Documentation

## ◆ SpriteCacheCtrlFlag

enum class SpriteCacheCtrlFlag : uint8_t
| strong

Enumerator
AllowZoomMin1xPal | Allow use of sprite min zoom setting at 1x in palette mode.
AllowZoomMin1x32bpp | Allow use of sprite min zoom setting at 1x in 32bpp mode.
AllowZoomMin2xPal | Allow use of sprite min zoom setting at 2x in palette mode.
AllowZoomMin2x32bpp | Allow use of sprite min zoom setting at 2x in 32bpp mode.

Definition at line 24 of file spritecache_type.h.