cOMS/module/Module.h

23 lines
433 B
C

#ifndef TOS_MODULE_H
#define TOS_MODULE_H
#include "../stdlib/Types.h"
#include "../../GameEngine/system/Library.h"
enum ModuleType {
MODULE_TYPE_HUD,
MODULE_TYPE_UI,
MODULE_TYPE_WINDOW, // Additional window
MODULE_TYPE_API, // Extracts data and sends it somewhere (website, file, etc.)
};
struct Module {
char name[128];
int32 version;
ModuleType type;
bool is_active;
Library lib;
};
#endif