Alchemy
Loading...
Searching...
No Matches

map_scroll.h File Reference

The map layers' scroll work and the background scroll values. More...

Go to the source code of this file.

Data Structures

struct  MapLayerScroll
 One background layer of the field map: its scroll position, origin, parallax against the view, drift and wrap, and its first map cell. More...
struct  MapScrollWork
 The field map's work: the followed position, screen shake, tile animations, blend script, view and its bounds, and three scrolling layers. More...
struct  BgScroll
 A background's hardware scroll offsets. More...

Functions

 STATIC_ASSERT (sizeof(struct MapLayerScroll)==0x30)
 STATIC_ASSERT (offsetof(struct MapLayerScroll, cells)==0x2c)
 STATIC_ASSERT (sizeof(struct MapScrollWork)==0x194)
 STATIC_ASSERT (offsetof(struct MapScrollWork, anim)==0x18)
 STATIC_ASSERT (offsetof(struct MapScrollWork, blend)==0xd8)
 STATIC_ASSERT (offsetof(struct MapScrollWork, viewX)==0xe4)
 STATIC_ASSERT (offsetof(struct MapScrollWork, animationActive)==0xfc)
 STATIC_ASSERT (offsetof(struct MapScrollWork, layers)==0x104)

Variables

struct BgScroll gBgScroll []

Detailed Description

The map layers' scroll work and the background scroll values.

Definition in file map_scroll.h.

Function Documentation

◆ STATIC_ASSERT() [1/8]

STATIC_ASSERT ( sizeof(struct MapLayerScroll) = =0x30)

◆ STATIC_ASSERT() [2/8]

STATIC_ASSERT ( offsetof(struct MapLayerScroll, cells) = =0x2c)

◆ STATIC_ASSERT() [3/8]

STATIC_ASSERT ( sizeof(struct MapScrollWork) = =0x194)

◆ STATIC_ASSERT() [4/8]

STATIC_ASSERT ( offsetof(struct MapScrollWork, anim) = =0x18)

◆ STATIC_ASSERT() [5/8]

STATIC_ASSERT ( offsetof(struct MapScrollWork, blend) = =0xd8)

◆ STATIC_ASSERT() [6/8]

STATIC_ASSERT ( offsetof(struct MapScrollWork, viewX) = =0xe4)

◆ STATIC_ASSERT() [7/8]

STATIC_ASSERT ( offsetof(struct MapScrollWork, animationActive) = =0xfc)

◆ STATIC_ASSERT() [8/8]

STATIC_ASSERT ( offsetof(struct MapScrollWork, layers) = =0x104)

Variable Documentation

◆ gBgScroll