NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_wm_en_path.hpp
1
#pragma once
2
#include <game/bases/d_wm_connect.hpp>
3
#include <game/mLib/m_vec.hpp>
4
#include <
constants/game_constants.h
>
5
6
/// @unofficial
7
struct
dWmPathPoint_s
{
8
const
char
*mpName;
9
int
mIndex;
10
int
mPointIndex;
11
dWmPathPoint_s
*mpNext;
12
dWmPathPoint_s
*mpPrev;
13
};
14
15
class
dWmEnPath_c {
16
public
:
17
dWmEnPath_c();
18
virtual
~dWmEnPath_c();
19
20
/// @unofficial
21
bool
init
(
const
char
**names,
int
count,
dWmConnect_c
*connect,
bool
cyclic, PATH_DIRECTION_e dir);
22
23
void
SetStartPoint(
int
index);
24
int
GetNextPointIdx();
25
int
GetPathPointNo(
const
char
*name);
26
dWmPathPoint_s
*GetNextPointInfo(
bool
updateDirection);
27
void
UpdatePoint();
28
bool
isPointIn(
int
pointIndex);
29
30
dWmPathPoint_s
mPoints[
WM_ENEMY_PATH_MAX_POINT_COUNT
];
31
dWmPathPoint_s
*mpCurrentPoint;
32
PATH_DIRECTION_e mDir1;
33
PATH_DIRECTION_e mDir2;
34
bool
mAdvancePoint;
35
};
dWmConnect_c
Definition
d_wm_connect.hpp:5
dWmEnPath_c::init
bool init(const char **names, int count, dWmConnect_c *connect, bool cyclic, PATH_DIRECTION_e dir)
Definition
d_wm_en_path.cpp:17
game_constants.h
WM_ENEMY_PATH_MAX_POINT_COUNT
#define WM_ENEMY_PATH_MAX_POINT_COUNT
The maximum number of keypoints for world map enemy paths.
Definition
game_constants.h:28
dWmPathPoint_s
Definition
d_wm_en_path.hpp:7
include
game
bases
d_wm_en_path.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2