sdl usage standards proposal 3:

again maintains fallbacks for folks that just don't want to use the lib (though if we do want to go that route, we'll likely want to re-review a few commits and put fallbacks, well, *back* at some point)
includes sdl in torqueconfig.h if in use to kill duplication.
adds a generic sdlPlatform.cpp for general methods, oneliners, and the like
This commit is contained in:
AzaezelX 2020-12-31 14:44:39 -06:00
parent 1fbf46fa90
commit 254ac462b5
5 changed files with 41 additions and 3 deletions

View file

@ -511,6 +511,7 @@ F32 Platform::getRandom()
return sgPlatRandom.randF();
}
#ifndef TORQUE_SDL
////--------------------------------------
/// Spawn the default Operating System web browser with a URL
/// @param webAddress URL to pass to browser
@ -585,6 +586,7 @@ bool Platform::openWebBrowser( const char* webAddress )
return( true );
}
#endif
//--------------------------------------
// Login password routines: