Renamed AppPath() for GetProcessPath()

Renamed GetNumCPUs() for GetCPUCount()
GetProcessPath() Added Haiku, BSD and Solaris implementations.
Added GetOSName()
Added GetOSArchitecture()
Changed some SOIL_load_image calls for stbi_load ( avoid depending in SOIL when isn't needed ).
Fixed a bug on cWindow::mFrameData, the structure values werent initialized and in some rare case scenario this provoked a crash.
This commit is contained in:
spartanj
2011-03-14 02:42:47 -03:00
parent 9f73ffbf05
commit 42c845bce7
17 changed files with 306 additions and 49 deletions

View File

@@ -17,9 +17,9 @@ cResourceLoader::~cResourceLoader() {
void cResourceLoader::SetThreads() {
if ( THREADS_AUTO == mThreads ) {
mThreads = GetNumCPUs();
mThreads = GetCPUCount();
/**
eeInt NumCpus = GetNumCPUs() - 1;
eeInt NumCpus = GetCPUCount() - 1;
if ( NumCpus > 1 )
mThreads = NumCpus;