win_main.hh 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /********************************************************************** <BR>
  2. This file is part of Crack dot Com's free source code release of
  3. Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
  4. information about compiling & licensing issues visit this URL</a>
  5. <PRE> If that doesn't help, contact Jonathan Clark at
  6. golgotha_source@usa.net (Subject should have "GOLG" in it)
  7. ***********************************************************************/
  8. #ifndef I4_WIN_MAIN_HH
  9. #define I4_WIN_MAIN_HH
  10. #include <windows.h>
  11. // globals that other windows routines may need access to
  12. extern HINSTANCE i4_win32_instance; // instance of the application passed in through main
  13. extern int i4_win32_nCmdShow; // how the window was initially opened (minimized?)
  14. extern HWND i4_win32_window_handle; // main window, for some reason direct sound needs this
  15. struct i4_win32_startup_options_struct
  16. {
  17. char fullscreen;
  18. i4_win32_startup_options_struct()
  19. {
  20. fullscreen=1;
  21. }
  22. void check_option(char *opt);
  23. };
  24. extern i4_win32_startup_options_struct i4_win32_startup_options;
  25. #endif