Files
Gonzalo-kebab 2c77c16788 98% mario.cpp (#2023)
* 98% match mario.cpp

* forgot to commit changes to one file
2026-09-07 15:33:48 -07:00

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;
};