| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- /*
- ** Command & Conquer Red Alert(tm)
- ** Copyright 2025 Electronic Arts Inc.
- **
- ** 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 3 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, see <http://www.gnu.org/licenses/>.
- */
- /***************************************************************************
- ** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S **
- ***************************************************************************
- * *
- * Project Name : Westwood 32 bit Library *
- * *
- * File Name : BUFFGLBL.CPP *
- * *
- * Programmer : Phil W. Gorrow *
- * *
- * Start Date : January 10, 1995 *
- * *
- * Last Update : January 10, 1995 [PWG] *
- * *
- * This module holds the global fixup tables for the MCGA buffer class. *
- *-------------------------------------------------------------------------*
- * Functions: *
- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
- #include "gbuffer.h"
- /*=========================================================================*/
- /* The following PRIVATE functions are in this file: */
- /*=========================================================================*/
- /*= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =*/
- /*=========================================================================*/
- /* Globals required by GraphicBufferClass for function pointers. These */
- /* pointers will be set to the proper function when set mode is called. */
- /*=========================================================================*/
- BOOL (*GVPC_Blit_to_VVPC_Func)(void *, void *, int, int, int, int, int, int, BOOL);
- BOOL (*GVPC_Scale_To_VVPC)( void *, void *, int, int, int, int, int, int, int, int, BOOL, char *);
- #ifdef not_any_more_it_doesnt
- /*=========================================================================*/
- /* Globals required by VideoBufferClass for function pointers. These */
- /* pointers will be set to the proper function when set mode is called. */
- /*=========================================================================*/
- void (*VVPC_Clear_Func)(void *, unsigned char);
- long (*VVPC_To_Buffer_Func)(void *,int x, int y, int w, int h, void *buff, long size);
- void (*VVPC_Put_Pixel_Func)(void *,int x, int y, unsigned char color);
- int (*VVPC_Get_Pixel_Func)(void *, int x, int y);
- long (*VVPC_Buffer_To_Page)(int x, int y, int w, int h, void *Buffer, void *view);
- BOOL (*VVPC_Blit_to_GVPC_Func)(void *, void *, int, int, int, int, int, int, BOOL);
- BOOL (*VVPC_Blit_to_VVPC_Func)(void *, void *, int, int, int, int, int, int, BOOL);
- BOOL (*VVPC_Scale_To_GVPC)( void *, void *, int, int, int, int, int, int, int, int, BOOL, char *);
- BOOL (*VVPC_Scale_To_VVPC)( void *, void *, int, int, int, int, int, int, int, int, BOOL, char *);
- LONG (*VVPC_Print_Func)( void *, const char *, int, int, int, int);
- void (*VVPC_Draw_Stamp)(void *, void *, int, int, int, void *);
- long (*VVPC_Size_Of_Region)(void *, int, int);
- #endif //not_any_more_it_doesnt
- /*=========================================================================*/
- /* We need to keep a pointer to the logic page hanging around somewhere */
- /*=========================================================================*/
- GraphicViewPortClass *LogicPage;
- BOOL IconCacheAllowed = TRUE;
- /*
- ** Pointer to a function we will call if we detect loss of focus
- */
- void (*Gbuffer_Focus_Loss_Function)(void) = NULL;
|