home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / grafik / tp6vga / myicon4.doc < prev    next >
Encoding:
Text File  |  1992-06-04  |  1.9 KB  |  48 lines

  1.  
  2.  
  3. MY-Icon IV is a drawing editor to make sprites for Turbo Pascal 6.0's getimage
  4. and putimage procedures.  The palette for MY-Icon IV is in tp.pal.  Contained
  5. in VgaPal.TPU is a procedure called:
  6.  
  7.       quickpal(FileName:String,Palette_Instruction:byte);
  8.  
  9. The FileName is a file that is 768 bytes long.  The Palette_Instruction is
  10. a number between 1 and 4.  1 makes the palette quickly.  2 fades the palette
  11. in.  3 fades the palette out.  4 cycles the palette.
  12.  
  13. All that is required to load the sprites from MY-Icon IV is to include 
  14. sprload.TPU in the uses declaration.
  15.  
  16.  
  17. Look in example.PAS for an example.
  18.  
  19.  
  20.             Instructions for MY-Icon IV
  21.  
  22. "?":                 Brings up help.
  23. "<ENTER>":           Shows the color palette.
  24. "+":                 Increments the current color.
  25. "-":                 Decrements the current color.
  26. "<":                 Lowers the scaling ratio (2 min)
  27. ">":                 Raises the scaling ratio (4 max)
  28. "2":                 Moves the cursor down.
  29. "4":                 Moves the cursor left.
  30. "5":                 Erase the pixel below the cursor.
  31. "6":                 Moves the cursor right.
  32. "8":                 Moves the cursor up.
  33. "B":                 Sets the X,Y boundary.
  34. "C":                 Clears the sprite.
  35. "H":                 Flips the picture on the Horizontal plane.
  36. "I":                 Gives information on the current sprite.
  37. "L":                 Loads a sprite.
  38. "P" or "*":          Clones the color the cursor is on.
  39. "R":                 Rotates the sprite.
  40. "S":                 Saves the sprite.
  41. "V":                 Flips the sprite on the Vertical plane.
  42. " " or "0":          Changes the pen to down or up.
  43. "<ESC>":             Leaves the program.
  44. "<F1>":              Brings up help.
  45. "<F2>":              Redraws the screen.
  46. "<F3>":              Toggles the background white or black.
  47. "<F4>":              Searches for sprite files.
  48.