localize.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2016 RWS Inc, All Rights Reserved
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of version 2 of the GNU General Public License as published by
  7. // the Free Software Foundation
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License along
  15. // with this program; if not, write to the Free Software Foundation, Inc.,
  16. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. //
  18. // localize.h
  19. // Project: Postal
  20. //
  21. // History:
  22. // 02/03/97 JMI Added g_pszBadNoSakDirPath[].
  23. //
  24. // 04/11/97 JMI Added g_pszSaveDemoTitle and g_pszGeneralWriteError.
  25. //
  26. // 04/16/97 MJR Added a few more messages.
  27. //
  28. // And then added a few more video messages, too.
  29. //
  30. // 04/21/97 MJR Created generic version of "bad path" message.
  31. //
  32. // 05/14/97 JMI Added g_pszPickedUpMessage_ld_s for CDude.
  33. //
  34. // 06/03/97 JMI Changed g_pszAudioModeError to g_pszAudioModeGeneralError
  35. // and added g_pszAudioModeInUseError,
  36. // g_pszAudioModeNoDeviceError,
  37. // g_pszAudioModeNotSupportedError.
  38. //
  39. // 06/04/97 JMI Added g_pszNotOnCDROM.
  40. //
  41. // 06/06/97 JMI Changed message for g_pszPickedUpMessage_ld_s and its name
  42. // to g_pszPickedUpMessage_s.
  43. //
  44. // 06/14/97 MJR Added/enhanced general file error messages.
  45. //
  46. // 07/13/97 JMI Changed g_pszAudioModeNotSupportedError to
  47. // g_pszAudioModeNotSupportedError_s and changed to ask the
  48. // user if they want to try the vanilla mode.
  49. // Also, changed the other audio errors to include the
  50. // sprintf format parameters in their names.
  51. // Also, added g_pszAudioVanillaModeNotSupportedError_s for
  52. // the case when the hardware does not support the vanilla
  53. // mode.
  54. //
  55. // 07/21/97 JMI Added g_pszNoWeaponButHaveAmmo_s_s and g_pszNoWeapon_s.
  56. //
  57. // 07/28/97 JMI Added g_pszDispenserNoDispenseeTypeChosen.
  58. //
  59. // 08/05/97 JMI Added g_pszDontHaveExecuteWeapon_s and
  60. // g_pszDontHaveSuicideWeapon_s.
  61. //
  62. // 08/12/97 JMI Added g_pszGenericBrowseFor_s_Title and
  63. // g_pszGenericMustBeRelativePath_s.
  64. //
  65. // 08/17/97 JMI Got rid of m_szMessages and all message related functions
  66. // and variables from CDude since we are now using the toolbar
  67. // for dude status feedback to the user. This includes:
  68. // MsgTypeInfo, m_lNextStatusUpdateTime, m_lMsgUpdateDoneTime,
  69. // m_print, m_bClearedStatus, m_szMessages[], m_sDeadMsgNum,
  70. // ms_amtfMessages[], ms_u8FontForeIndex, ms_u8FontBackIndex,
  71. // ms_u8FontShadowIndex, DrawStatus(), StatusChange(),
  72. // MessageChange(), Message(), UpdateFontColors(),
  73. // CPowerUp::ms_apszPowerUpTypeNames[],
  74. // CPowerUp::GetDescription(), and some strings and a string
  75. // array in localize.*.
  76. //
  77. // 08/20/97 JMI Added g_pszDontDropYourselfMORON.
  78. //
  79. // 08/21/97 JMI Added g_pszDoofusCannotFindNavNet_EditMode_hu_hu and
  80. // g_pszDoofusCannotFindNavNet_PlayMode_hu_hu.
  81. //
  82. // 08/25/97 JMI Added g_pszCannotOpenSoundFiles_s_s.
  83. //
  84. // 09/11/97 JMI Added g_pszPlayOneRealmOnlyMessage.
  85. //
  86. // 09/18/97 JMI Added localization vars for menus.
  87. //
  88. // 09/18/97 JMI Added localization vars for SampleMaster categories.
  89. //
  90. // 09/29/97 JMI Added g_pszNoSoundFiles.
  91. //
  92. // 10/07/97 BRH Added score localizations.
  93. //
  94. // 10/09/97 JMI Added g_pszVideoChangeDepthErrorUnderGDI_s.
  95. //
  96. // 10/13/97 JMI Added g_pszControlsMenu_UseJoystick to localizable texts.
  97. //
  98. // 12/04/97 BRH Added g_pszStartSinglePlayerMenu_AddOn.
  99. //
  100. // 03/05/98 BRH Added g_pszWrongCD message that tells the player that they
  101. // must have the original Postal CD in the drive in order to
  102. // play the Postal Add on Pack.
  103. //
  104. // 02/04/00 MJR Added g_pszPromptForOriginalCD.
  105. //
  106. //
  107. ////////////////////////////////////////////////////////////////////////////////
  108. #ifndef LOCALIZE_H
  109. #define LOCALIZE_H
  110. // I went with variables instead of macros for one primary reason. At some
  111. // point, most likely near the end of the project, when time is in short supply,
  112. // someone will need to go through and clean up all these strings. If these
  113. // were macros, then nearly every file in the project would need to recompile
  114. // each time this file was changed. With strings, you generally don't modify
  115. // this file, but instead modify the .CPP file, so only that file needs to be
  116. // recompiled. The disadvantage is that whenever you need to add, delete, or
  117. // rename strings, you have to do it both here and in the .CPP file.
  118. extern char g_pszAppName[];
  119. extern char g_pszCriticalErrorTitle[];
  120. extern char g_pszBadBlueInit[];
  121. extern char g_pszVideoModeError[];
  122. extern char g_pszVideoChangeDepthError[];
  123. extern char g_pszVideoDepthError[];
  124. extern char g_pszVideoResolutionError[];
  125. extern char g_pszVideoPagesError[];
  126. extern char g_pszVideoChangeDepthErrorUnderGDI_s[];
  127. extern char g_pszAudioModeGeneralError_s[];
  128. extern char g_pszAudioModeInUseError_s[];
  129. extern char g_pszAudioModeNoDeviceError_s[];
  130. extern char g_pszAudioModeNotSupportedError_s[];
  131. extern char g_pszAudioVanillaModeNotSupportedError_s[];
  132. extern char g_pszPrefFileName[];
  133. extern char g_pszPrefOpenError[];
  134. extern char g_pszPrefReadError[];
  135. extern char g_pszPrefWriteError[];
  136. extern char g_pszPrefReadOnly[];
  137. extern char g_pszTitleError[];
  138. extern char g_pszCantFindAssets[];
  139. extern char g_pszWrongCD[];
  140. extern char g_pszPromptForOriginalCD[];
  141. extern char g_pszGeneralError[];
  142. extern char g_pszBadPath_s_s[];
  143. extern char g_pszBadCDPath_s_s[];
  144. extern char g_pszAssetsMissingError[];
  145. extern char g_pszNotOnCDROM[];
  146. extern char g_pszSaveFileQuery[];
  147. extern char g_pszSaveDemoTitle[];
  148. extern char g_pszSaveGameTitle[];
  149. extern char g_pszSaveGameErrorTitle[];
  150. extern char g_pszSaveGameErrorText[];
  151. extern char g_pszLoadGameTitle[];
  152. extern char g_pszFileOpenError_s[];
  153. extern char g_pszFileReadError_s[];
  154. extern char g_pszFileWriteError_s[];
  155. extern char g_pszDispenserNoDispenseeTypeChosen[];
  156. extern char g_pszGenericBrowseFor_s_Title[];
  157. extern char g_pszGenericMustBeRelativePath_s[];
  158. extern char g_pszDontDropYourselfMORON[];
  159. extern char g_pszDoofusCannotFindNavNet_EditMode_hu_hu[];
  160. extern char g_pszDoofusCannotFindNavNet_PlayMode_hu_hu[];
  161. extern char g_pszCannotOpenSoundFiles_s_s[];
  162. extern char g_pszNoSoundFiles[];
  163. extern char g_pszPlayOneRealmOnlyMessage[];
  164. ////////////////////////////////////////////////////////////////////////////////
  165. ////////////////////////////////// Misc ///////////////////////////////////////
  166. ////////////////////////////////////////////////////////////////////////////////
  167. extern char g_pszEditorDisabled[];
  168. extern char g_pszMultiplayerDisabled[];
  169. extern char g_pszBuy[];
  170. ////////////////////////////////////////////////////////////////////////////////
  171. ////////////////////////////////// Menus ///////////////////////////////////////
  172. ////////////////////////////////////////////////////////////////////////////////
  173. extern char g_pszMainMenu_Title[];
  174. extern char g_pszMainMenu_Start[];
  175. extern char g_pszMainMenu_Options[];
  176. extern char g_pszMainMenu_Editor[];
  177. extern char g_pszMainMenu_Buy[];
  178. extern char g_pszMainMenu_Exit[];
  179. extern char g_pszVerifyExitMenu_Title[];
  180. extern char g_pszVerifyExitMenu_Yes[];
  181. extern char g_pszVerifyExitMenu_No[];
  182. extern char g_pszVerifyQuitMenu_Title[];
  183. extern char g_pszVerifyQuitMenu_Yes[];
  184. extern char g_pszVerifyQuitMenu_No[];
  185. extern char g_pszGameMenu_Title[];
  186. extern char g_pszGameMenu_Continue[];
  187. extern char g_pszGameMenu_Save[];
  188. extern char g_pszGameMenu_Options[];
  189. extern char g_pszGameMenu_Quit[];
  190. extern char g_pszEditorMenu_Title[];
  191. extern char g_pszEditorMenu_Continue[];
  192. extern char g_pszEditorMenu_Options[];
  193. extern char g_pszEditorMenu_Quit[];
  194. extern char g_pszOptionsMenu_Title[];
  195. extern char g_pszOptionsMenu_Video[];
  196. extern char g_pszOptionsMenu_Audio[];
  197. extern char g_pszOptionsMenu_Controls[];
  198. extern char g_pszOptionsMenu_Multiplayer[];
  199. extern char g_pszOptionsMenu_Performance[];
  200. extern char g_pszOptionsMenu_Difficulty[];
  201. extern char g_pszOptionsMenu_Crosshair[];
  202. extern char g_pszDifficultyMenu_Title[];
  203. extern char g_pszDifficultyMenu_SetDifficulty[];
  204. extern char g_pszOrganMenu_Title[];
  205. extern char g_pszOrganMenu_SpecialKeysHeading[];
  206. extern char g_pszOrganMenu_NumericKeysFunction[];
  207. extern char g_pszOrganMenu_AlphaKeysFunction[];
  208. extern char g_pszOrganMenu_TabKeyFunction[];
  209. extern char g_pszOrganMenu_Exit[];
  210. extern char g_pszAudioMenu_Title[];
  211. extern char g_pszAudioMenu_Mixer[];
  212. extern char g_pszAudioMenu_SoundTest[];
  213. extern char g_pszVideoMenu_Title[];
  214. extern char g_pszVideoMenu_Gamma[];
  215. extern char g_pszControlsMenu_Title[];
  216. extern char g_pszControlsMenu_KeyboardSetup[];
  217. extern char g_pszControlsMenu_MouseSetup[];
  218. extern char g_pszControlsMenu_JoystickSetup[];
  219. extern char g_pszControlsMenu_TurningSpeeds[];
  220. extern char g_pszControlsMenu_UseMouse[];
  221. extern char g_pszControlsMenu_HorizMouseSensitivity[];
  222. extern char g_pszControlsMenu_VertMouseSensitivity[];
  223. extern char g_pszKeyboardSetupMenu_Title[];
  224. extern char g_pszMouseSetupMenu_Title[];
  225. extern char g_pszJoystickSetupMenu_Title[];
  226. extern char g_pszPerformanceMenu_Title[];
  227. extern char g_pszPerformanceMenu_Transparency[];
  228. extern char g_pszPerformanceMenu_3dLighting[];
  229. extern char g_pszPerformanceMenu_Particles[];
  230. extern char g_pszPerformanceMenu_DynamicVolume[];
  231. extern char g_pszPerformanceMenu_AmbientSounds[];
  232. extern char g_pszRotationSetupMenu_Title[];
  233. extern char g_pszRotationSetupMenu_RunningSlow[];
  234. extern char g_pszRotationSetupMenu_RunningFast[];
  235. extern char g_pszRotationSetupMenu_StandingSlow[];
  236. extern char g_pszRotationSetupMenu_StandingFast[];
  237. extern char g_pszRotationSetupMenu_TapDegrees[];
  238. extern char g_pszRotationSetupMenu_RestoreDefaults[];
  239. extern char g_pszRotationSetupMenu_RestoreDefaultsOld[];
  240. extern char g_pszVolumesMenu_Title[];
  241. extern char g_pszStartGameMenu_Title[];
  242. extern char g_pszStartGameMenu_SinglePlayer[];
  243. extern char g_pszStartGameMenu_Multiplayer[];
  244. extern char g_pszStartGameMenu_Demo[];
  245. extern char g_pszStartSinglePlayerMenu_Title[];
  246. extern char g_pszStartSinglePlayerMenu_New[];
  247. extern char g_pszStartSinglePlayerMenu_AddOn[];
  248. extern char g_pszStartSinglePlayerMenu_LoadLevel[];
  249. extern char g_pszStartSinglePlayerMenu_LoadGame[];
  250. extern char g_pszStartSinglePlayerMenu_Challenge[];
  251. extern char g_pszStartChallengeMenu_Title[];
  252. extern char g_pszStartChallengeMenu_Gauntlet[];
  253. extern char g_pszStartChallengeMenu_Timed[];
  254. extern char g_pszStartChallengeMenu_Goal[];
  255. extern char g_pszStartChallengeMenu_Flag[];
  256. extern char g_pszStartChallengeMenu_CheckPoint[];
  257. extern char g_pszStartMultiplayerMenu_Title[];
  258. extern char g_pszStartMultiplayerMenu_Join[];
  259. extern char g_pszStartMultiplayerMenu_Host[];
  260. extern char g_pszStartMultiplayerMenu_Options[];
  261. extern char g_pszJoinGameMenu_Title[];
  262. extern char g_pszJoinGameMenu_Browse[];
  263. extern char g_pszJoinGameMenu_ConnectTo[];
  264. extern char g_pszHostGameMenu_Title[];
  265. extern char g_pszHostGameMenu_Start[];
  266. extern char g_pszStartDemoMenu_Title[];
  267. extern char g_pszStartDemoMenu_Browse[];
  268. extern char g_pszStartDemoMenu_Play[];
  269. extern char g_pszStartDemoMenu_Record[];
  270. extern char g_pszMultiplayerSetupMenu_Title[];
  271. extern char g_pszMultiplayerSetupMenu_Name[];
  272. extern char g_pszMultiplayerSetupMenu_Color[];
  273. extern char g_pszMultiplayerSetupMenu_Protocol[];
  274. extern char g_pszMultiplayerSetupMenu_Connection[];
  275. extern char* g_apszScoreDisplayText[];
  276. extern char* g_apszScoreGoalText[];
  277. extern char* g_apszScoreUnits[];
  278. extern char* g_apszScoreExplanations[];
  279. // Keep at end -- was not in original localizable text.
  280. extern char g_pszControlsMenu_UseJoystick[];
  281. ////////////////////////////////////////////////////////////////////////////////
  282. ///////////////////////////// Sample Master ////////////////////////////////////
  283. ////////////////////////////////////////////////////////////////////////////////
  284. extern char* g_apszSoundCategories[];
  285. #endif // LOCALIZE_H
  286. ////////////////////////////////////////////////////////////////////////////////
  287. // EOF
  288. ////////////////////////////////////////////////////////////////////////////////