aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-11-08 19:47:20 +0000
committerPaweł Kołodziejski2003-11-08 19:47:20 +0000
commit409108df82789d462320da6b5280a3218d0c3ba7 (patch)
treea912fcbba9439fb6700e6cde2e2a004d19ede565 /sword2/driver
parent394c96b0337226f0668b04806b9037ec64d6936f (diff)
downloadscummvm-rg350-409108df82789d462320da6b5280a3218d0c3ba7.tar.gz
scummvm-rg350-409108df82789d462320da6b5280a3218d0c3ba7.tar.bz2
scummvm-rg350-409108df82789d462320da6b5280a3218d0c3ba7.zip
cleanup whitespaces
svn-id: r11212
Diffstat (limited to 'sword2/driver')
-rw-r--r--sword2/driver/_mouse.cpp2
-rw-r--r--sword2/driver/d_draw.cpp1
-rw-r--r--sword2/driver/d_draw.h2
-rw-r--r--sword2/driver/d_sound.cpp2
-rw-r--r--sword2/driver/driver96.h6
5 files changed, 6 insertions, 7 deletions
diff --git a/sword2/driver/_mouse.cpp b/sword2/driver/_mouse.cpp
index 8da4538daf..8216c5fa07 100644
--- a/sword2/driver/_mouse.cpp
+++ b/sword2/driver/_mouse.cpp
@@ -52,7 +52,7 @@ void LogMouseEvent(uint16 buttons) {
// We need to leave the one, which is the current event, alone!
if (mouseBacklog == MAX_MOUSE_EVENTS - 1)
return;
-
+
me = &mouseLog[(mouseBacklog + mouseLogPos) % MAX_MOUSE_EVENTS];
me->buttons = buttons;
mouseBacklog++;
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp
index e5ec0ba705..8ccb28ab56 100644
--- a/sword2/driver/d_draw.cpp
+++ b/sword2/driver/d_draw.cpp
@@ -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.
diff --git a/sword2/driver/d_draw.h b/sword2/driver/d_draw.h
index 9fe87e16ab..cea1941ad6 100644
--- a/sword2/driver/d_draw.h
+++ b/sword2/driver/d_draw.h
@@ -236,7 +236,7 @@ public:
int32 openLightMask(_spriteInfo *s);
int32 closeLightMask(void);
};
-
+
} // End of namespace Sword2
#endif
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index 2794f45989..c86a14193a 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -682,7 +682,7 @@ int32 Sound::playFx(int32 id, uint8 *data, uint8 vol, int8 pan, uint8 type) {
return RDERR_FXFUCKED;
}
_fx[i]._flags &= ~SoundMixer::FLAG_LOOP;
-
+
byte volume = _musicMuted ? 0 : musicVolTable[_musicVol];
g_engine->_mixer->playRaw(&_fx[i]._handle, _fx[i]._buf, _fx[i]._bufSize, _fx[i]._rate, _fx[i]._flags, -1, volume, 0);
diff --git a/sword2/driver/driver96.h b/sword2/driver/driver96.h
index 2e56e39cc8..fde513ba77 100644
--- a/sword2/driver/driver96.h
+++ b/sword2/driver/driver96.h
@@ -39,7 +39,7 @@ namespace Sword2 {
#define _MAX_PATH 260
#endif
-
+
//Generic error codes
#define RD_OK 0x00000000
#define RDERR_UNKNOWN 0x00000001
@@ -147,7 +147,7 @@ namespace Sword2 {
//Menubar defines.
#define RDMENU_TOP 0x00
#define RDMENU_BOTTOM 0x01
-
+
#define RDMENU_HIDDEN 0x00
#define RDMENU_SHOWN 0x01
#define RDMENU_OPENING 0x02
@@ -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