scummvm/engines/scumm/verbs.h

51 lines
1.2 KiB
C
Raw Normal View History

2002-11-29 15:13:49 +00:00
/* ScummVM - Scumm Interpreter
2006-01-18 17:39:49 +00:00
* Copyright (C) 2002-2006 The ScummVM project
2002-11-29 15:13:49 +00:00
*
* 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.
2002-11-29 15:13:49 +00:00
*
* $URL$
* $Id$
2002-11-29 15:13:49 +00:00
*/
#ifndef VERBS_H
#define VERBS_H
2003-05-15 22:36:43 +00:00
#include "common/scummsys.h"
#include "common/rect.h"
2002-11-29 15:13:49 +00:00
namespace Scumm {
2002-11-29 18:27:35 +00:00
enum {
kTextVerbType = 0,
kImageVerbType = 1
};
2002-11-29 15:13:49 +00:00
struct VerbSlot {
Common::Rect curRect;
Common::Rect oldRect;
uint16 verbid;
2002-11-29 15:13:49 +00:00
uint8 color, hicolor, dimcolor, bkcolor, type;
uint8 charset_nr, curmode;
uint16 saveid;
2002-11-29 15:13:49 +00:00
uint8 key;
bool center;
uint8 prep;
2002-11-29 15:13:49 +00:00
uint16 imgindex;
};
} // End of namespace Scumm
2002-11-29 15:13:49 +00:00
#endif