cleanup whitespaces

svn-id: r11212
This commit is contained in:
Paweł Kołodziejski 2003-11-08 19:47:20 +00:00
parent 394c96b033
commit 409108df82
10 changed files with 13 additions and 14 deletions

View file

@ -87,7 +87,6 @@ void Display::setRenderLevel(int8 level) {
}
}
/**
* Fill the screen buffer with palette colour zero. Note that it does not
* touch the menu areas of the screen.

View file

@ -169,7 +169,7 @@ namespace Sword2 {
#define RDSE_FXLEADIN 2
#define RDSE_FXLEADOUT 3
#define RDSE_QUIET 1
#define RDSE_SPEAKING 0
#define RDSE_SPEAKING 0
#define RDPAL_FADE 0

View file

@ -52,13 +52,13 @@ void Sword2Engine::setScrolling(void) {
if (_thisScreen.max_scroll_offset_x > SCROLL_X)
_thisScreen.scroll_offset_x = SCROLL_X;
else
_thisScreen.scroll_offset_x = _thisScreen.max_scroll_offset_x;
_thisScreen.scroll_offset_x = _thisScreen.max_scroll_offset_x;
// ensure not too far down
if (_thisScreen.max_scroll_offset_y > SCROLL_Y)
_thisScreen.scroll_offset_y = SCROLL_Y;
else
_thisScreen.scroll_offset_y = _thisScreen.max_scroll_offset_y;
_thisScreen.scroll_offset_y = _thisScreen.max_scroll_offset_y;
} else {
// George's offset from the centre - the desired position
// for him

View file

@ -357,7 +357,7 @@ int32 Logic::fnPlayMusic(int32 *params) {
// interruption to gameplay
_vm->_loopingMusicId = params[0];
} else {
loopFlag = false;
loopFlag = false;
// don't need to restart this tune after control panel or
// restore

View file

@ -1453,7 +1453,7 @@ void Logic::formText(int32 *params) {
// if a specific width has been set up for this character,
// then override the default
if (ob_speech->width)
if (ob_speech->width)
textWidth = ob_speech->width;
else
textWidth = 400;

View file

@ -546,7 +546,7 @@ void Sword2Engine::unpauseGame(void) {
setFullPalette(0xffffffff);
// If graphics level at max, turn up again
if (_graphicsLevelFudged) {
if (_graphicsLevelFudged) {
gui->updateGraphicsLevel(3);
_graphicsLevelFudged = false;
}

View file

@ -704,7 +704,7 @@ int32 Logic::fnWalkToTalkToMega(int32 *params) {
}
}
// first cycle builds the route - thereafter merely follows it
// first cycle builds the route - thereafter merely follows it
// Call fnWalk() with target coords set to feet coords. RESULT will
// be 1 when it finishes, or 0 if it failed to build route.