MOUSE.INC 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. ;* *
  20. ;* Project Name : Westwood 32 bit Library *
  21. ;* *
  22. ;* File Name : MOUSE.INC *
  23. ;* *
  24. ;* Programmer : Philip W. Gorrow *
  25. ;* *
  26. ;* Start Date : 12/12/95 *
  27. ;* *
  28. ;* Last Update : December 12, 1995 [PWG] *
  29. ;* *
  30. ;*---------------------------------------------------------------------------------------------*
  31. ;* Functions: *
  32. ;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
  33. STRUC MouseType
  34. MouseCursor DD ? ; pointer to the mouse cursor in memory
  35. MouseXHot DD ? ; X hot spot of the current mouse cursor
  36. MouseYHot DD ? ; Y hot spot of the current mouse cursor
  37. CursorWidth DD ? ; Width of mouse cursor in pixels
  38. CursorHeight DD ? ; Height of the mouse cursor in pixels
  39. MouseBuffer DD ? ; pointer to background buffer in memory
  40. MouseBuffX DD ? ; pixel x mouse buffer was preserved at
  41. MouseBuffY DD ? ; pixel y mouse buffer was preserved at
  42. MaxWidth DD ? ; Maximum possible width of the background buffer
  43. MaxHeight DD ? ; Maximum possible height of the background buffer
  44. MouseCXLeft DD ? ; left hand x position if conditional hide mouse in effect
  45. MouseCYUpper DD ? ; upper y position if conditional hide mouse in effect
  46. MouseCXRight DD ? ; right hand x position if conditional hide mouse in effect
  47. MouseCYLower DD ? ; lower y position if conditional hide mouse in effect
  48. MCFlags DB ? ; conditional hide mouse flags
  49. MCCount DB ? ; nesting count for conditional hide mouse
  50. Screen DD ? ; pointer to the surface mouse was init'd with
  51. PrevCursor DD ? ; pointer to the prev cursor shape
  52. MouseUpdate DD ? ; is the mouse being currently updated
  53. State DD ?
  54. EraseBuffer DD ?
  55. EraseBuffX DD ?
  56. EraseBuffY DD ?
  57. EraseBuffHotX DD ?
  58. EraseBuffHotY DD ?
  59. EraseFlags DD ?
  60. ENDS