main: Add EnsureWorldPakReady

This commit is contained in:
2022-04-11 18:42:08 -04:00
parent 7a95698329
commit 292dfa1eea
15 changed files with 119 additions and 54 deletions

19
include/rstl/auto_ptr.hpp Normal file
View File

@@ -0,0 +1,19 @@
#ifndef _RSTL_AUTO_PTR_HPP
#define _RSTL_AUTO_PTR_HPP
#include "types.h"
namespace rstl {
template < typename T >
class auto_ptr {
bool x0_has;
T* x4_item;
public:
auto_ptr() : x0_has(false), x4_item(nullptr) {}
T* get() { return x4_item; }
T* operator->() { return get(); }
};
} // namespace rstl
#endif