/* * Copyright (C) 2002-2021 The DOSBox Team * * 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. */ #ifndef GLIDEDEF_H #define GLIDEDEF_H #ifdef DOSBOX_DOSBOX_H struct GLIDE_Block { bool splash; bool enabled; bool * fullscreen; uint16_t width, height; class GLIDE_PageHandler * lfb_pagehandler; GLIDE_Block():enabled(false),fullscreen(0),width(0),height(0),lfb_pagehandler((GLIDE_PageHandler*)0) { } }; extern GLIDE_Block glide; extern void GLIDE_ResetScreen(bool update=false); extern void GLIDE_DisableScreen(void); #endif #define GLIDE_LFB 0x60000000 #define GLIDE_BUFFERS 3 /* Front, Back, AUX */ #define GLIDE_PAGE_BITS 11 /* =2048 pages per buffer, should be enough for 1600x1200x4 */ #define GLIDE_PAGES (GLIDE_BUFFERS*(1<