interface update

This commit is contained in:
Glenn Maynard
2004-03-04 01:18:07 +00:00
parent bd01de6260
commit d7e1bd9540
2 changed files with 5 additions and 6 deletions
+3 -5
View File
@@ -7,9 +7,6 @@
#include "RageFileManager.h"
#include "TimingData.h"
CString InitialWorkingDirectory = ".";
CString DirOfExecutable = ".";
void run()
{
#define CHECK(call, exp) \
@@ -138,9 +135,10 @@ LOG->Trace("... %i in %f", q, foobar.GetDeltaTime());
CHECK( test2.GetElapsedTimeFromBeat(2), 3.0f );
}
int main()
int main( int argc, char *argv[] )
{
FILEMAN = new RageFileManager;
FILEMAN = new RageFileManager( argv[0] );
FILEMAN->Mount( "dir", ".", "" );
LOG = new RageLog();
PREFSMAN = new PrefsManager; // TimingData needs PREFSMAN; it probably shouldn't
LOG->SetShowLogOutput( true );