aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore
diff options
context:
space:
mode:
authorEugene Sandulenko2009-02-27 12:59:02 +0000
committerEugene Sandulenko2009-02-27 12:59:02 +0000
commitd53c75fc8f816a150db1e160b29f25b8ba6df25c (patch)
treec044a65cc7bb2beb2b3ba278ebd202dfa5335b7d /engines/sci/scicore
parent4042eb8259cbd06f9516b2460508e230ec46dd8c (diff)
downloadscummvm-rg350-d53c75fc8f816a150db1e160b29f25b8ba6df25c.tar.gz
scummvm-rg350-d53c75fc8f816a150db1e160b29f25b8ba6df25c.tar.bz2
scummvm-rg350-d53c75fc8f816a150db1e160b29f25b8ba6df25c.zip
Fix code formatting
svn-id: r38930
Diffstat (limited to 'engines/sci/scicore')
-rw-r--r--engines/sci/scicore/resource.cpp6
-rw-r--r--engines/sci/scicore/resource.h8
-rw-r--r--engines/sci/scicore/sciconsole.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/engines/sci/scicore/resource.cpp b/engines/sci/scicore/resource.cpp
index 0081926311..f68b50ef17 100644
--- a/engines/sci/scicore/resource.cpp
+++ b/engines/sci/scicore/resource.cpp
@@ -39,7 +39,7 @@ namespace Sci {
#undef SCI_REQUIRE_RESOURCE_FILES
//#define SCI_VERBOSE_RESMGR 1
-const char* sci_version_types[] = {
+const char *sci_version_types[] = {
"SCI version undetermined (Autodetect failed / not run)",
"SCI version 0.xxx",
"SCI version 0.xxx w/ 1.000 compression",
@@ -53,7 +53,7 @@ const char* sci_version_types[] = {
const int sci_max_resource_nr[] = {65536, 1000, 2048, 2048, 2048, 8192, 8192, 65536};
-const char* sci_error_types[] = {
+const char *sci_error_types[] = {
"No error",
"I/O error",
"Resource is empty (size 0)",
@@ -67,7 +67,7 @@ const char* sci_error_types[] = {
"SCI version is unsupported"
};
-const char* sci_resource_types[] = {"view", "pic", "script", "text", "sound",
+const char *sci_resource_types[] = {"view", "pic", "script", "text", "sound",
"memory", "vocab", "font", "cursor",
"patch", "bitmap", "palette", "cdaudio",
"audio", "sync", "message", "map", "heap"
diff --git a/engines/sci/scicore/resource.h b/engines/sci/scicore/resource.h
index 2b6c4b0474..443c6c775a 100644
--- a/engines/sci/scicore/resource.h
+++ b/engines/sci/scicore/resource.h
@@ -93,10 +93,10 @@ enum ResourceType {
#define RESSOURCE_ADDRESSING_EXTENDED 128
#define RESSOURCE_ADDRESSING_MASK 128
-extern const char* sci_error_types[];
-extern const char* sci_version_types[];
-extern const char* sci_resource_types[];
-extern const char* sci_resource_type_suffixes[]; /* Suffixes for SCI1 patch files */
+extern const char *sci_error_types[];
+extern const char *sci_version_types[];
+extern const char *sci_resource_types[];
+extern const char *sci_resource_type_suffixes[]; /* Suffixes for SCI1 patch files */
extern const int sci_max_resource_nr[]; /* Highest possible resource numbers */
diff --git a/engines/sci/scicore/sciconsole.cpp b/engines/sci/scicore/sciconsole.cpp
index 0c0124aaf5..a8e57e6d74 100644
--- a/engines/sci/scicore/sciconsole.cpp
+++ b/engines/sci/scicore/sciconsole.cpp
@@ -36,7 +36,7 @@ namespace Sci {
int con_passthrough = 0;
FILE *con_file = NULL;
-static void(*_con_string_callback)(char*) = NULL;
+static void (*_con_string_callback)(char*) = NULL;
static void (*_con_pixmap_callback)(gfx_pixmap_t *) = NULL;
int sciprintf(const char *fmt, ...) {