Alchemy
Loading...
Searching...
No Matches

palqueue.h File Reference

Palette snapshots and their work. More...

Go to the source code of this file.

Data Structures

struct  PaletteSnapshot
 A palette cycle: a run of up to 16 background palette colours, saved and rotated by one colour every delay + 1 frames. More...
struct  PaletteSnapshotWork
 The palette cycling queue (heap slot 28): four cycles and how many are in use. More...

Functions

 STATIC_ASSERT (sizeof(struct PaletteSnapshot)==0x2c)
 STATIC_ASSERT (offsetof(struct PaletteSnapshot, position)==4)
 STATIC_ASSERT (offsetof(struct PaletteSnapshot, timer)==6)
 STATIC_ASSERT (offsetof(struct PaletteSnapshot, delay)==8)
 STATIC_ASSERT (offsetof(struct PaletteSnapshot, colors)==0xc)
 STATIC_ASSERT (sizeof(struct PaletteSnapshotWork)==0xb4)
 STATIC_ASSERT (offsetof(struct PaletteSnapshotWork, count)==0xb0)

Detailed Description

Palette snapshots and their work.

Definition in file palqueue.h.

Function Documentation

◆ STATIC_ASSERT() [1/7]

STATIC_ASSERT ( sizeof(struct PaletteSnapshot) = =0x2c)

◆ STATIC_ASSERT() [2/7]

STATIC_ASSERT ( offsetof(struct PaletteSnapshot, position) = =4)

◆ STATIC_ASSERT() [3/7]

STATIC_ASSERT ( offsetof(struct PaletteSnapshot, timer) = =6)

◆ STATIC_ASSERT() [4/7]

STATIC_ASSERT ( offsetof(struct PaletteSnapshot, delay) = =8)

◆ STATIC_ASSERT() [5/7]

STATIC_ASSERT ( offsetof(struct PaletteSnapshot, colors) = =0xc)

◆ STATIC_ASSERT() [6/7]

STATIC_ASSERT ( sizeof(struct PaletteSnapshotWork) = =0xb4)

◆ STATIC_ASSERT() [7/7]

STATIC_ASSERT ( offsetof(struct PaletteSnapshotWork, count) = =0xb0)