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