Skip to main content
Home Documents Game Manuals Alert Fix Docs
Alert Fix Docs

Alert Fix Docs

Game Manuals · PDF
FilenameAlertFix_Docs.pdf
Size0.01 MB
Subsection Alert Fix Docs
Downloads0
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Alert Fix Docs
/
Loading…
OCR / Text contents
AlertFix 1.0 by Edward Voas Copyright © 1996 ISYS Development Corp. Release 1.0 - 2/10/96 Contents • The AlertFix Docs file (you're reading it now) • The AlertFix extension • The AlertFixResource.rsrc code resource • The InstallAlertFix header and source files Background This small system extension/code resource fixes the little, but quite annoying bug in the system software which causes alerts with custom color tables to always draw in the unhilited mode. I was sick and tired of dealing with it, so I decided to take some action! It is designed for programmers who are also sick of dealing with it. I have included a code resource which does the trick so other developers (like yourselves) can just load it and call it. The information on how to do this follows. The AlertFix Extension To use the extension, just drop it into your extensions folder and restart. You should be able to use all the color alert tables you want without any messy buildup. No frills here - no fancy icon, no control panel, no nothing. The AlertFix Code Resource This is included for those developers who would rather include this fix into their application. Developers of extensions can simply include the INIT code from the Extension itself in their own extensions. It'll automatically load at startup along with your own funky creation. For application writers, you can add this resource to your app, along with the InstallAlertFix source and header files. During program startup, call the InstallAlertFix routine, passing in the ID of the alert fix resource, whose type must be 'AFix'. That's all. The code would be as simple as this: #include "InstallAlertFix.h" . . ... initialization or whatver here ... . InstallAlertFix( 128 ); It is currently only a 68K resource, since what it patches are 68K routines, they don't do much and they only do the heavy work when an alert is coming up, so I don't think it'll affect your performance. You can call it from PowerPC or 68K code without any special considerations. The InstallAlertFix.h file has the necessary mixed mode stuff. -1- Licence and Distribution This package is freeware. You are free to share it with others and distribute this package freely, as long as all items mentioned above in 'Contents' are included. Commercial and Shareware developers are granted licence to include this fix in their products, as long as you state that portions are Copyright ISYS Development Corp. and put my name in the about box or such. Contacting the Author You can reach me at the following addresses if you have any questions or problems to report: America Online: ISYSDev Snail Mail: 140 Mount Vernon St. Arlington, MA 02174 -2-
mp.ls