/* Sarien - A Sierra AGI resource interpreter engine * Copyright (C) 1999-2001 Stuart George and Claudio Matsuoka * * $Id: logic.h,v 1.5 2001/06/17 12:59:54 cmatsuoka Exp $ * * 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; see docs/COPYING for further details. */ #ifndef __AGI_LOGIC_H #define __AGI_LOGIC_H #ifdef __cplusplus extern "C"{ #endif /** * AGI logic resource structure. */ struct agi_logic { UINT8 *data; /**< raw resource data */ int size; /**< size of data */ int sIP; /**< saved IP */ int cIP; /**< current IP */ int num_texts; /**< number of messages */ char **texts; /**< message list */ }; int decode_logic (int); void unload_logic (int); #ifdef __cplusplus }; #endif #endif /* __AGI_LOGIC_H */