DRAWBUFF.INC (3775B)
1 ; 2 ; Copyright 2020 Electronic Arts Inc. 3 ; 4 ; TiberianDawn.DLL and RedAlert.dll and corresponding source code is free 5 ; software: you can redistribute it and/or modify it under the terms of 6 ; the GNU General Public License as published by the Free Software Foundation, 7 ; either version 3 of the License, or (at your option) any later version. 8 9 ; TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed 10 ; in the hope that it will be useful, but with permitted additional restrictions 11 ; under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT 12 ; distributed with this program. You should have received a copy of the 13 ; GNU General Public License along with permitted additional restrictions 14 ; with this program. If not, see [https://github.com/electronicarts/CnC_Remastered_Collection]>. 15 16 17 ;*************************************************************************** 18 ;** 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 ** 19 ;*************************************************************************** 20 ;* * 21 ;* Project Name : Westwood 32 bit Library * 22 ;* * 23 ;* File Name : DRAWBUFF.INC * 24 ;* * 25 ;* Programmer : Phil W. Gorrow * 26 ;* * 27 ;* Start Date : January 16, 1995 * 28 ;* * 29 ;* Last Update : January 16, 1995 [PWG] * 30 ;* * 31 ;*-------------------------------------------------------------------------* 32 ;* Functions: * 33 ;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * 34 35 ; Externs from REGIONSZ.ASM module of the DRAWBUFF library 36 GLOBAL C Buffer_Size_Of_Region :NEAR 37 38 ; Externs from GETPIX.ASM module of the DRAWBUFF library 39 GLOBAL C Buffer_Get_Pixel :NEAR 40 41 ; Externs from PUTPIX.ASM module of the DRAWBUFF library 42 GLOBAL C Buffer_Put_Pixel :NEAR 43 44 ; Externs from CLEAR.ASM module of the DRAWBUFF library 45 GLOBAL C Buffer_Clear :NEAR 46 47 ; Externs from BITBLIT.ASM module of the DRAWBUFF library 48 GLOBAL C Linear_Blit_To_Linear :NEAR 49 50 ; Externs from TOBUFF.ASM module of the DRAWBUFF library 51 GLOBAL C Buffer_To_Buffer :NEAR 52 53 ; Externs from TOPAGE.ASM module of the DRAWBUFF library 54 GLOBAL C Buffer_To_Page :NEAR 55 56 ; Externs from SCALE.ASM module of the DRAWBUFF library 57 GLOBAL C Linear_Scale_To_Linear :NEAR 58 59 ; Externs from TXTPRNT.ASM module of the DRAWBUFF library 60 GLOBAL C Buffer_Print :NEAR 61 62 63 ;*-------------------------------------------------------------------------* 64 ;* Define Buffer only assembly GLOBALS * 65 ;*-------------------------------------------------------------------------* 66 67 ; Externs from DRAWLINE.ASM module of the DRAWBUFF library 68 GLOBAL C Buffer_Draw_Line:NEAR 69 70 ; Externs from FILLQUAD.ASM module of the DRAWBUFF library 71 GLOBAL C Buffer_Fill_Quad :NEAR 72 73 ; Externs from FILLRECT.ASM module of the DRAWBUFF library 74 GLOBAL C Buffer_Fill_Rect :NEAR 75 76 ; Externs from REMAP.ASM module of the DRAWBUFF library 77 GLOBAL C Buffer_Remap :NEAR 78 79 ; Externs from STAMP.ASM module of the DRAWBUFF library 80 GLOBAL C Buffer_Draw_Stamp :NEAR 81 82 GLOBAL C get_clip : NEAR 83 84 struc RECTANGLE 85 x0 dd ? 86 y0 dd ? 87 x1 dd ? 88 y1 dd ? 89 ends RECTANGLE 90