home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c011 / 3.ddi / INCS / FXLIB.ASM < prev    next >
Encoding:
Assembly Source File  |  1989-06-01  |  3.2 KB  |  70 lines

  1. ; fxLib.ASM                                                                  ;
  2. ; Copyright (c) Genus Microprogramming, Inc. 1988-89  All Rights Reserved.   ;
  3.  
  4. ;****************************************************************************;
  5. ;                                                                            ;
  6. ; Function declarations for PCX Effects, for Assembly Language.              ;
  7. ;                                                                            ;
  8. ;                                                                            ;
  9. ;                                                                            ;
  10. ;                                                                            ;
  11. ;                                                                            ;
  12. ;                                                                            ;
  13. ; Microsoft ASM 5.x version.              Programmer: Chris Howard  5/25/89  ;
  14. ;                                                                            ;
  15. ;****************************************************************************;
  16.  
  17.  
  18. ;Effects
  19. fxMINEFFECT  equ    0
  20. fxWIPE       equ    0                       ;Wipe    
  21. fxSPLIT      equ    1                       ;Split   
  22. fxCRUSH      equ    2                       ;Crush   
  23. fxSLIDE      equ    3                       ;Slide   
  24. fxSAND       equ    4                       ;Sand    
  25. fxDRIP       equ    5                       ;Drip    
  26. fxEXPLODE    equ    6                       ;Explode 
  27. fxDIAGONAL   equ    7                       ;Spiral  
  28. fxSPIRAL     equ    8                       ;Diagonal
  29. fxRANDOM     equ    9                       ;Random  
  30. fxMAXEFFECT  equ    9
  31.  
  32.  
  33. ;Palette */
  34. fxFADEOUT    equ    1000                    ;Fade out
  35. fxFADEIN     equ    1001                    ;Fade in 
  36.  
  37. ;Directions */
  38. fxNONE       equ    0                       ;No direction
  39. fxLEFT       equ    1                       ;Left 
  40. fxRIGHT      equ    2                       ;Right
  41. fxUP         equ    4                       ;Up   
  42. fxDOWN       equ    8                       ;Down 
  43. fxHORIZ      equ    1                       ;Horizontal
  44. fxVERT       equ    2                       ;Vertical
  45. fxOUT        equ    1                       ;Out
  46. fxIN         equ    2                       ;In 
  47.  
  48. ;Grain */
  49. fxMINGRAIN   equ    2                       ;Minimum grain
  50. fxMAXGRAIN   equ    64                      ;Maximum grain
  51.  
  52. ;Delay */
  53. fxMINDELAY   equ    0                       ;Minimum delay
  54. fxMAXDELAY   equ    500                     ;Maximum delay
  55.  
  56. ;Miscellaneous */
  57. fxTRUE       equ    1                       ;True
  58. fxFALSE      equ    0                       ;False
  59. fxON         equ    fxTRUE                  ;On   
  60. fxOFF        equ    fxFALSE                 ;Off  
  61.  
  62. ;Error codes */
  63. fxSUCCESS       equ pcxSUCCESS              ;Successful                
  64. fxERR_ESCAPE    equ pcxERR_ESCAPE           ;Escape key was pressed    
  65. fxERR_BADEFFECT equ -1000                   ;Effect not defined/invalid
  66. fxERR_BADGRAIN  equ -1001                   ;Grain  not defined/invalid
  67. fxERR_BADDELAY  equ -1002                   ;Delay  not defined/invalid
  68.  
  69.  
  70.