aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/hotspot.cpp
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-05-07 13:00:15 +0200
committerAdrian Frühwirth2018-05-07 20:06:29 +0200
commit4bf0eac94d65b5f5fd11c54d6c29dac058097dd7 (patch)
tree7b760cac12210d2de65a68b7cd8d954f2a2b6054 /engines/toon/hotspot.cpp
parent8885b37abb842af63e0836263b0db245530fef03 (diff)
downloadscummvm-rg350-4bf0eac94d65b5f5fd11c54d6c29dac058097dd7.tar.gz
scummvm-rg350-4bf0eac94d65b5f5fd11c54d6c29dac058097dd7.tar.bz2
scummvm-rg350-4bf0eac94d65b5f5fd11c54d6c29dac058097dd7.zip
TOON: Enforce code formatting guidelines
Diffstat (limited to 'engines/toon/hotspot.cpp')
-rw-r--r--engines/toon/hotspot.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/toon/hotspot.cpp b/engines/toon/hotspot.cpp
index 04368df5ca..cdc6dc40d9 100644
--- a/engines/toon/hotspot.cpp
+++ b/engines/toon/hotspot.cpp
@@ -57,8 +57,8 @@ void Hotspots::save(Common::WriteStream *Stream) {
}
}
-int32 Hotspots::FindBasedOnCorner(int16 x, int16 y) {
- debugC(1, kDebugHotspot, "FindBasedOnCorner(%d, %d)", x, y);
+int32 Hotspots::findBasedOnCorner(int16 x, int16 y) {
+ debugC(1, kDebugHotspot, "findBasedOnCorner(%d, %d)", x, y);
for (int32 i = 0; i < _numItems; i++) {
if (x == _items[i].getX1()) {
@@ -73,8 +73,8 @@ int32 Hotspots::FindBasedOnCorner(int16 x, int16 y) {
return -1;
}
-int32 Hotspots::Find(int16 x, int16 y) {
- debugC(6, kDebugHotspot, "Find(%d, %d)", x, y);
+int32 Hotspots::find(int16 x, int16 y) {
+ debugC(6, kDebugHotspot, "find(%d, %d)", x, y);
int32 priority = -1;
int32 foundId = -1;
@@ -96,8 +96,8 @@ int32 Hotspots::Find(int16 x, int16 y) {
return foundId;
}
-bool Hotspots::LoadRif(const Common::String &rifName, const Common::String &additionalRifName) {
- debugC(1, kDebugHotspot, "LoadRif(%s, %s)", rifName.c_str(), additionalRifName.c_str());
+bool Hotspots::loadRif(const Common::String &rifName, const Common::String &additionalRifName) {
+ debugC(1, kDebugHotspot, "loadRif(%s, %s)", rifName.c_str(), additionalRifName.c_str());
uint32 size = 0;
uint8 *rifData = _vm->resources()->getFileData(rifName, &size);
@@ -139,8 +139,8 @@ bool Hotspots::LoadRif(const Common::String &rifName, const Common::String &addi
return true;
}
-HotspotData *Hotspots::Get(int32 id) {
- debugC(5, kDebugHotspot, "Get(%d)", id);
+HotspotData *Hotspots::get(int32 id) {
+ debugC(5, kDebugHotspot, "get(%d)", id);
if (id < 0 || id >= _numItems)
return 0;