mirror of
https://github.com/zeldaret/ss
synced 2026-05-27 08:08:07 -04:00
31 lines
632 B
C++
31 lines
632 B
C++
#ifndef F_LIST_NODE_H
|
|
#define F_LIST_NODE_H
|
|
|
|
// This file was ported from
|
|
// https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_list_nd.hpp
|
|
|
|
#include "c/c_list.h"
|
|
#include <common.h>
|
|
|
|
class fBase_c;
|
|
|
|
class fLiNdBa_c : public cListNd_c {
|
|
public:
|
|
fLiNdBa_c(fBase_c *owner) : p_owner(owner) {}
|
|
|
|
inline fLiNdBa_c *getPrev() const {
|
|
return (fLiNdBa_c *)cListNd_c::getPrev();
|
|
}
|
|
|
|
inline fLiNdBa_c *getNext() const {
|
|
return (fLiNdBa_c *)cListNd_c::getNext();
|
|
}
|
|
|
|
/* 802e27d0 */ void link(fBase_c *);
|
|
/* 802e2830 */ void unlink();
|
|
|
|
fBase_c *p_owner;
|
|
};
|
|
|
|
#endif
|