DRAWBUFF.INC 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. ;
  2. ; Command & Conquer Red Alert(tm)
  3. ; Copyright 2025 Electronic Arts Inc.
  4. ;
  5. ; This program is free software: you can redistribute it and/or modify
  6. ; it under the terms of the GNU General Public License as published by
  7. ; the Free Software Foundation, either version 3 of the License, or
  8. ; (at your option) any later version.
  9. ;
  10. ; This program is distributed in the hope that it will be useful,
  11. ; but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ; GNU General Public License for more details.
  14. ;
  15. ; You should have received a copy of the GNU General Public License
  16. ; along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. ;
  18. ;***************************************************************************
  19. ;** 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 **
  20. ;***************************************************************************
  21. ;* *
  22. ;* Project Name : Westwood 32 bit Library *
  23. ;* *
  24. ;* File Name : DRAWBUFF.INC *
  25. ;* *
  26. ;* Programmer : Phil W. Gorrow *
  27. ;* *
  28. ;* Start Date : January 16, 1995 *
  29. ;* *
  30. ;* Last Update : January 16, 1995 [PWG] *
  31. ;* *
  32. ;*-------------------------------------------------------------------------*
  33. ;* Functions: *
  34. ;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
  35. ; Externs from REGIONSZ.ASM module of the DRAWBUFF library
  36. GLOBAL C Buffer_Size_Of_Region :NEAR
  37. ; Externs from GETPIX.ASM module of the DRAWBUFF library
  38. GLOBAL C Buffer_Get_Pixel :NEAR
  39. ; Externs from PUTPIX.ASM module of the DRAWBUFF library
  40. GLOBAL C Buffer_Put_Pixel :NEAR
  41. ; Externs from CLEAR.ASM module of the DRAWBUFF library
  42. GLOBAL C Buffer_Clear :NEAR
  43. ; Externs from BITBLIT.ASM module of the DRAWBUFF library
  44. GLOBAL C Linear_Blit_To_Linear :NEAR
  45. ; Externs from TOBUFF.ASM module of the DRAWBUFF library
  46. GLOBAL C Buffer_To_Buffer :NEAR
  47. ; Externs from TOPAGE.ASM module of the DRAWBUFF library
  48. GLOBAL C Buffer_To_Page :NEAR
  49. ; Externs from SCALE.ASM module of the DRAWBUFF library
  50. GLOBAL C Linear_Scale_To_Linear :NEAR
  51. ; Externs from TXTPRNT.ASM module of the DRAWBUFF library
  52. GLOBAL C Buffer_Print :NEAR
  53. ;*-------------------------------------------------------------------------*
  54. ;* Define Buffer only assembly GLOBALS *
  55. ;*-------------------------------------------------------------------------*
  56. ; Externs from DRAWLINE.ASM module of the DRAWBUFF library
  57. GLOBAL C Buffer_Draw_Line:NEAR
  58. ; Externs from FILLQUAD.ASM module of the DRAWBUFF library
  59. GLOBAL C Buffer_Fill_Quad :NEAR
  60. ; Externs from FILLRECT.ASM module of the DRAWBUFF library
  61. GLOBAL C Buffer_Fill_Rect :NEAR
  62. ; Externs from REMAP.ASM module of the DRAWBUFF library
  63. GLOBAL C Buffer_Remap :NEAR
  64. ; Externs from STAMP.ASM module of the DRAWBUFF library
  65. GLOBAL C Buffer_Draw_Stamp :NEAR
  66. GLOBAL C get_clip : NEAR
  67. struc RECTANGLE
  68. x0 dd ?
  69. y0 dd ?
  70. x1 dd ?
  71. y1 dd ?
  72. ends RECTANGLE