aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/general.h
diff options
context:
space:
mode:
authorPaul Gilbert2011-07-14 22:36:18 +1000
committerPaul Gilbert2011-07-14 22:36:18 +1000
commitf0d10b62b37b7d3e35ebcd989745a2d0a9570a21 (patch)
tree56f8c2cc36f34ffc4335439362206442a4abfa79 /engines/cge/general.h
parent324ccb1760b4915d91b58e643bd0d079eaa095f6 (diff)
downloadscummvm-rg350-f0d10b62b37b7d3e35ebcd989745a2d0a9570a21.tar.gz
scummvm-rg350-f0d10b62b37b7d3e35ebcd989745a2d0a9570a21.tar.bz2
scummvm-rg350-f0d10b62b37b7d3e35ebcd989745a2d0a9570a21.zip
CGE: In progress work on pathfinder
Diffstat (limited to 'engines/cge/general.h')
-rw-r--r--engines/cge/general.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/engines/cge/general.h b/engines/cge/general.h
index b4f73726ee..0639fe2a01 100644
--- a/engines/cge/general.h
+++ b/engines/cge/general.h
@@ -49,46 +49,6 @@ struct Dac {
typedef uint16 CRYPT(void *buf, uint16 siz, uint16 seed);
-class Couple {
-protected:
- signed char _a;
- signed char _b;
-public:
- Couple() { }
- Couple(const signed char a, const signed char b) : _a(a), _b(b) { }
- Couple operator + (Couple c) {
- return Couple(_a + c._a, _b + c._b);
- }
-
- void operator += (Couple c) {
- _a += c._a;
- _b += c._b;
- }
-
- Couple operator - (Couple c) {
- return Couple(_a - c._a, _b - c._b);
- }
-
- void operator -= (Couple c) {
- _a -= c._a;
- _b -= c._b;
- }
-
- bool operator == (Couple c) {
- return ((_a - c._a) | (_b - c._b)) == 0;
- }
-
- bool operator != (Couple c) {
- return !(operator == (c));
- }
-
- void split(signed char &a, signed char &b) {
- a = _a;
- b = _b;
- }
-};
-
-
class Engine_ {
protected:
static void (* oldTimer)(...);