globaldata.cpp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /*
  2. ===========================================================================
  3. Doom 3 BFG Edition GPL Source Code
  4. Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
  5. This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
  6. Doom 3 BFG Edition Source Code is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. Doom 3 BFG Edition Source Code is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with Doom 3 BFG Edition Source Code. If not, see <http://www.gnu.org/licenses/>.
  16. In addition, the Doom 3 BFG Edition Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 BFG Edition Source Code. If not, please request a copy in writing from id Software at the address below.
  17. If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
  18. ===========================================================================
  19. */
  20. #include "Precompiled.h"
  21. #include "globaldata.h"
  22. #include "globaldata.h"
  23. #include "Main.h"
  24. //
  25. // PROTOTYPES
  26. //
  27. void M_NewGame(int choice);
  28. void M_Episode(int choice);
  29. void M_Expansion(int choice);
  30. void M_ChooseSkill(int choice);
  31. void M_LoadGame(int choice);
  32. void M_LoadExpansion(int choice);
  33. void M_SaveGame(int choice);
  34. void M_Options(int choice);
  35. void M_EndGame(int choice);
  36. void M_ReadThis(int choice);
  37. void M_ReadThis2(int choice);
  38. void M_QuitDOOM(int choice);
  39. void M_ExitGame(int choice);
  40. void M_GameSelection(int choice);
  41. void M_CancelExit(int choice);
  42. void M_ChangeMessages(int choice);
  43. void M_ChangeGPad(int choice);
  44. void M_FullScreen(int choice);
  45. void M_ChangeSensitivity(int choice);
  46. void M_SfxVol(int choice);
  47. void M_MusicVol(int choice);
  48. void M_ChangeDetail(int choice);
  49. void M_SizeDisplay(int choice);
  50. void M_StartGame(int choice);
  51. void M_Sound(int choice);
  52. void M_FinishReadThis(int choice);
  53. void M_LoadSelect(int choice);
  54. void M_SaveSelect(int choice);
  55. void M_ReadSaveStrings(void);
  56. void M_QuickSave(void);
  57. void M_QuickLoad(void);
  58. void M_DrawMainMenu(void);
  59. void M_DrawQuit(void);
  60. void M_DrawReadThis1(void);
  61. void M_DrawReadThis2(void);
  62. void M_DrawNewGame(void);
  63. void M_DrawEpisode(void);
  64. void M_DrawOptions(void);
  65. void M_DrawSound(void);
  66. void M_DrawLoad(void);
  67. void M_DrawSave(void);
  68. void M_DrawSaveLoadBorder(int x,int y);
  69. void M_SetupNextMenu(menu_t *menudef);
  70. void M_DrawThermo(int x,int y,int thermWidth,int thermDot);
  71. void M_DrawEmptyCell(menu_t *menu,int item);
  72. void M_DrawSelCell(menu_t *menu,int item);
  73. void M_WriteText(int x, int y, char *string);
  74. int M_StringWidth(char *string);
  75. int M_StringHeight(char *string);
  76. void M_StartControlPanel(void);
  77. void M_StartMessage(char *string,messageRoutine_t routine,qboolean input);
  78. void M_StopMessage(void);
  79. void M_ClearMenus (void);
  80. extern const anim_t temp_epsd0animinfo[10];
  81. extern const anim_t temp_epsd1animinfo[9];
  82. extern const anim_t temp_epsd2animinfo[6];
  83. extern const char* const temp_chat_macros[];
  84. void Globals::InitGlobals()
  85. {
  86. #include "constructs.h"
  87. }
  88. Globals *g;