Alchemy
Loading...
Searching...
No Matches

articles.c File Reference

Go to the source code of this file.

Variables

const s8 gUiText_ArticleEmpty [] = ""
static const s8 sArticleA [] = "a "
static const s8 sArticleAn [] = "an "
static const s8 sArticleSome [] = "some "
static const s8 sArticleThe [] = "the "
const s8 *const gUiText_ArticleTable [8]
 The article of each article class.
const u8 gUiSprite_CursorBobOffsets [80]
 The pointing hand's bob: a smooth rise and fall of 8 pixels over 80 frames.
const s8 gUiSprite_WobbleOffsets [40]
 A swing along an arc of radius 4, as {x, y} pairs: x runs 0, 4, 0, -4, 0 while y rises at each side.
const u8 gUiSprite_WobbleTail [16]
 Nothing in the game reads these 16 bytes.
const u8 gUiSprite_BounceOffsets [16]
 A hop of up to 8 pixels over 16 frames.

Variable Documentation

◆ gUiText_ArticleEmpty

const s8 gUiText_ArticleEmpty[] = ""

Definition at line 144 of file articles.c.

◆ sArticleA

const s8 sArticleA[] = "a "
static

Definition at line 146 of file articles.c.

◆ sArticleAn

const s8 sArticleAn[] = "an "
static

Definition at line 147 of file articles.c.

◆ sArticleSome

const s8 sArticleSome[] = "some "
static

Definition at line 148 of file articles.c.

◆ sArticleThe

const s8 sArticleThe[] = "the "
static

Definition at line 149 of file articles.c.

◆ gUiText_ArticleTable

const s8* const gUiText_ArticleTable[8]
Initial value:
= {
}
static const s8 sArticleA[]
Definition articles.c:146
static const s8 sArticleAn[]
Definition articles.c:147
const s8 gUiText_ArticleEmpty[]
Definition articles.c:144
static const s8 sArticleThe[]
Definition articles.c:149
static const s8 sArticleSome[]
Definition articles.c:148

The article of each article class.

Definition at line 152 of file articles.c.

Referenced by UiText_AppendArticleName().

◆ gUiSprite_CursorBobOffsets

const u8 gUiSprite_CursorBobOffsets[80]
Initial value:
= {
0, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5,
5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7,
7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 7, 7, 7,
7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5,
5, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 1, 1,
}

The pointing hand's bob: a smooth rise and fall of 8 pixels over 80 frames.

Definition at line 175 of file articles.c.

Referenced by UiWork_AnimateSpriteSlots().

◆ gUiSprite_WobbleOffsets

const s8 gUiSprite_WobbleOffsets[40]
Initial value:
= {
0, 4, 1, 4, 2, 3, 3, 2,
4, 1, 4, 0, 4, 1, 3, 2,
2, 3, 1, 4, 0, 4, -1, 4,
-2, 3, -3, 2, -4, 1, -4, 0,
-4, 1, -3, 2, -2, 3, -1, 4,
}

A swing along an arc of radius 4, as {x, y} pairs: x runs 0, 4, 0, -4, 0 while y rises at each side.

Definition at line 185 of file articles.c.

Referenced by UiWork_AnimateSpriteSlots().

◆ gUiSprite_WobbleTail

const u8 gUiSprite_WobbleTail[16]
Initial value:
= {
4, 3, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
}

Nothing in the game reads these 16 bytes.

Definition at line 194 of file articles.c.

◆ gUiSprite_BounceOffsets

const u8 gUiSprite_BounceOffsets[16]
Initial value:
= {
0, 1, 1, 2, 3, 4, 6, 8, 6, 4, 3, 2, 1, 1, 0, 0,
}

A hop of up to 8 pixels over 16 frames.

Definition at line 199 of file articles.c.

Referenced by UiWork_AnimateSpriteSlots().