Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-1-2-2013-Decompilation
Path: blob/main/RSDKv4/NativeObjects/AboutScreen.hpp
817 views
1
#ifndef NATIVE_ABOUTSCREEN_H
2
#define NATIVE_ABOUTSCREEN_H
3
4
enum AboutMenuButtons { ABOUT_BTN_PRIVACY, ABOUT_BTN_TERMS, ABOUT_BTN_COUNT };
5
enum AboutMenuStates { ABOUT_STATE_ENTER, ABOUT_STATE_MAIN, ABOUT_STATE_ACTION, ABOUT_STATE_EXIT };
6
7
struct NativeEntity_AboutScreen : NativeEntityBase {
8
int state;
9
int unused;
10
float timer;
11
float rotationY;
12
float scale;
13
NativeEntity_OptionsMenu *optionsMenu;
14
NativeEntity_TextLabel *label;
15
MeshInfo *meshPanel;
16
MeshInfo *meshBox;
17
MeshAnimator animator;
18
MatrixF renderMatrix;
19
MatrixF matrixTemp;
20
MatrixF renderMatrix2;
21
byte textureArrows;
22
byte backPressed;
23
int arrowAlpha;
24
ushort gameTitle[16];
25
ushort versionNameText[16];
26
ushort versionText[16];
27
NativeEntity_PushButton *buttons[ABOUT_BTN_COUNT];
28
int selectedButton;
29
};
30
31
void AboutScreen_Create(void *objPtr);
32
void AboutScreen_Main(void *objPtr);
33
34
#endif // !NATIVE_ABOUTSCREEN_H
35
36