diff options
author | Strangerke | 2011-09-11 22:24:40 +0200 |
---|---|---|
committer | Strangerke | 2011-09-11 22:24:40 +0200 |
commit | e073fab21131cae6bb0d9919b741ec0b440a948a (patch) | |
tree | a43dc39118a5c9cb39dac44c00237860c32f6c20 /engines/cge | |
parent | 3642fa015bdc1d416d3910de9ce56f64b01396bd (diff) | |
download | scummvm-rg350-e073fab21131cae6bb0d9919b741ec0b440a948a.tar.gz scummvm-rg350-e073fab21131cae6bb0d9919b741ec0b440a948a.tar.bz2 scummvm-rg350-e073fab21131cae6bb0d9919b741ec0b440a948a.zip |
CGE: Fix formatting of operator overloading
Diffstat (limited to 'engines/cge')
-rw-r--r-- | engines/cge/bitmap.cpp | 2 | ||||
-rw-r--r-- | engines/cge/bitmap.h | 2 | ||||
-rw-r--r-- | engines/cge/sound.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/cge/bitmap.cpp b/engines/cge/bitmap.cpp index cd440e08b4..3d2ca70868 100644 --- a/engines/cge/bitmap.cpp +++ b/engines/cge/bitmap.cpp @@ -130,7 +130,7 @@ Bitmap::~Bitmap() { delete[] _v; } -Bitmap &Bitmap::operator = (const Bitmap &bmp) { +Bitmap &Bitmap::operator=(const Bitmap &bmp) { debugC(1, kCGEDebugBitmap, "&Bitmap::operator ="); uint8 *v0 = bmp._v; diff --git a/engines/cge/bitmap.h b/engines/cge/bitmap.h index 513438e74d..fbaeead31e 100644 --- a/engines/cge/bitmap.h +++ b/engines/cge/bitmap.h @@ -69,7 +69,7 @@ public: static void init(); static void deinit(); Bitmap *code(); - Bitmap &operator = (const Bitmap &bmp); + Bitmap &operator=(const Bitmap &bmp); void hide(int16 x, int16 y); void show(int16 x, int16 y); void xShow(int16 x, int16 y); diff --git a/engines/cge/sound.cpp b/engines/cge/sound.cpp index e83a210e3e..3052f792fd 100644 --- a/engines/cge/sound.cpp +++ b/engines/cge/sound.cpp @@ -166,7 +166,7 @@ DataCk *Fx::load(int idx, int ref) { return wav; } -DataCk *Fx::operator [](int ref) { +DataCk *Fx::operator[](int ref) { int i; if ((i = find(ref)) < _size) _current = _cache[i]._wav; |