mirror of
https://github.com/SMGCommunity/Petari.git
synced 2026-11-10 04:41:32 -10:00
20 lines
484 B
C++
20 lines
484 B
C++
#pragma once
|
|
|
|
#include <revolution.h>
|
|
|
|
class Triangle;
|
|
|
|
class FloorCode {
|
|
public:
|
|
/// @brief Creates a new `FloorCode`.
|
|
FloorCode();
|
|
|
|
/// @brief Get the floor code for a triangle.
|
|
/// @param triangle The triangle for which to get the floor code.
|
|
/// @return The floor code for the triangle or -1 if a nullpointer or invalid triangle is provided.
|
|
s32 getCode(const Triangle*);
|
|
|
|
// needed to match object size in Mario constructor
|
|
/* 0x04 */ u32 _04;
|
|
};
|