mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Expands/Cleans up a lot of the asset functionality, including management, file association, and creation/importing
This commit is contained in:
parent
a366f65047
commit
4422082035
73 changed files with 4468 additions and 1876 deletions
|
|
@ -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;
|
||||
|
||||
|
|
@ -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();
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include "console/engineAPI.h"
|
||||
|
||||
class @
|
||||
{
|
||||
DECLARE_STATIC_CLASS(@);
|
||||
private:
|
||||
|
||||
protected:
|
||||
static @* smInstance;
|
||||
|
||||
public:
|
||||
@();
|
||||
|
||||
static @* instance() { return smInstance; }
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue