mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 01:56:31 +03:00
Added Mersenne Twister pseudo-random number generator ( really usefull and fast for some type of games if you want a deterministic random number generator ).
Reimplemented the tResourceManager, now uses std::list instead of std::map, and added some new methods. cShapeGroupManager and cShapeGroup now inherits from tResourceManager. Rolled back eeUint and eeInt, now are fine again ( it was changed for testing ).
This commit is contained in:
@@ -11,13 +11,10 @@ cShaderProgramManager::~cShaderProgramManager()
|
||||
}
|
||||
|
||||
void cShaderProgramManager::Reload() {
|
||||
std::map<std::string, cShaderProgram*>::iterator it;
|
||||
std::list<cShaderProgram*>::iterator it;
|
||||
|
||||
for ( it = mResources.begin(); it != mResources.end(); it++ ) {
|
||||
cShaderProgram * sp = reinterpret_cast< cShaderProgram* > ( it->second );
|
||||
|
||||
sp->Reload();
|
||||
}
|
||||
for ( it = mResources.begin(); it != mResources.end(); it++ )
|
||||
(*it)->Reload();
|
||||
}
|
||||
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user