SSBM Decomp
Loading...
Searching...
No Matches
forward.h
Go to the documentation of this file.
1#ifndef MELEE_CM_FORWARD_H
2#define MELEE_CM_FORWARD_H
3
4#define HSD_GOBJ_CLASS_CAMERA 19
5
6typedef enum CameraType {
11 // clearing a stage 1p modes
14 5,
16 6,
17 // around the player then the boss
19 7,
22
23#define CAM_BOUNDS_INSIDE 0
24#define CAM_BOUNDS_OUTSIDE_TOP (1 << 0)
25#define CAM_BOUNDS_OUTSIDE_BOTTOM (1 << 1)
26#define CAM_BOUNDS_OUTSIDE_LEFT (1 << 2)
27#define CAM_BOUNDS_OUTSIDE_RIGHT (1 << 3)
28
29typedef struct Camera Camera;
30typedef struct CameraBounds CameraBounds;
31typedef struct Camera_x2D0 Camera_x2D0;
32typedef struct CameraQuake CameraQuake;
33typedef struct CmSubject CmSubject;
36typedef struct CameraDebugMode CameraDebugMode;
38typedef struct CameraInputs CameraInputs;
39
50
58
59typedef enum CmQuakeKind {
60 /* 0x0 */ QuakeKind_None,
61 /* 0x1 */ QuakeKind_Loop,
62 /* 0x2 */ QuakeKind_Small,
64 /* 0x4 */ QuakeKind_Large,
67
68#endif
CmSnapStatus
Definition forward.h:42
@ CmSnapStatus_Unk3
Definition forward.h:46
@ CmSnapStatus_Unk1
Definition forward.h:44
@ CmSnapStatus_Unk2
Definition forward.h:45
@ CmSnapStatus_Unk5
Definition forward.h:48
@ CmSnapStatus_Unk4
Definition forward.h:47
@ CmSnapStatus_Sleep
Definition forward.h:43
CmSubjectState
Definition forward.h:51
@ CmSubjectState_Active
always framed by a camera
Definition forward.h:52
@ CmSubjectState_Inactive
never framed by a camera
Definition forward.h:53
@ CmSubjectState_Auto
framed only when inside the camera
Definition forward.h:54
CmQuakeKind
Definition forward.h:59
@ QuakeKind_None
Definition forward.h:60
@ QuakeKind_Medium
Definition forward.h:63
@ QuakeKind_Count
Definition forward.h:65
@ QuakeKind_Loop
Definition forward.h:61
@ QuakeKind_Small
Definition forward.h:62
@ QuakeKind_Large
Definition forward.h:64
CameraType
Definition forward.h:6
@ CAMERA_BOSS_INTRO
used during master/crazy hand match spawn. rotates
Definition forward.h:15
@ CAMERA_CLEAR
camera zooms in on the target. gets set when
Definition forward.h:10
@ CAMERA_DEBUG_FREE
Definition forward.h:20
@ CAMERA_FREE
used in training mode, and special melee "Camera Mode"
Definition forward.h:13
@ CAMERA_STANDARD
mode used during normal gameplay
Definition forward.h:7
@ CAMERA_PAUSE
mode used during pause menu
Definition forward.h:8
@ CAMERA_TRAINING_MENU
mode used when the training menu is open
Definition forward.h:9
@ CAMERA_FIXED
Definition forward.h:12
@ CAMERA_DEBUG_FOLLOW
follows the player, but can change pos/rotation offset
Definition forward.h:18
Definition types.h:82
Definition types.h:112
Definition types.h:294
Definition types.h:290
Definition types.h:107
Definition types.h:73
Definition types.h:227
Definition types.h:91
Definition types.h:126
A point of interest ("camera box") that the match camera tries to keep in frame.
Definition types.h:24