STARTREK: Janitorial: Add end of namespace comments

This commit is contained in:
Strangerke 2018-07-28 21:20:43 +02:00 committed by Eugene Sandulenko
parent cba0567327
commit be4174dc3d
35 changed files with 34 additions and 38 deletions

View File

@ -96,6 +96,6 @@ struct Action {
}
};
}
} // End of namespace StarTrek
#endif

View File

@ -764,4 +764,4 @@ void StarTrekEngine::loadRoomIndex(int roomIndex, int spawnIndex) {
// the top of "runAwayMission". That can't really be done here. But does it matter?
}
}
} // End of namespace StarTrek

View File

@ -71,4 +71,4 @@ StubBitmap::StubBitmap(int w, int h) {
pixelsArraySize = 0;
}
}
} // End of namespace StarTrek

View File

@ -47,6 +47,6 @@ struct StubBitmap : Bitmap {
StubBitmap(int w, int h);
};
}
} // End of namespace StarTrek
#endif

View File

@ -42,4 +42,4 @@ void serializeRect(Common::Rect rect, Common::Serializer &ser) {
ser.syncAsSint16LE(rect.bottom);
}
}
} // End of namespace StarTrek

View File

@ -45,7 +45,6 @@ T max(T a, T b) {
Common::Rect getRectEncompassing(Common::Rect r1, Common::Rect r2);
void serializeRect(Common::Rect rect, Common::Serializer &ser);
}
} // End of namespace StarTrek
#endif

View File

@ -185,4 +185,4 @@ void StarTrekEngine::addEventToQueue(const TrekEvent &e) {
_eventQueue.push_back(e);
}
}
} // End of namespace StarTrek

View File

@ -77,4 +77,4 @@ bool FileStream::seek(int32 offset, int whence) {
return true;
}
}
} // End of namespace StarTrek

View File

@ -56,6 +56,6 @@ public:
};
}
} // End of namespace StarTrek
#endif

View File

@ -185,6 +185,6 @@ typedef TFixedInt<int32, 32, 16> Fixed16;
typedef Fixed8 Angle;
}
} // End of namespace StarTrek
#endif

View File

@ -78,4 +78,4 @@ const byte Font::_fontProperties[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
}
} // End of namespace StarTrek

View File

@ -47,7 +47,6 @@ private:
const static byte _fontProperties[256];
};
}
} // End of namespace StarTrek
#endif

View File

@ -756,4 +756,4 @@ void Graphics::drawBackgroundImage(const char *filename) {
delete[] palette;
}
}
} // End of namespace StarTrek

View File

@ -187,10 +187,9 @@ private:
bool _mouseLocked;
Sprite _lockedMouseSprite;
public:
};
}
} // End of namespace StarTrek
#endif

View File

@ -255,6 +255,6 @@ const Item g_itemList[] = {
const int NUM_ITEMS = sizeof(g_itemList) / sizeof(struct Item) - 64; // 0x49
}
} // End of namespace StarTrek
#endif

View File

@ -75,4 +75,4 @@ int IWFile::getClosestKeyPosition(int16 x, int16 y) {
return -1;
}
}
} // End of namespace StarTrek

View File

@ -60,6 +60,6 @@ private:
uint16 _numEntries;
};
}
} // End of namespace StarTrek
#endif

View File

@ -81,5 +81,5 @@ Common::SeekableReadStream *decodeLZSS(Common::SeekableReadStream *indata, uint3
return new Common::MemoryReadStream(outLzssBufData, uncompressedSize, DisposeAfterUse::YES);
}
}
} // End of namespace StarTrek

View File

@ -54,4 +54,4 @@ public:
};
*/
}
} // End of namespace StarTrek

View File

@ -126,4 +126,4 @@ Angle StarTrekEngine::atan2(int32 deltaX, int32 deltaY) {
return Angle::fromRaw(angle);
}
}
} // End of namespace StarTrek

View File

@ -1010,4 +1010,4 @@ void StarTrekEngine::saveTextDisplayMode(int value) {
// TODO;
}
}
} // End of namespace StarTrek

View File

@ -24,4 +24,4 @@
namespace StarTrek {
}
} // End of namespace StarTrek

View File

@ -180,7 +180,7 @@ public:
};
}
} // End of namespace StarTrek
#endif

View File

@ -536,4 +536,4 @@ void Room::mccoyScan(int direction, TextRef text, bool changeDirection) {
showText(TX_SPEAKER_MCCOY, text);
}
}
} // End of namespace StarTrek

View File

@ -2679,6 +2679,6 @@ public:
} _roomVar;
};
}
} // End of namespace StarTrek
#endif

View File

@ -398,4 +398,4 @@ bool saveOrLoadMetadata(Common::SeekableReadStream *in, Common::WriteStream *out
return true;
}
}
} // End of namespace StarTrek

View File

@ -370,5 +370,4 @@ void Sound::midiDriverCallback(void *data) {
}
}
} // End of namespace StarTrek

View File

@ -103,6 +103,6 @@ private:
static void midiDriverCallback(void *data);
};
}
} // End of namespace StarTrek
#endif

View File

@ -551,4 +551,4 @@ Matrix StarTrekEngine::initSpeedMatrixForXZMovement(Angle angle, const Matrix &m
return matrix * matrix1;
}
}
} // End of namespace StarTrek

View File

@ -180,6 +180,6 @@ struct R3 {
// Maximum number of R3 objects in space at once
#define NUM_SPACE_OBJECTS 0x30
}
} // End of namespace StarTrek
#endif

View File

@ -75,4 +75,4 @@ void Sprite::saveLoadWithSerializer(Common::Serializer &ser) {
ser.syncAsSint16LE(drawY);
}
}
} // End of namespace StarTrek

View File

@ -74,6 +74,6 @@ struct Sprite : Common::Serializable {
virtual void saveLoadWithSerializer(Common::Serializer &ser);
};
}
} // End of namespace StarTrek
#endif

View File

@ -2609,4 +2609,4 @@ extern const char *const g_gameStrings[] = {
"#SFX\\STATICU1#Ent... neu ... trans...",
};
}
} // End of namespace StarTrek

View File

@ -2719,6 +2719,6 @@ enum GameStringIDs {
// defined in text.cpp
extern const char *const g_gameStrings[];
}
} // End of namespace StarTrek
#endif

View File

@ -930,4 +930,4 @@ void StarTrekEngine::cleanupTextInputSprite() {
_textInputBitmap.reset();
}
}
} // End of namespace StarTrek