; ; 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 : MCGAPRIM.INC * ;* * ;* Programmer : Phil W. Gorrow * ;* * ;* Start Date : January 16, 1995 * ;* * ;* Last Update : January 16, 1995 [PWG] * ;* * ;*-------------------------------------------------------------------------* ;* Functions: * ;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * ; Externs from REGIONSZ.ASM module of the MCGAPRIM library GLOBAL MCGA_Size_Of_Region :NEAR ; Externs from GETPIX.ASM module of the MCGAPRIM library GLOBAL MCGA_Get_Pixel :NEAR ; Externs from VGETPIX.ASM module of the SVGA/MCGAPRIM library GLOBAL Vesa_Get_Pixel :NEAR ; Externs from PUTPIX.ASM module of the MCGAPRIM library GLOBAL MCGA_Put_Pixel :NEAR ; Externs from VPUTTPIX.ASM module of the SVGA/MCGAPRIM library GLOBAL Vesa_Put_Pixel :NEAR ; Externs from CLEAR.ASM module of the MCGAPRIM library GLOBAL MCGA_Clear :NEAR ; Externs from VCLEAR.ASM module of the MCGA/SVGAPRIM library GLOBAL Vesa_Clear :NEAR ; Externs from BITBLIT.ASM module of the MCGAPRIM library GLOBAL Linear_Blit_To_Linear :NEAR ; Externs from VBITBLIT.ASM module of the MCGA/SVGAPRIM library GLOBAL Linear_Blit_To_Vesa :NEAR GLOBAL Vesa_Blit_To_Linear :NEAR GLOBAL Vesa_Blit_To_Vesa :NEAR ; Externs from TOBUFF.ASM module of the MCGAPRIM library GLOBAL MCGA_To_Buffer :NEAR ; Externs from VTOBUFF.ASM module of the SVGA/MCGAPRIM library GLOBAL Vesa_To_Buffer :NEAR ; Externs from TOPAGE.ASM module of the MCGAPRIM library GLOBAL MCGA_Buffer_To_Page :NEAR ; Externs from VTOPAGE.ASM module of the SVGA/MCGAPRIM library GLOBAL Vesa_Buffer_To_Page :NEAR ; Externs from SCALE.ASM module of the MCGAPRIM library GLOBAL Linear_Scale_To_Linear :NEAR ; Externs from VSCALE.ASM module of the SVGA/MCGAPRIM library GLOBAL Linear_Scale_To_Vesa :NEAR GLOBAL Vesa_Scale_To_Linear :NEAR GLOBAL Vesa_Scale_To_Vesa :NEAR ; Externs from TXTPRNT.ASM module of the MCGAPRIM library GLOBAL MCGA_Print :NEAR ; Externs from VTXTPRNT.ASM module of the SVGA/MCGAPRIM library GLOBAL Vesa_Print :NEAR ;*-------------------------------------------------------------------------* ;* Define MCGA only assembly GLOBALS * ;*-------------------------------------------------------------------------* ; Externs from DRAWLINE.ASM module of the MCGAPRIM library GLOBAL MCGA_Draw_Line :NEAR ; Externs from FILLQUAD.ASM module of the MCGAPRIM library GLOBAL MCGA_Fill_Quad :NEAR ; Externs from FILLRECT.ASM module of the MCGAPRIM library GLOBAL MCGA_Fill_Rect :NEAR ; Externs from REMAP.ASM module of the MCGAPRIM library GLOBAL MCGA_Remap :NEAR ; Externs from STAMP.ASM module of the MCGAPRIM library GLOBAL MCGA_Draw_Stamp :NEAR GLOBAL get_clip : NEAR struc RECTANGLE x0 dd ? y0 dd ? x1 dd ? y1 dd ? ends RECTANGLE