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.
29 lines
575 B
29 lines
575 B
9 years ago
|
#ifndef GLOBALS_H
|
||
|
#define GLOBALS_H
|
||
|
#include <map>
|
||
9 years ago
|
#include <vector>
|
||
9 years ago
|
#include <string>
|
||
|
#include "object.h"
|
||
|
|
||
|
// Variables definitions
|
||
9 years ago
|
typedef std::map<std::string,ObjectBase*> G_varsType;
|
||
9 years ago
|
extern G_varsType G_vars;
|
||
9 years ago
|
|
||
|
// Functions addresses
|
||
9 years ago
|
typedef std::multimap<std::string,Func> G_funcsType;
|
||
9 years ago
|
extern G_funcsType G_funcs;
|
||
9 years ago
|
|
||
9 years ago
|
typedef std::vector<ObjectList*> G_toType;
|
||
9 years ago
|
// List of objects to save
|
||
9 years ago
|
extern G_toType G_tosave;
|
||
9 years ago
|
|
||
|
// List of objects to print
|
||
9 years ago
|
extern G_toType G_toprint;
|
||
9 years ago
|
|
||
|
void ClearGlobals();
|
||
9 years ago
|
|
||
9 years ago
|
bool Save(const ObjectList* input);
|
||
|
bool Print(const ObjectList* input);
|
||
9 years ago
|
|
||
9 years ago
|
#endif
|