home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / Samples / SprocketExamples / SprocketInvaders / Source / SIResources.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-07-14  |  2.3 KB  |  96 lines  |  [TEXT/CWIE]

  1. //•    ------------------------------------------------------------------------------------------    •
  2. //•
  3. //•    Copyright © 1996 Apple Computer, Inc., All Rights Reserved
  4. //•
  5. //•
  6. //•        You may incorporate this sample code into your applications without
  7. //•        restriction, though the sample code has been provided "AS IS" and the
  8. //•        responsibility for its operation is 100% yours.  However, what you are
  9. //•        not permitted to do is to redistribute the source as "DSC Sample Code"
  10. //•        after having made changes. If you're going to re-distribute the source,
  11. //•        we require that you make it clear in the source that the code was
  12. //•        descended from Apple Sample Code, but that you've made changes.
  13. //•
  14. //•        Authors:
  15. //•            Chris De Salvo
  16. //•
  17. //•    ------------------------------------------------------------------------------------------    •
  18.  
  19. #ifndef __SIRESOURCES__
  20. #define __SIRESOURCES__
  21.  
  22. //•    ------------------------------    Includes
  23. //•    ------------------------------    Public Definitions
  24.  
  25. //•    'ALRT' resources
  26.  
  27. #define kALRTAboutBox                128
  28. #define kALRTNoSoundSprocket            129
  29. #define kALRTFatal                    2000
  30. #define kALRTWarning                2001
  31. #define kALRTNonFatal                2002
  32. #define kALRTMessage                2003
  33.  
  34. //•    'CLUT' resources
  35.  
  36. #define kCLUTSprites                1000
  37. #define kCLUTTwoPlanets                2000
  38. #define kCLUTGasCloud                2001
  39.  
  40. //•    'MBAR' resources
  41.  
  42. #define kMBARMain                    128
  43.  
  44. //•    'MENU' resources
  45.  
  46. #define kMENUApple                    128
  47. #define kMENUFile                    129
  48. #define kMENUEdit                    130
  49. #define kMENUOptions                131
  50.  
  51. //•    'PICT' resources
  52.  
  53. #define kPICTTwoPlanets                2000
  54. #define kPICTGasCloud                2001
  55.  
  56. //•    'SND ' resources
  57.  
  58. #define kSND_PlayerFire                2000
  59. #define kSND_PlayerHit                2001
  60. #define kSND_EnemyFire                2002
  61. #define kSND_EnemyHit                2003
  62.  
  63. //•    'SPRT' resources
  64.  
  65. #define kSPRTPlayer                128
  66. #define kSPRTPlayerShot                129
  67. #define kSPRTPoints                    130
  68. #define kSPRTEnemy                    131
  69. #define kSPRTEnemyShot                132
  70. #define kSPRTPlayer2                133
  71.  
  72. //•    'STR#' resources
  73.  
  74. #define kSTRMessageStrings            2000
  75. #define kSTRiFatal                    1
  76. #define kSTRiWarning                2
  77. #define kSTRiNonFatal                3
  78. #define kSTRiFileError                4
  79.  
  80. //•    'WIND' resources
  81.  
  82. #define kWINDMain                    128
  83.  
  84. //•    ------------------------------    Public Types
  85. //•    ------------------------------    Public Variables
  86. //•    ------------------------------    Public Functions
  87.  
  88. #ifdef __cplusplus
  89. extern "C" {
  90. #endif
  91.  
  92. #ifdef __cplusplus
  93. }
  94. #endif
  95.  
  96. #endif