Files
itgmania212121/stepmania/src/StepMania.h
T
Chris Danford 721f29c458 clean up screenshot saving
use a unique name for every screenshot in case image files are moved off the memory card
2004-02-22 05:04:11 +00:00

39 lines
1020 B
C

#ifndef STEPMANIA_H
#define STEPMANIA_H
/*
-----------------------------------------------------------------------------
File: StepMania.h
Desc: Objects accessable from anywhere in the program.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "Game.h"
int SMmain(int argc, char* argv[]);
void ApplyGraphicOptions();
void ExitGame();
void ResetGame( bool ReturnToFirstScreen=true );
void ReadGamePrefsFromDisk( bool bSwitchToLastPlayedGame=true );
void SaveGamePrefsToDisk();
void ChangeCurrentGame( Game g );
// If successful, return filename of screenshot in sDir, else return ""
CString SaveScreenshot( CString sDir, bool bSaveCompressed, bool bMakeSignature, int iIndex = -1 );
#if defined(_WINDOWS)
#include "windows.h"
extern HWND g_hWndMain;
#endif
extern CString DirOfExecutable;
extern CString InitialWorkingDirectory;
extern int g_argc;
extern char **g_argv;
#endif