2002-07-19 21:39:41 +00:00
|
|
|
/* ScummVM - Scumm Interpreter
|
|
|
|
* Copyright (C) 2001/2002 The ScummVM project
|
|
|
|
*
|
|
|
|
* 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$
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Original code by Vasyl Tsvirkunov */
|
2002-03-14 22:37:50 +00:00
|
|
|
|
|
|
|
#ifndef SCREEN_H
|
|
|
|
#define SCREEN_H
|
|
|
|
|
|
|
|
#ifndef UBYTE
|
|
|
|
#define UBYTE unsigned char
|
|
|
|
#endif
|
|
|
|
|
2002-05-14 06:51:09 +00:00
|
|
|
void SetScreenGeometry(int w, int h);
|
2002-05-14 22:29:08 +00:00
|
|
|
void LimitScreenGeometry();
|
|
|
|
void RestoreScreenGeometry();
|
2002-03-14 22:37:50 +00:00
|
|
|
int GraphicsOn(HWND hWndMain);
|
|
|
|
void GraphicsOff();
|
|
|
|
void GraphicsSuspend();
|
|
|
|
void GraphicsResume();
|
|
|
|
|
|
|
|
void SetPalEntry(int ent, UBYTE r, UBYTE g, UBYTE b);
|
|
|
|
void Blt(UBYTE * scr_ptr);
|
|
|
|
|
|
|
|
/* meaning: 0 - portrait, 1 - left hand landscape, 2 - right hand landscape */
|
|
|
|
void SetScreenMode(int mode);
|
|
|
|
int GetScreenMode();
|
2002-07-18 22:53:54 +00:00
|
|
|
void drawWait();
|
2002-03-14 22:37:50 +00:00
|
|
|
|
|
|
|
void Translate(int* x, int* y);
|
|
|
|
|
|
|
|
typedef enum ToolbarSelected {
|
|
|
|
ToolbarNone,
|
|
|
|
ToolbarSaveLoad,
|
2002-07-18 22:53:54 +00:00
|
|
|
ToolbarMode,
|
2002-03-14 22:37:50 +00:00
|
|
|
ToolbarSkip,
|
|
|
|
ToolbarSound
|
|
|
|
} ToolbarSelected;
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|