Mario Kart 64
Loading...
Searching...
No Matches
HM_Intro.h
Go to the documentation of this file.
1#ifndef _HM_INTRO_H
2#define _HM_INTRO_H
3
4#include <libultraship.h>
5#include <libultra/gbi.h>
6#include "CoreMath.h"
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11#include "common_structs.h"
12#ifdef __cplusplus
13}
14#endif
15
16#ifdef __cplusplus
17class HarbourMastersIntro {
18public:
19 HarbourMastersIntro();
20
21 void HM_InitIntro();
22 void HM_TickIntro();
23 void HM_DrawIntro();
24private:
25 void Setup();
26 void Sync();
27 void Bob(FVector& pos, IRotator& rot, f32 bobAmp, f32 bobSpeed, f32 tiltAmp, f32 tiltSpeed, f32 rollAmp, f32 rollSpeed);
28 void SpagBob(FVector& pos, IRotator& rot, f32 bobAmp, f32 bobSpeed, f32 tiltAmp, f32 tiltSpeed, f32 rollAmp, f32 rollSpeed);
29 void MoveCloserToCamera(float moveSpeed);
30
31 struct HMCamera {
32 FVector Pos;
33 FVector LookAt;
34 };
35
36 HMCamera _camera;
37
38 f32 _cameraSpeed;
39 f32 _cameraMaxSpeed;
40 f32 _cameraAcceleration;
41
42 FVector _pos;
43 IRotator _rot;
44 FVector _scale;
45
46 FVector _shipPos;
47 IRotator _shipRot;
48
49 FVector _ship2Pos;
50 IRotator _ship2Rot;
51
52 s32 _water = 0;
53
54 FVector _posHM64;
55 IRotator _rotHM64;
56
57 FVector _hPos;
58 IRotator _hRot;
59 FVector _hScale;
60
61 FVector lusPos;
62 IRotator lusRot;
63 FVector lusScale;
64 int32_t DespawnValue = 0;
65};
66
67extern "C" {
68#endif
69
70void HM_InitIntro(void);
71void HM_TickIntro(void);
72void HM_DrawIntro(void);
73
74#ifdef __cplusplus
75}
76#endif
77
78#endif // _HM_INTRO_H
void HM_InitIntro(void)
Definition HM_Intro.cpp:26
void HM_DrawIntro(void)
Definition HM_Intro.cpp:118
void HM_TickIntro(void)
Definition HM_Intro.cpp:71
@ f32
Definition GenericArray.h:59
@ s32
Definition GenericArray.h:57