aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-03-05 21:34:46 +0000
committerPaweł Kołodziejski2003-03-05 21:34:46 +0000
commit447820a77d619d22363f49223f89f84bf21d7250 (patch)
treeeaaf0893d0d76da0776c83845567ee3cb1de276b /sky
parentf5f389547679b0a5448886f0fd76a31204a90da3 (diff)
downloadscummvm-rg350-447820a77d619d22363f49223f89f84bf21d7250.tar.gz
scummvm-rg350-447820a77d619d22363f49223f89f84bf21d7250.tar.bz2
scummvm-rg350-447820a77d619d22363f49223f89f84bf21d7250.zip
added VC6 support for BASS
svn-id: r6696
Diffstat (limited to 'sky')
-rw-r--r--sky/disk.cpp3
-rw-r--r--sky/intro.cpp1
-rw-r--r--sky/rnc_deco.cpp5
-rw-r--r--sky/sky.cpp1
4 files changed, 7 insertions, 3 deletions
diff --git a/sky/disk.cpp b/sky/disk.cpp
index 8649b699b3..74ac73fd21 100644
--- a/sky/disk.cpp
+++ b/sky/disk.cpp
@@ -19,6 +19,7 @@
*
*/
+#include "stdafx.h"
#include "common/scummsys.h"
#include "common/engine.h"
#include "common/file.h"
@@ -29,7 +30,7 @@
#define no_of_files_cd 5200
#define max_files_in_list 60
-extern uint16 UnpackM1(void *, void *, uint16);
+uint32 UnpackM1(void *, void *, uint16);
const char *data_file_name = "sky.dsk";
const char *dinner_file_name = "sky.dnr";
diff --git a/sky/intro.cpp b/sky/intro.cpp
index b13d8ebece..17e88edb5c 100644
--- a/sky/intro.cpp
+++ b/sky/intro.cpp
@@ -19,6 +19,7 @@
*
*/
+#include "stdafx.h"
#include <string.h>
#include "common/scummsys.h"
#include "sky/skydefs.h"
diff --git a/sky/rnc_deco.cpp b/sky/rnc_deco.cpp
index fbfd1d3caa..0cac411089 100644
--- a/sky/rnc_deco.cpp
+++ b/sky/rnc_deco.cpp
@@ -19,6 +19,7 @@
*
*/
+#include "stdafx.h"
#include <string.h>
#include "common/scummsys.h"
@@ -110,7 +111,7 @@ uint16 input_bits(uint8 amount)
{
uint16 newBitBuffh = bit_buffh;
uint16 newBitBuffl = bit_buffl;
- int16 newBitCount = bit_count;
+ int8 newBitCount = bit_count;
uint16 remBits, returnVal;
returnVal = ((1 << amount) - 1) & newBitBuffl;
@@ -195,7 +196,7 @@ uint16 input_value(uint16 *table)
return value;
}
-int UnpackM1(void *input, void *output, uint16 key)
+uint32 UnpackM1(void *input, void *output, uint16 key)
{
uint8 cl;
uint8 *inputHigh, *outputLow;
diff --git a/sky/sky.cpp b/sky/sky.cpp
index 2006c9aead..414c222e6a 100644
--- a/sky/sky.cpp
+++ b/sky/sky.cpp
@@ -19,6 +19,7 @@
*
*/
+#include "stdafx.h"
#include "sky/sky.h"
#include "sky/skydefs.h" //game specific defines
#include "common/file.h"