aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/fight
diff options
context:
space:
mode:
authorLittleboy2011-06-28 22:54:51 -0400
committerLittleboy2011-06-28 22:54:51 -0400
commitb4ac4988cca41c2a59e4de99b8fe5392372e21dd (patch)
treede16e2b26463632836cc35d20e87f7c3f0bc7e57 /engines/lastexpress/fight
parent90dc4f9a8c3f77b15c7c6d49651338dbc40c40fa (diff)
downloadscummvm-rg350-b4ac4988cca41c2a59e4de99b8fe5392372e21dd.tar.gz
scummvm-rg350-b4ac4988cca41c2a59e4de99b8fe5392372e21dd.tar.bz2
scummvm-rg350-b4ac4988cca41c2a59e4de99b8fe5392372e21dd.zip
LASTEXPRESS: Cleanup comments
Diffstat (limited to 'engines/lastexpress/fight')
-rw-r--r--engines/lastexpress/fight/fight.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lastexpress/fight/fight.cpp b/engines/lastexpress/fight/fight.cpp
index 38a93cfd94..b832d46a60 100644
--- a/engines/lastexpress/fight/fight.cpp
+++ b/engines/lastexpress/fight/fight.cpp
@@ -162,7 +162,7 @@ void Fight::handleTick(const Common::Event &ev, bool isProcessing) {
// Blink egg
if (getGlobalTimer()) {
- warning("Fight::handleMouseMove - egg blinking not implemented!");
+ warning("[Fight::handleTick] Egg blinking not implemented");
}
if (!_data || _data->index)
@@ -197,7 +197,7 @@ void Fight::handleTick(const Common::Event &ev, bool isProcessing) {
//////////////////////////////////////////////////////////////////////////
Fight::FightEndType Fight::setup(FightType type) {
if (_data)
- error("Fight::setup - calling fight setup again while a fight is already in progress!");
+ error("[Fight::setup] Calling fight setup again while a fight is already in progress");
//////////////////////////////////////////////////////////////////////////
// Prepare UI & state
@@ -320,7 +320,7 @@ void Fight::clearData() {
//////////////////////////////////////////////////////////////////////////
void Fight::loadData(FightType type) {
if (!_data)
- error("Fight::loadData - invalid data!");
+ error("[Fight::loadData] Data not initialized");
switch (type) {
default:
@@ -353,7 +353,7 @@ void Fight::loadData(FightType type) {
}
if (!_data->player || !_data->opponent)
- error("Fight::loadData - error loading fight data (type=%d)", type);
+ error("[Fight::loadData] Error loading fight data (type=%d)", type);
// Setup opponent pointers
setOpponents();