move GetCommandlineArgument, g_argc and g_argv into RageUtil.cpp,

so tests don't have to duplicate stuff, and because PrefsManager
uses it
This commit is contained in:
Glenn Maynard
2005-11-22 21:18:43 +00:00
parent 100ce95f14
commit 90ad56522c
8 changed files with 59 additions and 56 deletions
-4
View File
@@ -22,10 +22,6 @@ CString SaveScreenshot( CString sDir, bool bSaveCompressed, bool bMakeSignature,
void InsertCoin( int iNum = 1, const RageTimer *pTime = NULL );
void InsertCredit();
extern int g_argc;
extern char **g_argv;
bool GetCommandlineArgument( const CString &option, CString *argument=NULL, int iIndex=0 );
struct VideoModeParams;
void GetPreferredVideoModeParams( VideoModeParams &paramsOut );