From ff8094aad52d817f32cd0698ccf6fb38184e5752 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 28 Jan 2005 12:54:09 +0000 Subject: Combine actordata.cpp and objectdata.cpp into itedata.cpp. These are ITE specific and from other hand IHNM has these data in resources. svn-id: r16662 --- saga/actordata.h | 65 -------------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 saga/actordata.h (limited to 'saga/actordata.h') diff --git a/saga/actordata.h b/saga/actordata.h deleted file mode 100644 index 46bd997e1f..0000000000 --- a/saga/actordata.h +++ /dev/null @@ -1,65 +0,0 @@ -/* ScummVM - Scumm Interpreter - * Copyright (C) 2004-2005 The ScummVM project - * - * The ReInherit Engine is (C)2000-2003 by Daniel Balsom. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Header$ - * - */ - -// Actor data table header file - -#ifndef SAGA_ACTORDATA_H -#define SAGA_ACTORDATA_H - -namespace Saga { - -enum ActorFlags { - kProtagonist = 0x01, // Actor is protagonist - kFollower = 0x02, // Actor is follower - kCycle = 0x04, // Actor stand has a cycle - kFaster = 0x08, // Actor is fast - kFastest = 0x10, // Actor is faster - kExtended = 0x20 // Actor uses extended sprites -}; - -// TODO: This doesn't quite correspond to the original Actor struct, so I'm not -// sure if I got it right. - -struct ActorTableData { - byte flags; - byte nameIndex; - int32 sceneIndex; - int16 x; - int16 y; - int16 z; - int32 spriteListResourceId; - int32 frameListResourceId; - byte scriptEntrypointNumber; - byte speechColor; - byte currentAction; - byte facingDirection; - byte actionDirection; -}; - -#define ITE_ACTORCOUNT 181 - -extern ActorTableData ITE_ActorTable[ITE_ACTORCOUNT]; - -} // End of namespace Saga - -#endif -- cgit v1.2.3