scummvm/engines/tony/mpal/loadmpc.h

84 lines
3.7 KiB
C++

/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*
*/
/**************************************************************************
* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ *
* ... Spyral Software snc *
* . x#""*$Nu -= We create much MORE than ALL =- *
* d*#R$. R ^#$o ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ *
* .F ^$k $ "$b *
* ." $b u "$ #$L *
* P $c :*$L"$L '$k Project: MPAL................... *
* d @$N. $. d ^$b^$k $c *
* F 4 "$c '$ $ #$u#$u '$ Module: MPC Loader Header...... *
* 4 4k *N #b .> '$N'*$u * *
* M $L #$ $ 8 "$c'#$b.. .@ Author: Giovanni Bajo.......... *
* M '$u "$u :" *$. "#*#" *
* M '$N. " F ^$k Desc: Legge un file compilato *
* 4> ^R$oue# d MPC.................... *
* '$ "" @ ....................... *
* #b u# *
* $b .@" OS: [ ] DOS [X] WIN95 [ ] OS/2 *
* #$u .d" *
* '*$e. .zR".@ ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ *
* "*$$beooee$*" @"M This source code is *
* """ '$.? Copyright (C) Spyral Software *
* '$d> ALL RIGHTS RESERVED *
* '$> ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ *
* *
**************************************************************************/
#ifndef __LOADMPC_H
#define __LOADMPC_H
namespace Tony {
namespace MPAL {
/****************************************************************************\
* Prototipi di funzione
\****************************************************************************/
/****************************************************************************\
*
* Function: BOOL ParseMpc(LPBYTE lpBuf);
*
* Description: Legge e interpreta un file MPC, e crea le strutture per le
* varie direttive nelle variabili globali
*
* Input: LPBYTE lpBuf Immagine in memoria del file MPC,
* escluso l'header
*
* Return: TRUE se tutto OK, FALSE in caso di errore.
*
\****************************************************************************/
bool ParseMpc(const byte *lpBuf);
} // end of namespace MPAL
} // end of namespace Tony
#endif