aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/general.h
diff options
context:
space:
mode:
authorStrangerke2011-07-04 08:15:56 +0200
committerStrangerke2011-07-04 08:15:56 +0200
commitfae1d7efd885eae98ee9b0c8ae9bc99612942430 (patch)
treeef5db813d0e1b3a49b1a1e395236e121a58ed125 /engines/cge/general.h
parentc313d2cce8d647265f192400c667d72824874dbc (diff)
downloadscummvm-rg350-fae1d7efd885eae98ee9b0c8ae9bc99612942430.tar.gz
scummvm-rg350-fae1d7efd885eae98ee9b0c8ae9bc99612942430.tar.bz2
scummvm-rg350-fae1d7efd885eae98ee9b0c8ae9bc99612942430.zip
CGE: This ends the first renaming pass. Also move some functions to CGEEngine
Diffstat (limited to 'engines/cge/general.h')
-rw-r--r--engines/cge/general.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/cge/general.h b/engines/cge/general.h
index 63b94d3872..95660ad4df 100644
--- a/engines/cge/general.h
+++ b/engines/cge/general.h
@@ -109,41 +109,41 @@ public:
};
-class EMS;
+class Ems;
-class EMM {
- friend class EMS;
+class Emm {
+ friend class Ems;
bool test();
long _top;
long _lim;
- EMS *_list;
+ Ems *_list;
int _han;
static void *_frame;
public:
- EMM(long size = 0);
- ~EMM();
- EMS *alloc(uint16 siz);
+ Emm(long size = 0);
+ ~Emm();
+ Ems *alloc(uint16 siz);
void release();
};
-class EMS {
- friend class EMM;
- EMM *_emm;
+class Ems {
+ friend class Emm;
+ Emm *_emm;
long _ptr;
uint16 _size;
- EMS *_next;
+ Ems *_next;
public:
- EMS();
+ Ems();
void *operator & () const;
uint16 size(void);
};
template <class T>
-void Swap(T &A, T &B) {
+void swap(T &A, T &B) {
T a = A;
A = B;
B = a;