You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
575 B
28 lines
575 B
#ifndef GLOBALS_H |
|
#define GLOBALS_H |
|
#include <map> |
|
#include <vector> |
|
#include <string> |
|
#include "object.h" |
|
|
|
// Variables definitions |
|
typedef std::map<std::string,ObjectBase*> G_varsType; |
|
extern G_varsType G_vars; |
|
|
|
// Functions addresses |
|
typedef std::multimap<std::string,Func> G_funcsType; |
|
extern G_funcsType G_funcs; |
|
|
|
typedef std::vector<ObjectList*> G_toType; |
|
// List of objects to save |
|
extern G_toType G_tosave; |
|
|
|
// List of objects to print |
|
extern G_toType G_toprint; |
|
|
|
void ClearGlobals(); |
|
|
|
bool Save(const ObjectList* input); |
|
bool Print(const ObjectList* input); |
|
|
|
#endif
|
|
|