aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-11-04 12:16:08 +0000
committerFilippos Karapetis2009-11-04 12:16:08 +0000
commiteffdfcd4b8c92475d41a15cefbfd711724280924 (patch)
tree9710093bacf48733a887efff96e935b288c9823e /engines/sci/engine/vm.h
parentf755311114121ce67efc17db4a67996382affc47 (diff)
downloadscummvm-rg350-effdfcd4b8c92475d41a15cefbfd711724280924.tar.gz
scummvm-rg350-effdfcd4b8c92475d41a15cefbfd711724280924.tar.bz2
scummvm-rg350-effdfcd4b8c92475d41a15cefbfd711724280924.zip
Added references to the scaleX and scaleY selectors, used for SCI1.1 view scaling
svn-id: r45659
Diffstat (limited to 'engines/sci/engine/vm.h')
-rw-r--r--engines/sci/engine/vm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/vm.h b/engines/sci/engine/vm.h
index dddd5d9672..d09cb27e30 100644
--- a/engines/sci/engine/vm.h
+++ b/engines/sci/engine/vm.h
@@ -129,6 +129,7 @@ struct SelectorCache {
Selector doit; /**< Called (!) by the Animate() system call */
Selector signal; /**< Used by Animate() to control a view's behaviour */
Selector underBits; /**< Used by the graphics subroutines to store backupped BG pic data */
+ Selector scaleX, scaleY; /**< SCI1.1 view scaling */
/* The following selectors are used by the Bresenham syscalls: */
Selector canBeHere; /**< Funcselector: Checks for movement validity */
@@ -496,6 +497,7 @@ const char *convertSierraGameId(const char *gameName, uint32 *gameFlags);
*/
int game_init(EngineState *s);
+#ifdef INCLUDE_OLDGFX
/**
* Initializes the graphics part of an SCI game
* This function may only be called if game_init() did not initialize
@@ -504,6 +506,7 @@ int game_init(EngineState *s);
* @return 0 on success, 1 if an error occured
*/
int game_init_graphics(EngineState *s);
+#endif
/**
* Initializes the sound part of an SCI game