Skip to Content
The Alchemy Project

src/window/articles.c

Window text tables: each edition's articles and possessives, the kana marks and the sprite motion curves. More…

Variables

NameDescription
const Uint16FontMarkGlyphCodes []The glyph drawn over a kana for the mark in its code's top two bits: none, the voiced mark (dakuten) or the semi-voiced mark (handakuten).
const Uint32UnusedTenthFractions [2]Unused: two fractions of one tenth (2^32 / 10, rounded up); nothing reads them.
const Sint8ArticleEmpty []
static const Sint8ArticleEin []
static const Sint8ArticleEine []
static const Sint8ArticleDie []
static const Sint8ArticleDas []
const Sint8 *constArticleTable [8]The article of each article class.
const Uint8LocalizedWordBattles []Counted nouns, each plural before its singular; LocalizedWordCountedNouns (counted_nouns.c) pairs them as {singular, plural}.
const Uint8LocalizedWordBattle []
const Uint8LocalizedWordTickets []
const Uint8LocalizedWordTicket []
const Uint8LocalizedWordRounds []
const Uint8LocalizedWordRound []
const Uint8LocalizedWordCoins []
const Uint8LocalizedWordCoin []
const Uint8LocalizedWordPoints []
const Uint8LocalizedWordPoint []
static const Sint8PossessiveDein []
static const Sint8PossessiveDeine []
const Sint8 *constLocalizedWordItemPossessives [4]The possessive ("your") for each item gender (LocalizedWordItemGenders).
static const Sint8ArticleEl []
static const Sint8ArticleLa []
static const Sint8ArticleLos []
static const Sint8ArticleLas []
static const Sint8ArticleUn []
static const Sint8ArticleUna []
static const Sint8ArticleUnos []
static const Sint8ArticleUnas []
const Sint8 *constArticleIndefinite [5]The indefinite article of each article class.
static const Sint8PossessiveTu []
static const Sint8PossessiveTus []
static const Sint8ArticleDeElided []
static const Sint8ArticleDe []
const Sint8 *constTextDeArticles [2]"de", elided and whole.
static const Sint8ArticleLe []
static const Sint8ArticleL []
static const Sint8ArticleLes []
static const Sint8ArticleUne []
static const Sint8ArticleDes []
const Sint8LocalizedWordItemPronoun []
static const Sint8ArticleIl []
static const Sint8ArticleLo []
static const Sint8ArticleGli []
static const Sint8ArticleUnElided []
static const Sint8ArticleUno []
static const Sint8PossessiveIlTuo []
static const Sint8PossessiveLaTua []
static const Sint8ArticleA []
static const Sint8ArticleAn []
static const Sint8ArticleSome []
static const Sint8ArticleThe []
const Uint8WindowSpriteCursorBobOffsets [80]The next-page arrow's bob (WINDOW_SPRITE_MOTION_PAGE_ARROW): a smooth rise and fall of 8 pixels over 80 ticks.
const Sint8WindowSpriteWobbleOffsets [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 Uint8WindowSpriteWobbleTail [16]Nothing in the game reads these 16 bytes.
const Uint8WindowSpriteBounceOffsets [16]A hop of up to 8 pixels over 16 ticks, for WINDOW_SPRITE_MOTION_HOP_UP and the other hops.

Description

Window text tables: each edition's articles and possessives, the kana marks and the sprite motion curves. mnMessageDecode copies an article table whole (ARTICLE_TABLE); each table's words come just before it.

Variables in detail

FontMarkGlyphCodes

const Uint16 FontMarkGlyphCodes[]

The glyph drawn over a kana for the mark in its code's top two bits: none, the voiced mark (dakuten) or the semi-voiced mark (handakuten).

Referenced by mnGlyphDraw(), mnTextDrawGlyphPair() and mnTextDrawGlyphToCanvas().

Definition at line 11 of file articles.c.

UnusedTenthFractions

const Uint32 UnusedTenthFractions[2]

Unused: two fractions of one tenth (2^32 / 10, rounded up); nothing reads them.

Definition at line 20 of file articles.c.

ArticleEmpty

const Sint8 ArticleEmpty[]

Referenced by ArticleIndefinite, ArticleTable, LocalizedWordCountedNouns and LocalizedWordItemPossessives.

Definition at lines 24, 69, 119, 145 and 186 of file articles.c.

ArticleEin

static const Sint8 ArticleEin[]

Referenced by ArticleTable.

Definition at line 26 of file articles.c.

ArticleEine

static const Sint8 ArticleEine[]

Referenced by ArticleTable.

Definition at line 27 of file articles.c.

ArticleDie

static const Sint8 ArticleDie[]

Referenced by ArticleTable.

Definition at line 28 of file articles.c.

ArticleDas

static const Sint8 ArticleDas[]

Referenced by ArticleTable.

Definition at line 29 of file articles.c.

ArticleTable

const Sint8 *const ArticleTable[8]

const Sint8 *const ArticleTable[5]

const Sint8 *const ArticleTable[11]

The article of each article class.

The definite article of each article class.

References ArticleA, ArticleAn, ArticleDas, ArticleDes, ArticleDie, ArticleEin, ArticleEine, ArticleEl, ArticleEmpty, ArticleGli, ArticleIl, ArticleL, ArticleLa, ArticleLas, ArticleLe, ArticleLes, ArticleLo, ArticleLos, ArticleSome, ArticleThe, ArticleUn, ArticleUna, ArticleUne, ArticleUnElided and ArticleUno.

Referenced by mnMessageAppendArticleName().

Definition at lines 32, 77, 130, 159 and 194 of file articles.c.

LocalizedWordBattles

const Uint8 LocalizedWordBattles[]

Counted nouns, each plural before its singular; LocalizedWordCountedNouns (counted_nouns.c) pairs them as {singular, plural}.

Referenced by LocalizedWordCountedNouns.

Definition at line 45 of file articles.c.

LocalizedWordBattle

const Uint8 LocalizedWordBattle[]

Referenced by LocalizedWordCountedNouns.

Definition at line 46 of file articles.c.

LocalizedWordTickets

const Uint8 LocalizedWordTickets[]

Referenced by LocalizedWordCountedNouns.

Definition at line 47 of file articles.c.

LocalizedWordTicket

const Uint8 LocalizedWordTicket[]

Referenced by LocalizedWordCountedNouns.

Definition at line 48 of file articles.c.

LocalizedWordRounds

const Uint8 LocalizedWordRounds[]

Referenced by LocalizedWordCountedNouns.

Definition at line 49 of file articles.c.

LocalizedWordRound

const Uint8 LocalizedWordRound[]

Referenced by LocalizedWordCountedNouns.

Definition at line 50 of file articles.c.

LocalizedWordCoins

const Uint8 LocalizedWordCoins[]

Referenced by LocalizedWordCountedNouns.

Definition at line 51 of file articles.c.

LocalizedWordCoin

const Uint8 LocalizedWordCoin[]

Referenced by LocalizedWordCountedNouns.

Definition at line 52 of file articles.c.

LocalizedWordPoints

const Uint8 LocalizedWordPoints[]

Referenced by LocalizedWordCountedNouns.

Definition at line 53 of file articles.c.

LocalizedWordPoint

const Uint8 LocalizedWordPoint[]

Referenced by LocalizedWordCountedNouns.

Definition at line 54 of file articles.c.

PossessiveDein

static const Sint8 PossessiveDein[]

Referenced by LocalizedWordItemPossessives.

Definition at line 56 of file articles.c.

PossessiveDeine

static const Sint8 PossessiveDeine[]

Referenced by LocalizedWordItemPossessives.

Definition at line 57 of file articles.c.

LocalizedWordItemPossessives

const Sint8 *const LocalizedWordItemPossessives[4]

const Sint8 *const LocalizedWordItemPossessives[2]

The possessive ("your") for each item gender (LocalizedWordItemGenders).

The possessive ("your") for {singular, plural}.

References ArticleEmpty, PossessiveDein, PossessiveDeine, PossessiveIlTuo, PossessiveLaTua, PossessiveTu and PossessiveTus.

Referenced by mnMessageDecode().

Definition at lines 60, 103 and 177 of file articles.c.

ArticleEl

static const Sint8 ArticleEl[]

Referenced by ArticleTable.

Definition at line 71 of file articles.c.

ArticleLa

static const Sint8 ArticleLa[]

Referenced by ArticleTable.

Definition at lines 72, 122 and 149 of file articles.c.

ArticleLos

static const Sint8 ArticleLos[]

Referenced by ArticleTable.

Definition at line 73 of file articles.c.

ArticleLas

static const Sint8 ArticleLas[]

Referenced by ArticleTable.

Definition at line 74 of file articles.c.

ArticleUn

static const Sint8 ArticleUn[]

Referenced by ArticleIndefinite and ArticleTable.

Definition at lines 85, 125 and 153 of file articles.c.

ArticleUna

static const Sint8 ArticleUna[]

Referenced by ArticleIndefinite and ArticleTable.

Definition at lines 86 and 156 of file articles.c.

ArticleUnos

static const Sint8 ArticleUnos[]

Referenced by ArticleIndefinite.

Definition at line 87 of file articles.c.

ArticleUnas

static const Sint8 ArticleUnas[]

Referenced by ArticleIndefinite.

Definition at line 88 of file articles.c.

ArticleIndefinite

const Sint8 *const ArticleIndefinite[5]

The indefinite article of each article class.

References ArticleEmpty, ArticleUn, ArticleUna, ArticleUnas and ArticleUnos.

Referenced by mnMessageAppendArticleName().

Definition at line 91 of file articles.c.

PossessiveTu

static const Sint8 PossessiveTu[]

Referenced by LocalizedWordItemPossessives.

Definition at line 99 of file articles.c.

PossessiveTus

static const Sint8 PossessiveTus[]

Referenced by LocalizedWordItemPossessives.

Definition at line 100 of file articles.c.

ArticleDeElided

static const Sint8 ArticleDeElided[]

Referenced by TextDeArticles.

Definition at line 110 of file articles.c.

ArticleDe

static const Sint8 ArticleDe[]

Referenced by TextDeArticles.

Definition at line 111 of file articles.c.

TextDeArticles

const Sint8 *const TextDeArticles[2]

"de", elided and whole.

References ArticleDe and ArticleDeElided.

Referenced by mnMessageAppendArticleName().

Definition at line 114 of file articles.c.

ArticleLe

static const Sint8 ArticleLe[]

Referenced by ArticleTable.

Definition at lines 121 and 151 of file articles.c.

ArticleL

static const Sint8 ArticleL[]

Referenced by ArticleTable.

Definition at lines 123 and 148 of file articles.c.

ArticleLes

static const Sint8 ArticleLes[]

Referenced by ArticleTable.

Definition at line 124 of file articles.c.

ArticleUne

static const Sint8 ArticleUne[]

Referenced by ArticleTable.

Definition at line 126 of file articles.c.

ArticleDes

static const Sint8 ArticleDes[]

Referenced by ArticleTable.

Definition at line 127 of file articles.c.

LocalizedWordItemPronoun

const Sint8 LocalizedWordItemPronoun[]

Definition at line 141 of file articles.c.

ArticleIl

static const Sint8 ArticleIl[]

Referenced by ArticleTable.

Definition at line 147 of file articles.c.

ArticleLo

static const Sint8 ArticleLo[]

Referenced by ArticleTable.

Definition at line 150 of file articles.c.

ArticleGli

static const Sint8 ArticleGli[]

Referenced by ArticleTable.

Definition at line 152 of file articles.c.

ArticleUnElided

static const Sint8 ArticleUnElided[]

Referenced by ArticleTable.

Definition at line 154 of file articles.c.

ArticleUno

static const Sint8 ArticleUno[]

Referenced by ArticleTable.

Definition at line 155 of file articles.c.

PossessiveIlTuo

static const Sint8 PossessiveIlTuo[]

Referenced by LocalizedWordItemPossessives.

Definition at line 173 of file articles.c.

PossessiveLaTua

static const Sint8 PossessiveLaTua[]

Referenced by LocalizedWordItemPossessives.

Definition at line 174 of file articles.c.

ArticleA

static const Sint8 ArticleA[]

Referenced by ArticleTable.

Definition at line 188 of file articles.c.

ArticleAn

static const Sint8 ArticleAn[]

Referenced by ArticleTable.

Definition at line 189 of file articles.c.

ArticleSome

static const Sint8 ArticleSome[]

Referenced by ArticleTable.

Definition at line 190 of file articles.c.

ArticleThe

static const Sint8 ArticleThe[]

Referenced by ArticleTable.

Definition at line 191 of file articles.c.

WindowSpriteCursorBobOffsets

const Uint8 WindowSpriteCursorBobOffsets[80]

The next-page arrow's bob (WINDOW_SPRITE_MOTION_PAGE_ARROW): a smooth rise and fall of 8 pixels over 80 ticks.

Referenced by mnWindowSpriteUpdateAll().

Definition at line 211 of file articles.c.

WindowSpriteWobbleOffsets

const Sint8 WindowSpriteWobbleOffsets[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.

Referenced by mnWindowSpriteUpdateAll().

Definition at line 221 of file articles.c.

WindowSpriteWobbleTail

const Uint8 WindowSpriteWobbleTail[16]

Nothing in the game reads these 16 bytes.

Definition at line 230 of file articles.c.

WindowSpriteBounceOffsets

const Uint8 WindowSpriteBounceOffsets[16]

A hop of up to 8 pixels over 16 ticks, for WINDOW_SPRITE_MOTION_HOP_UP and the other hops.

Referenced by mnWindowSpriteUpdateAll().

Definition at line 235 of file articles.c.