MOUSE.INC 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. ; TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed
  9. ; in the hope that it will be useful, but with permitted additional restrictions
  10. ; under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
  11. ; distributed with this program. You should have received a copy of the
  12. ; GNU General Public License along with permitted additional restrictions
  13. ; with this program. If not, see [https://github.com/electronicarts/CnC_Remastered_Collection]>.
  14. ;***********************************************************************************************
  15. ;* *
  16. ;* Project Name : Westwood 32 bit Library *
  17. ;* *
  18. ;* File Name : MOUSE.INC *
  19. ;* *
  20. ;* Programmer : Philip W. Gorrow *
  21. ;* *
  22. ;* Start Date : 12/12/95 *
  23. ;* *
  24. ;* Last Update : December 12, 1995 [PWG] *
  25. ;* *
  26. ;*---------------------------------------------------------------------------------------------*
  27. ;* Functions: *
  28. ;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
  29. STRUC MouseType
  30. MouseCursor DD ? ; pointer to the mouse cursor in memory
  31. MouseXHot DD ? ; X hot spot of the current mouse cursor
  32. MouseYHot DD ? ; Y hot spot of the current mouse cursor
  33. CursorWidth DD ? ; Width of mouse cursor in pixels
  34. CursorHeight DD ? ; Height of the mouse cursor in pixels
  35. MouseBuffer DD ? ; pointer to background buffer in memory
  36. MouseBuffX DD ? ; pixel x mouse buffer was preserved at
  37. MouseBuffY DD ? ; pixel y mouse buffer was preserved at
  38. MaxWidth DD ? ; Maximum possible width of the background buffer
  39. MaxHeight DD ? ; Maximum possible height of the background buffer
  40. MouseCXLeft DD ? ; left hand x position if conditional hide mouse in effect
  41. MouseCYUpper DD ? ; upper y position if conditional hide mouse in effect
  42. MouseCXRight DD ? ; right hand x position if conditional hide mouse in effect
  43. MouseCYLower DD ? ; lower y position if conditional hide mouse in effect
  44. MCFlags DB ? ; conditional hide mouse flags
  45. MCCount DB ? ; nesting count for conditional hide mouse
  46. Screen DD ? ; pointer to the surface mouse was init'd with
  47. PrevCursor DD ? ; pointer to the prev cursor shape
  48. MouseUpdate DD ? ; is the mouse being currently updated
  49. State DD ?
  50. EraseBuffer DD ?
  51. EraseBuffX DD ?
  52. EraseBuffY DD ?
  53. EraseBuffHotX DD ?
  54. EraseBuffHotY DD ?
  55. EraseFlags DD ?
  56. ENDS