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
+2 -1
View File
@@ -227,9 +227,10 @@ void TestSeek( bool relative )
int main( char *argv[], int argc ) int main( int argc, char *argv[] )
{ {
FILEMAN = new RageFileManager( argv[0] ); FILEMAN = new RageFileManager( argv[0] );
FILEMAN->Mount( "dir", ".", "" );
LOG = new RageLog(); LOG = new RageLog();
LOG->SetShowLogOutput( true ); LOG->SetShowLogOutput( true );
+3 -5
View File
@@ -7,9 +7,6 @@
#include "RageFileManager.h" #include "RageFileManager.h"
#include "TimingData.h" #include "TimingData.h"
CString InitialWorkingDirectory = ".";
CString DirOfExecutable = ".";
void run() void run()
{ {
#define CHECK(call, exp) \ #define CHECK(call, exp) \
@@ -138,9 +135,10 @@ LOG->Trace("... %i in %f", q, foobar.GetDeltaTime());
CHECK( test2.GetElapsedTimeFromBeat(2), 3.0f ); 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(); LOG = new RageLog();
PREFSMAN = new PrefsManager; // TimingData needs PREFSMAN; it probably shouldn't PREFSMAN = new PrefsManager; // TimingData needs PREFSMAN; it probably shouldn't
LOG->SetShowLogOutput( true ); LOG->SetShowLogOutput( true );