global_init.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #ifndef GLOBAL_INIT_H
  2. #define GLOBAL_INIT_H
  3. //******************************************************************************
  4. //am_map.c
  5. //******************************************************************************
  6. _g->scale_mtof = (fixed_t)INITSCALEMTOF;
  7. _g->stopped = true;
  8. _g->lastlevel = -1;
  9. _g->lastepisode = -1;
  10. _g->mtof_zoommul = FRACUNIT; // how far the window zooms each tic (map coords)
  11. _g->ftom_zoommul = FRACUNIT; // how far the window zooms each tic (fb coords)
  12. //******************************************************************************
  13. //d_main.c
  14. //******************************************************************************
  15. _g->wipegamestate = GS_DEMOSCREEN;
  16. _g->oldgamestate = -1;
  17. //******************************************************************************
  18. //doomstat.c
  19. //******************************************************************************
  20. // Game Mode - identify IWAD as shareware, retail etc.
  21. _g->gamemode = retail;
  22. _g->gamemission = doom;
  23. //******************************************************************************
  24. //m_menu.c
  25. //******************************************************************************
  26. _g->showMessages = 1; // Show messages has default, 0 = off, 1 = on
  27. //******************************************************************************
  28. //p_setup.c
  29. //******************************************************************************
  30. _g->rejectlump = -1;// cph - store reject lump num if cached
  31. //******************************************************************************
  32. //r_main.c
  33. //******************************************************************************
  34. _g->validcount = 1; // increment every time a check is made
  35. _g->freehead = &_g->freetail; // killough
  36. //******************************************************************************
  37. //s_sounds.c
  38. //******************************************************************************
  39. _g->snd_SfxVolume = 15;
  40. // Maximum volume of music. Useless so far.
  41. _g->snd_MusicVolume = 15;
  42. //******************************************************************************
  43. //st_stuff.c
  44. //******************************************************************************
  45. _g->st_oldhealth = -1;
  46. #endif // GLOBAL_INIT_H