Files
itgmania212121/stepmania/src/StepMania.h
T

38 lines
1.1 KiB
C
Raw Normal View History

#ifndef STEPMANIA_H
#define STEPMANIA_H
2001-12-19 05:04:20 +00:00
/*
-----------------------------------------------------------------------------
File: StepMania.h
2002-05-19 01:59:48 +00:00
Desc: Objects accessable from anywhere in the program.
2001-12-19 05:04:20 +00:00
2002-05-19 01:59:48 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
2001-12-19 05:04:20 +00:00
-----------------------------------------------------------------------------
*/
#include "Game.h"
2003-07-22 07:47:27 +00:00
int SMmain(int argc, char* argv[]);
void ApplyGraphicOptions();
void HandleException( CString error );
2003-01-19 04:44:22 +00:00
void ExitGame();
void ResetGame( bool ReturnToFirstScreen=true );
void ReadGamePrefsFromDisk( bool bSwitchToLastPlayedGame=true );
void SaveGamePrefsToDisk();
void ChangeCurrentGame( Game g );
2004-02-17 01:16:57 +00:00
// If successful, return filename of screenshot in sDir, else return ""
2004-02-22 05:04:11 +00:00
CString SaveScreenshot( CString sDir, bool bSaveCompressed, bool bMakeSignature, int iIndex = -1 );
2001-12-19 05:04:20 +00:00
2004-01-17 05:21:24 +00:00
#if defined(_WINDOWS)
2003-11-14 17:17:36 +00:00
#include "windows.h"
2003-02-14 23:16:32 +00:00
extern HWND g_hWndMain;
#endif
2003-07-12 19:51:40 +00:00
extern int g_argc;
extern char **g_argv;
bool GetCommandlineArgument( const CString &option, CString *argument=NULL, int iIndex=0 );
#endif