2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
16 // --------------------------------------------------------------------------------------------------
20 // set if running under MsDev - done after os_init(...) has returned
21 extern int Os_debugger_running;
23 // --------------------------------------------------------------------------------------------------
27 // initialization/shutdown functions -----------------------------------------------
29 // If app_name is NULL or ommited, then TITLE is used
30 // for the app name, which is where registry keys are stored.
31 void os_init(const char *wclass, const char *title, const char *app_name = NULL, const char *version_string = NULL);
33 // set the main window title
34 void os_set_title( const char *title );
35 // get the main window title
36 const char *os_get_title();
38 // call at program end
42 // window management ---------------------------------------------------------------
44 // toggle window size between full screen and windowed
45 void os_toggle_fullscreen();
47 // Returns 1 if app is not the foreground app.
50 // Returns the handle to the main window
54 // process management --------------------------------------------------------------
56 // call to process windows messages. only does something in non THREADED mode
59 // Used to stop message processing
62 // resume message processing