added #include "actor.h", some minor tweaks
svn-id: r4332
This commit is contained in:
parent
659bc0e691
commit
b529d80ed7
14 changed files with 17 additions and 9 deletions
1
akos.cpp
1
akos.cpp
|
@ -21,6 +21,7 @@
|
||||||
*/
|
*/
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
bool Scumm::akos_hasManyDirections(Actor * a)
|
bool Scumm::akos_hasManyDirections(Actor * a)
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
#include "math.h"
|
#include "actor.h"
|
||||||
|
|
||||||
byte Scumm::getMaskFromBox(int box)
|
byte Scumm::getMaskFromBox(int box)
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
const byte revBitMask[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
|
const byte revBitMask[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
|
||||||
|
|
||||||
|
|
|
@ -23,11 +23,9 @@
|
||||||
* Readline and command completion support by Tom Dunstan <tommyd@senet.com.au>
|
* Readline and command completion support by Tom Dunstan <tommyd@senet.com.au>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
#ifdef HAVE_READLINE
|
#ifdef HAVE_READLINE
|
||||||
#include "debugrl.h"
|
#include "debugrl.h"
|
||||||
|
|
1
gfx.cpp
1
gfx.cpp
|
@ -22,6 +22,7 @@
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
#include "gui.h"
|
#include "gui.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
void Scumm::getGraphicsPerformance()
|
void Scumm::getGraphicsPerformance()
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
bool Scumm::getClass(int obj, int cls)
|
bool Scumm::getClass(int obj, int cls)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1235,11 +1235,11 @@ void Scumm::allocateArrays()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool Scumm::isGlobInMemory(int type, int index)
|
bool Scumm::isGlobInMemory(int type, int idx)
|
||||||
{
|
{
|
||||||
validateResource("isGlobInMemory",type,index);
|
validateResource("isGlobInMemory",type,idx);
|
||||||
|
|
||||||
return res.address[type][index] != NULL;
|
return res.address[type][idx] != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
#include "sound/mididrv.h"
|
#include "sound/mididrv.h"
|
||||||
#include "sound/imuse.h"
|
#include "sound/imuse.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
struct SaveGameHeader {
|
struct SaveGameHeader {
|
||||||
uint32 type;
|
uint32 type;
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
/* Start executing script 'script' with parameters 'a' and 'b' */
|
/* Start executing script 'script' with parameters 'a' and 'b' */
|
||||||
void Scumm::runScript(int script, int a, int b, int16 * lvarptr)
|
void Scumm::runScript(int script, int a, int b, int16 * lvarptr)
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
void Scumm::setupOpcodes()
|
void Scumm::setupOpcodes()
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
#include "sound/mididrv.h"
|
#include "sound/mididrv.h"
|
||||||
#include "sound/imuse.h"
|
#include "sound/imuse.h"
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
#ifndef __SCUMMSYS_H_
|
#ifndef __SCUMMSYS_H_
|
||||||
#define __SCUMMSYS_H_
|
#define __SCUMMSYS_H_
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#if defined(HAVE_NO_BOOL)
|
#if defined(HAVE_NO_BOOL)
|
||||||
typedef int bool;
|
typedef int bool;
|
||||||
const bool true(1), false(0);
|
const bool true(1), false(0);
|
||||||
|
@ -132,7 +134,6 @@ typedef signed long int32;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(macintosh)
|
#elif defined(macintosh)
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "macos.h"
|
#include "macos.h"
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
#include "sound/mididrv.h"
|
#include "sound/mididrv.h"
|
||||||
#include "sound/imuse.h"
|
#include "sound/imuse.h"
|
||||||
#include <sys/stat.h>
|
#include "actor.h"
|
||||||
|
|
||||||
#ifdef _WIN32_WCE
|
#ifdef _WIN32_WCE
|
||||||
extern void *bsearch(const void *, const void *, size_t,
|
extern void *bsearch(const void *, const void *, size_t,
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scumm.h"
|
#include "scumm.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
int CharsetRenderer::getStringWidth(int arg, byte *text, int pos)
|
int CharsetRenderer::getStringWidth(int arg, byte *text, int pos)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue