Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-1-2-2013-Decompilation
Path: blob/main/RSDKv4/NativeObjects/AchievementDisplay.hpp
817 views
1
#ifndef NATIVE_ACHIEVEMENTDISPLAY_H
2
#define NATIVE_ACHIEVEMENTDISPLAY_H
3
4
#if !RETRO_USE_ORIGINAL_CODE
5
enum AchievementDisplayStates { ACHDISP_STATE_LOCKED, ACHDISP_STATE_UNLOCKED };
6
7
struct NativeEntity_AchievementDisplay : NativeEntityBase {
8
float x;
9
float y;
10
float z;
11
float textWidth;
12
float timer;
13
float scale;
14
int alpha;
15
int fontID;
16
ushort achievementText[0x40];
17
ushort descriptionText[0x80];
18
int state;
19
byte useRenderMatrix;
20
MatrixF renderMatrix;
21
};
22
23
void AchievementDisplay_Create(void *objPtr);
24
void AchievementDisplay_Main(void *objPtr);
25
#endif
26
27
#endif // !NATIVE_ACHIEVEMENTDISPLAY_H
28
29