home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 7 Games / 07-Games.zip / sp2src.zip / Sp2.H < prev    next >
Text File  |  1999-04-04  |  10KB  |  187 lines

  1. /*
  2.     ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐
  3.     ├─┼─┼─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┼─┼─┤
  4.     ├─┼─┤   PROJECT      : SP2 (South Park Speaks/2)                  ├─┼─┤
  5.     ├─┼─┤   FILE         : SP2.H - Include File                       ├─┼─┤
  6.     ├─┼─┤   Last modified: 20 Mar 99                                  ├─┼─┤
  7.     ├─┼─┼─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┼─┼─┤
  8.     └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘
  9.  
  10.     SP2 - South Park Speaks/2
  11. */
  12. /* ------------------------------------------------------------------------ */
  13. /* History                                                                  */
  14. /* ------------------------------------------------------------------------ */
  15. /*
  16.     1.00    20/03/99    Initial Version
  17. */
  18. /* ------------------------------------------------------------------------ */
  19. /* Include files                                                            */
  20. /* ------------------------------------------------------------------------ */
  21.  
  22. /* ------------------------------------------------------------------------ */
  23. /* Definitions                                                              */
  24. /* ------------------------------------------------------------------------ */
  25.  
  26. /* ------------------------------------------------------------------------ */
  27. /* External references                                                      */
  28. /* ------------------------------------------------------------------------ */
  29.  
  30. /* ------------------------------------------------------------------------ */
  31. /* Foreward references                                                      */
  32. /* ------------------------------------------------------------------------ */
  33.  
  34. /* ------------------------------------------------------------------------ */
  35. /* Constant Local Data                                                      */
  36. /* ------------------------------------------------------------------------ */
  37.  
  38. /* ------------------------------------------------------------------------ */
  39. /* Global Data                                                              */
  40. /* ------------------------------------------------------------------------ */
  41.  
  42. /* ------------------------------------------------------------------------ */
  43. /* Code                                                                     */
  44. /* ------------------------------------------------------------------------ */
  45.  
  46. /* ------------------------------------------------------------------------ */
  47. /* Definitions for Resources                                                */
  48. /*                                                                          */
  49. /*  NOTE:                                                                   */
  50. /*      It is *CRITICAL* that all of these constants are *UNIQUE*           */
  51. /*                                                                          */
  52. /*  Constants are to be named using the following prefixes:                 */
  53. /*                                                                          */
  54. /*  Icons                   IDI_                                            */
  55. /*  Bitmaps                 IDB_                                            */
  56. /*  Menus                   IDM_                                            */
  57. /*  Dialogs                 DLG_                                            */
  58. /*  Strings                 IDS_                                            */
  59. /*  Push Buttons            PB_                                             */
  60. /*  Graphic Radio Buttons   GRB_                                            */
  61. /*  Static Text             ST_                                             */
  62. /*  Entry Fields            EF_                                             */
  63. /*  Rectangles              RE_                                             */
  64. /*  Combo boxes             CX_                                             */
  65. /*  Spin Buttons            SPB_                                            */
  66. /*  List Boxes              LB_                                             */
  67. /*  Containers              IDC_                                            */
  68. /*  Wave Files              IDWAV_                                          */
  69. /*  AVI Files               IDAVI_                                          */
  70. /*                                                                          */
  71. /*  For human readability, you are expected to post-edit this file to       */
  72. /*  maintain the logical grouping of constants. All of the definitions      */
  73. /*  of a particular Dialog box, should be grouped together so as to form    */
  74. /*  some form of locality of constants. Ie, you'd know where to look to     */
  75. /*  see where the constants are being used.                                 */
  76. /*                                                                          */
  77. /* ------------------------------------------------------------------------ */
  78.  
  79. /* ------------------------------------------------------------------------ */
  80. /* Resource Types (from OS2MEDEF.H)                                         */
  81. /* ------------------------------------------------------------------------ */
  82.  
  83. #define RT_RMID                     100
  84. #define RT_RIFF                     101
  85. #define RT_WAVE                     102
  86. #define RT_AVI                      103
  87. #define RT_AVS                      104
  88.  
  89. /* ------------------------------------------------------------------------ */
  90. /* Icon Id's    (100-499)                                                   */
  91. /* ------------------------------------------------------------------------ */
  92. #define IDI_SP2                     100
  93.  
  94. /* ------------------------------------------------------------------------ */
  95. /* Bitmap Id's (500-999)                                                    */
  96. /* ------------------------------------------------------------------------ */
  97. #define IDB_BGAL                    500
  98. #define IDB_CARTMAN                 501
  99. #define IDB_CHEF                    502
  100. #define IDB_GARRISON                503
  101. #define IDB_HANKY                   504
  102. #define IDB_IKE                     505
  103. #define IDB_JESUS                   506
  104. #define IDB_KENNY                   507
  105. #define IDB_KYLE                    508
  106. #define IDB_POLICE                  509
  107. #define IDB_STAN                    510
  108.  
  109. /* ------------------------------------------------------------------------ */
  110. /* String Id's (1000-1899)                                                  */
  111. /* ------------------------------------------------------------------------ */
  112.  
  113. /* ------------------------------------------------------------------------ */
  114. /* Other Resource ID's (1900-1999)                                          */
  115. /* ------------------------------------------------------------------------ */
  116. #define IDWAV_BGAL1                 1900
  117. #define IDWAV_BGAL2                 1901
  118. #define IDWAV_CARTMAN1              1902
  119. #define IDWAV_CARTMAN2              1903
  120. #define IDWAV_CARTMAN3              1904
  121. #define IDWAV_CARTMAN4              1905
  122. #define IDWAV_CARTMAN5              1906
  123. #define IDWAV_CARTMAN6              1907
  124. #define IDWAV_CARTMAN7              1908
  125. #define IDWAV_CARTMAN8              1909
  126. #define IDWAV_CARTMAN9              1910
  127. #define IDWAV_CARTMAN10             1911
  128. #define IDWAV_CARTMAN11             1912
  129. #define IDWAV_CARTMAN12             1913
  130. #define IDWAV_CARTMAN13             1914
  131. #define IDWAV_CARTMAN14             1915
  132. #define IDWAV_CARTMAN15             1916
  133. #define IDWAV_CHEF1                 1917
  134. #define IDWAV_CHEF2                 1918
  135. #define IDWAV_CHEF3                 1919
  136. #define IDWAV_CHEF4                 1920
  137. #define IDWAV_CHEF5                 1921
  138. #define IDWAV_GARRISON1             1922
  139. #define IDWAV_GARRISON2             1923
  140. #define IDWAV_GARRISON3             1924
  141. #define IDWAV_GARRISON4             1925
  142. #define IDWAV_HANKY1                1926
  143. #define IDWAV_IKE1                  1927
  144. #define IDWAV_IKE2                  1928
  145. #define IDWAV_IKE3                  1929
  146. #define IDWAV_JESUS1                1930
  147. #define IDWAV_JESUS2                1931
  148. #define IDWAV_JESUS3                1932
  149. #define IDWAV_KENNY1                1933
  150. #define IDWAV_KENNY2                1934
  151. #define IDWAV_KYLE1                 1935
  152. #define IDWAV_KYLE2                 1936
  153. #define IDWAV_KYLE3                 1937
  154. #define IDWAV_KYLE4                 1938
  155. #define IDWAV_POLICE1               1939
  156. #define IDWAV_POLICE2               1940
  157. #define IDWAV_STAN1                 1941
  158. #define IDWAV_STAN2                 1942
  159. #define IDWAV_STAN3                 1943
  160. #define IDWAV_STAN4                 1944
  161. #define IDWAV_END                   1945
  162.  
  163. #define NO_WAVES                    ( IDWAV_STAN4 - IDWAV_BGAL1 + 1 )
  164.  
  165. /* ------------------------------------------------------------------------ */
  166. /* Menu Id's (2000-2999)                                                    */
  167. /* ------------------------------------------------------------------------ */
  168.  
  169. #define IDM_POPUP                   2000
  170. #define IDM_ABOUT                   2001
  171.  
  172. /* ------------------------------------------------------------------------ */
  173. /* Dialog Id's (5000+, in increments of 100 if possible)                    */
  174. /* ------------------------------------------------------------------------ */
  175.  
  176. #define DLG_SOUTHPARKSPEAKS         5000
  177.  
  178. #define DLG_ABOUT                   5100
  179.  
  180. #define DUMMY_MARKER                34000
  181.  
  182. /* ------------------------------------------------------------------------ */
  183. /* Demarkation Line - Anything after this needs to be resolved and moved.   */
  184. /* ------------------------------------------------------------------------ */
  185.  
  186.  
  187.