Mercurial > repo
comparison interps/glass/glass.h @ 996:859f9b4339e6
<Gregor> tar xf egobot.tar.xz
author | HackBot |
---|---|
date | Sun, 09 Dec 2012 19:30:08 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
995:6883f5911eb7 | 996:859f9b4339e6 |
---|---|
1 /* | |
2 * Copyright (c) 2005 Gregor Richards | |
3 * | |
4 * This file is part of Glass. | |
5 * | |
6 * Glass is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * Glass is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with Glass; if not, write to the Free Software | |
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
19 */ | |
20 | |
21 #ifndef GLASS_H | |
22 #define GLASS_H | |
23 | |
24 #include <deque> | |
25 #include <map> | |
26 #include <string> | |
27 #include <vector> | |
28 using namespace std; | |
29 | |
30 class KlassI; | |
31 class Variable; | |
32 | |
33 extern map<string,Variable *> globalVars; | |
34 | |
35 extern vector<KlassI *> globalInstant; | |
36 | |
37 extern deque<Variable *> mainStack; | |
38 | |
39 Variable *getVar(KlassI *klass, map<string,Variable *> *locals, string name); | |
40 | |
41 #ifdef IRC | |
42 extern string IRC_o; | |
43 extern unsigned int progTimer; | |
44 #endif | |
45 | |
46 #endif |