source: golgotha/src/i4/main/win_main.hh @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 1.1 KB
Line 
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
9#ifndef I4_WIN_MAIN_HH
10#define I4_WIN_MAIN_HH
11
12
13#include <windows.h>
14
15// globals that other windows routines may need access to
16
17extern HINSTANCE i4_win32_instance;  // instance of the application passed in through main
18extern int       i4_win32_nCmdShow;  // how the window was initially opened (minimized?)
19extern HWND      i4_win32_window_handle;    // main window, for some reason direct sound needs this
20
21struct i4_win32_startup_options_struct
22{
23  char fullscreen;
24  i4_win32_startup_options_struct()
25  {
26    fullscreen=1;
27  }
28  void check_option(char *opt);
29};
30
31extern i4_win32_startup_options_struct i4_win32_startup_options;
32
33#endif
Note: See TracBrowser for help on using the repository browser.