home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / Manuels & Misc / Assembly / AOA.ZIP / SAMPLES / FPGM.A < prev    next >
Encoding:
Text File  |  1993-09-17  |  929 b   |  51 lines

  1. ; FPGM.A- Include file with macros and externals for the final project.
  2. ;
  3. ; Randall Hyde.
  4. ;
  5. ; Equates:
  6.  
  7. NULL        equ    0
  8. MaxWeight    equ    4    ;Max weight user can carry at one time.
  9.  
  10.  
  11. ; Some important data types everyone uses:
  12.  
  13. Room        struct
  14. north        word    ?    ;Near pointers to other structures where
  15. south        word    ?    ; we will wind up on the GO NORTH, GO SOUTH,
  16. west        word    ?    ; etc., commands.
  17. east        word    ?
  18.  
  19. ItemList    word    MaxWeight dup (?)
  20.  
  21. Description    word    ?    ;Description of room.
  22. Room        ends
  23.  
  24.  
  25. Item        struct
  26. Value        word    ?
  27. Weight        word    ?
  28. Key        word    ?
  29. ShortDesc    word    ?
  30. LongDesc    word    ?
  31. WinDesc        word    ?
  32. Item        ends
  33.  
  34.  
  35. dseg        segment        para public 'data'
  36.         externdef    CurRoom:word
  37. dseg        ends
  38.  
  39.  
  40. cseg        segment        para public 'code'
  41.         externdef    CheckPresence:near
  42.         externdef    RemoveItem:near
  43.         externdef    InsertItem:near
  44.         externdef    LongDesc:near
  45.         externdef    ShortDesc:near
  46.         externdef    Describe:near
  47. cseg        ends
  48.  
  49.  
  50.  
  51.