Removed SDL_ttf dependency, replaced by HaikuTTF ( own implementation of a ttf handler library ). Still a work in progress, but working 100 %.

Removed compiler warnings from zip_utils.
Fixed cTexture and cShape memory leaks ( now using std::vector by default to allocate textures on memory, removed manual dynamic loading because it's not working fine ).
Fixed cShaderProgram unloading.
Fixed a bug on cInifile.
Updated the Makefile.
This commit is contained in:
spartanj
2010-07-11 19:17:01 -03:00
parent 387198ff6f
commit 8e197828a8
32 changed files with 1920 additions and 2898 deletions

View File

@@ -8,10 +8,10 @@ cShaderProgramManager::cShaderProgramManager()
cShaderProgramManager::~cShaderProgramManager()
{
std::map<std::string, cShaderProgram*>::iterator it;
for ( it = mShaders.begin(); it != mShaders.end(); it++ )
Remove( it->second );
std::map<std::string, cShaderProgram*>::iterator it;
for ( it = mShaders.begin() ; it != mShaders.end(); it++ )
delete it->second;
}
void cShaderProgramManager::Add( cShaderProgram * ShaderProgram ) {