DOCS: ast_text (ex ast_font) (#223)

* progress of docs

* caiman here, no problems

* Emergency manouvers!

* complete

* rename ast_font to ast_text
This commit is contained in:
Alejandro Asenjo Nitti
2024-04-25 16:08:40 -03:00
committed by GitHub
parent 0c9be776da
commit 7c2ce8a678
14 changed files with 364 additions and 355 deletions
+8 -8
View File
@@ -2,7 +2,7 @@
#include "global.h"
#include "fox_option.h"
#include "assets/ast_vs_menu.h"
#include "assets/ast_font.h"
#include "assets/ast_text.h"
#include "assets/ast_versus.h"
s32 D_versus_80178750;
@@ -209,8 +209,8 @@ void func_versus_800BD3A8(f32 xPos, f32 yPos) {
}
void func_versus_800BD4D4(f32 xPos, f32 yPos, s32 arg2) {
u8* D_800D4AF8[] = { D_5000000, D_5000080, D_5000100, D_5000180, D_5000200,
D_5000280, D_5000300, D_5000380, D_5000400, D_5000480 };
u8* D_800D4AF8[] = { aSmallText_0, aSmallText_1, aSmallText_2, aSmallText_3, aSmallText_4,
aSmallText_5, aSmallText_6, aSmallText_7, aSmallText_8, aSmallText_9 };
bool var_s2 = false;
s32 i = 1000;
s32 j;
@@ -238,8 +238,8 @@ void func_versus_800BD76C(f32 xPos, f32 yPos) {
}
void func_versus_800BD7C4(f32 xPos, f32 yPos, s32 arg2) {
u8* D_800D4B20[] = { D_5000000, D_5000080, D_5000100, D_5000180, D_5000200,
D_5000280, D_5000300, D_5000380, D_5000400, D_5000480 };
u8* D_800D4B20[] = { aSmallText_0, aSmallText_1, aSmallText_2, aSmallText_3, aSmallText_4,
aSmallText_5, aSmallText_6, aSmallText_7, aSmallText_8, aSmallText_9 };
s32 i;
for (i = 10; i != 1; i /= 10) {
@@ -260,12 +260,12 @@ void func_versus_800BD9FC(f32 xPos, f32 yPos) {
}
void func_versus_800BDA54(f32 xPos, f32 yPos) {
TextureRect_8bIA(&gMasterDisp, D_5007F60, 8, 8, xPos, yPos, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, aSmallText_L, 8, 8, xPos, yPos, 1.0f, 1.0f);
}
void func_versus_800BDAA0(f32 xPos, f32 yPos, s32 arg2, s32 arg3, s32 arg4) {
u8* D_800D4B48[] = { D_5009F60, D_500A050, D_500A140, D_500A230, D_500A320,
D_500A410, D_500A500, D_500A5F0, D_500A6E0, D_500A7D0 };
u8* D_800D4B48[] = { aLargeText_0, aLargeText_1, aLargeText_2, aLargeText_3, aLargeText_4,
aLargeText_5, aLargeText_6, aLargeText_7, aLargeText_8, aLargeText_9 };
s32 i = 1000;
s32 temp1;
s32 temp2;