mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 10:06:35 +03:00
Optimized tSoundManager.
Added tSoundLoader, a template used for the ResourceLoader. Fixed PushText on the Console. Added loading from memory on shaders. Added FileExtension to get file extension. Added to Packs ExtractToFile and Add using pointers instead of std::vectors ( to give flexibility ). And fixed some minor bugs.
This commit is contained in:
@@ -328,6 +328,12 @@ bool FileCopy( const std::string& src, const std::string& dst ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string FileExtension( const std::string& filepath ) {
|
||||
std::string tstr( filepath.substr( filepath.find_last_of(".") + 1 ) );
|
||||
toLower( tstr );
|
||||
return tstr;
|
||||
}
|
||||
|
||||
eeInt GetNumCPUs() {
|
||||
eeInt nprocs = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user