Whitespace changes. (And another test to see if I still have to type a password

before committing.)
This commit is contained in:
Torbjorn Andersson 2009-05-12 21:59:57 +00:00
parent 8156605ac4
commit 18f92566e4
4 changed files with 8 additions and 8 deletions

View file

@ -572,7 +572,7 @@ void Actor::update() {
// While getPosIn60HzTicks will return "-1" to indicate that the
// sound is no longer playing, it is more appropriate to check first
if(g_imuse->getSoundStatus(_talkSoundName.c_str()))
if (g_imuse->getSoundStatus(_talkSoundName.c_str()))
posSound = g_imuse->getPosIn60HzTicks(_talkSoundName.c_str());
else
posSound = -1;

View file

@ -187,7 +187,7 @@ void BitmapComponent::setKey(int val) {
// bitmaps were not loading with the scene. This was because they were requested
// as a different case then they were stored (tu_0_dorcu_door_open versus
// TU_0_DORCU_door_open), which was causing problems in the string comparison.
if(debugLevel == DEBUG_BITMAPS || debugLevel == DEBUG_WARN || debugLevel == DEBUG_ALL)
if (debugLevel == DEBUG_BITMAPS || debugLevel == DEBUG_WARN || debugLevel == DEBUG_ALL)
warning("Missing scene bitmap: %s", bitmap);
/* In case you feel like drawing the missing bitmap anyway...
@ -700,7 +700,7 @@ Costume::Costume(const char *filename, const char *data, int len, Costume *prevC
_chores[id]._length = length;
_chores[id]._numTracks = tracks;
memcpy(_chores[id]._name, name, 32);
if(debugLevel == DEBUG_ALL || debugLevel == DEBUG_CHORES)
if (debugLevel == DEBUG_ALL || debugLevel == DEBUG_CHORES)
printf("Loaded chore: %s\n", name);
}

View file

@ -795,7 +795,7 @@ void Engine::savegameCallback() {
Scene *Engine::findScene(const char *name) {
// Find scene object
for (SceneListType::const_iterator i = scenesBegin(); i != scenesEnd(); i++) {
if(!strcmp((char *) (*i)->name(), (char *) name))
if (!strcmp((char *) (*i)->name(), (char *) name))
return *i;
}
return NULL;

View file

@ -155,7 +155,7 @@ static inline int check_int(int num) {
// Have found some instances, such as in Rubacava and the tube-switcher
// room, where integers of "zero" are called as nil
if(lua_isnil(lua_getparam(num)))
if (lua_isnil(lua_getparam(num)))
return 0;
val = luaL_check_number(num);
@ -3150,19 +3150,19 @@ static void ForceRefresh() {
static void JustLoaded() {
DEBUG_FUNCTION();
if(debugLevel == DEBUG_ERROR || debugLevel == DEBUG_ALL)
if (debugLevel == DEBUG_ERROR || debugLevel == DEBUG_ALL)
error("OPCODE USAGE VERIFICATION: JustLoaded");
}
static void PlaySound() {
DEBUG_FUNCTION();
if(debugLevel == DEBUG_ERROR || debugLevel == DEBUG_ALL)
if (debugLevel == DEBUG_ERROR || debugLevel == DEBUG_ALL)
error("OPCODE USAGE VERIFICATION: PlaySound");
}
static void SetEmergencyFont() {
DEBUG_FUNCTION();
if(debugLevel == DEBUG_ERROR || debugLevel == DEBUG_ALL)
if (debugLevel == DEBUG_ERROR || debugLevel == DEBUG_ALL)
error("OPCODE USAGE VERIFICATION: SetEmergencyFont");
}