Quote:
Originally Posted by Sheppard
Well, what about just hooking at a location before the mouse gets drawn? And why is it harder to call starcraft's draw functions? Isn't like all info you need public already?
|
Like I said, hooking the mouse is a given. However the some of starcraft's ddraw functions are way out there and have 10 locations that print stuff that has invisible surface locks and have about 9 arguments.
However by changing 2 pointers the screen is all configured in my off-screen array and the rectangle that is being updated at the time is mine.
One of starcraft's ddraw functions was written in ASM by hand. This function stops the game play screen from writing over the command bar. I am basically using it a as blue print.