1 /* ScummVM - Graphic Adventure Engine 2 * 3 * ScummVM is the legal property of its developers, whose names 4 * are too numerous to list here. Please refer to the COPYRIGHT 5 * file distributed with this source distribution. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 */ 22 23 #ifndef TINSEL_MOVE_H // prevent multiple includes 24 #define TINSEL_MOVE_H 25 26 #include "tinsel/dw.h" // for SCNHANDLE 27 #include "tinsel/rince.h" 28 29 namespace Tinsel { 30 31 struct MOVER; 32 33 typedef enum { YB_X2, YB_X1_5 } YBIAS; 34 35 int SetActorDest(MOVER *pMover, int x, int y, bool igPath, SCNHANDLE film); 36 void SSetActorDest(MOVER *pActor); 37 void DoMoveActor(MOVER *pMover); 38 39 void SetDefaultRefer(int32 defRefer); 40 int GetLastLeadXdest(); 41 int GetLastLeadYdest(); 42 43 DIRECTION GetDirection(int fromx, int fromy, int tox, int toy, DIRECTION lastreel, 44 HPOLYGON hPath, YBIAS yBias = YB_X2); 45 } // End of namespace Tinsel 46 47 #endif /* TINSEL_MOVE_H */ 48