iw4x-client/iw4/Components/Loader.hpp

32 lines
559 B
C++
Raw Normal View History

2015-12-23 08:45:53 -05:00
namespace Components
{
class Component
{
public:
Component() {};
virtual ~Component() {};
virtual const char* GetName() { return "Unknown"; };
};
class Loader
{
public:
static void Initialize();
static void Uninitialize();
static void Register(Component* component);
private:
static std::vector<Component*> Components;
};
}
#include "Dvar.hpp"
#include "Colors.hpp"
#include "Window.hpp"
#include "Command.hpp"
#include "Console.hpp"
#include "RawFiles.hpp"
2015-12-23 10:56:02 -05:00
#include "Renderer.hpp"
#include "Materials.hpp"
2015-12-23 08:45:53 -05:00
#include "QuickPatch.hpp"