********************************** HACKICON ********************************* HackIconII is Copyright (c) 1987 by the Software Distillery, written by Doug Walker. Feel free to redistribute this program or whatever you wish, but any commercial use of it should be cleared with the copyright holder. HackIconII is an editor designed to allow you to change the icons that HACK uses. To use it, simply type 'HackIconII' or click on its icon from workbench. If you wish, you may also specify one or two filenames on the CLI command line (although this is, of course, impossible from workbench). HACK expects its icons to be in the file 'characters'. I suggest you make a copy of this file to work from, just in case you don't like the changes you make. Once you get into HackIconII, everything is menu-driven. Hold the right mouse button to see the menu titles, then move the cursor over your selection and release it to execute it. The following menu selections are available when you start up: LOAD - Selecting LOAD (or hitting the right AMIGA key and 'L' simultaneously) will bring up a requestor asking you to type in a file name. The default name is 'characters', the HACK icon file. Click in the box containing the word 'characters', backspace over the word itself and type in the name of the file you want to edit. then click 'OK' to load the file or 'CANCEL' to abort loading. The name of the current file is displayed in the title bar. The maximum number of files you can edit at once is two. SAVE - Selecting SAVE (or Right-AMIGA-S) saves the current file back to where you loaded it from. HackIconII will not save it if it hasn't been changed. SAVEAS - Selecting SAVEAS (or Right-AMIGA-A) brings up a requestor (like the LOAD requestor) which allows you to choose a name to save the file to. COLORS - Selecting COLORS (or Right-AMIGA-C) brings up a color selection window. Use the mouse to click on one of the color patches on the right, and then adjust the Red, Green and Blue sliders on the left to get the color you want. When the COLORS window is active, you have a modified set of menus available. There are two sets of menus, PROJECT and COLORS. The PROJECT menu contains the following: SAVE - (Right-AMIGA-S) saves your color selections RESET - (Right-AMIGA-T) resets to the way they were when you started QUIT - (Right-AMIGA-Q) quits without saving your color selections The COLORS menu contains the following: ORIGINAL COLORS - (Right-AMIGA-O) resets to THIS FONT's original palette ALTFONT COLORS - (Right-AMIGA-F) resets to the ALTERNATE FONT's original palette ALTFONT - Selecting ALTFONT (or Right-AMIGA-F) switches the current icon font being displayed to the second loaded font. Note that you must have a second font loaded, either via the LOAD item or on the command line. COPY - Selecting COPY (or Right-Amiga-P) changes your cursor to the word FROM. Select an icon to copy from by clicking the left mouse button. Then your cursor becomes a TO. Select an icon to copy to with the left mouse button. Your menus change to say only ALTFONT and QUIT; ALTFONT still switches fonts, so you can copy characters from one font to the other, and QUIT aborts the copy. COPY MULT - Selecting COPY MULT (Right-AMIGA-N) is just like COPY except after you have selected a TO character, it starts over at the word FROM. When you have finished copying, select QUIT from the menu. QUIT - Quits the editor. To edit an icon, simply click on its slot (directly over the label for it.) An EDIT window will come up. Select a color on the right by clicking on it, then draw your icon with the mouse on the left. You can draw continuously by holding down the left button. A set of EDIT menus is available. The PROJECT menu is as follows: SAVE - (Right-AMIGA-S) Saves your changes back to the font (not to the disk) RESET - (Right-AMIGA-T) Resets the character to the way it was when you started editing. QUIT - (Right_AMIGA-Q) Quits without saving your changes The EDIT menu has the following: FLIP - This item has two subitems, X (Right-Amiga-X) and Y (Right-AMIGA-Y). When selected, they flip the image horizontally or vertically. ROTATE - This item has three subitems, +90 (Right-AMIGA-G), -90 (Right-AMIGA-H) and 180 (Right-AMIGA-I). When selected, they rotate the character counterclockwise, clockwise or BBS:(919)-471-6436 * \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* DEBUG MUST BE DEFINED FOR REAL ELSEWHERE!!! */ #ifdef MYDEBUG extern int debug; #define BUG(lvl, args) {if(lvl<=debug){printf args ; fflush(stdout);}} #define BUGGETC(lvl) {if(lvl<=debug)\ {printf("Hit return to continue: ");(void)getchar();}} #else #define BUG(lvl, args) {} #define BUGGETC(lvl) {} #endif MYDEBUG ÿÿýX`²/ aöZX`¦p0-ÿÊr ⨀ €g(J€g €f€p// aöªPp// aöžP`dB§/ aö’P`Xp0-ÿÊr ⨀ €d@ã€Nû````(p// a÷âP`$B§/ a÷ÖP`p// a÷XP` B§/ a÷LPp/// mÿì/(2N¹Oï/ /-ÿìaóàP`ûP y/(VN¹X+@ÿäJ€g