Expands/Cleans up a lot of the asset functionality, including management, file association, and creation/importing

This commit is contained in:
Areloch 2019-05-04 11:49:42 -05:00
parent a366f65047
commit 4422082035
73 changed files with 4468 additions and 1876 deletions

View file

@ -0,0 +1,18 @@
#include "core/module.h"
#include "console/engineAPI.h"
MODULE_BEGIN(@_Module)
MODULE_INIT_AFTER(Sim)
MODULE_SHUTDOWN_BEFORE(Sim)
MODULE_INIT
{
// Setup anything needed when the engine initializes here
}
MODULE_SHUTDOWN
{
// Cleanup anything that was initialized before here
}
MODULE_END;

View file

@ -0,0 +1,15 @@
#include "@.h"
IMPLEMENT_STATIC_CLASS(@, , "Functions for maintaing a list of banned users.");
@* @::smInstance;
@::@()
{
smInstance = this;
}
DefineEngineStaticMethod(@, doSomething, void, (), , "")
{
//@::instance()->doSomething();
}

View file

@ -0,0 +1,17 @@
#pragma once
#include "console/engineAPI.h"
class @
{
DECLARE_STATIC_CLASS(@);
private:
protected:
static @* smInstance;
public:
@();
static @* instance() { return smInstance; }
};