X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FModels.cpp;h=e573423ba9eb674cc49b743c26a267cfe217fcd3;hb=4692ec6888b3a2eb166fd1693cb583d2c53e346c;hp=5c09c61bfbfaf223feba1c4fabd24ab81e7b998e;hpb=f66b1c7e45b9ed0b7def76825fb4fa042697b693;p=lugaru.git diff --git a/Source/Models.cpp b/Source/Models.cpp index 5c09c61..e573423 100644 --- a/Source/Models.cpp +++ b/Source/Models.cpp @@ -424,7 +424,7 @@ void Model::UpdateVertexArrayNoTexNoNorm(){ } } -bool Model::loadnotex(char *filename ) +bool Model::loadnotex(const char *filename ) { FILE *tfile; long i; @@ -499,7 +499,7 @@ bool Model::loadnotex(char *filename ) } -bool Model::load(char *filename,bool texture ) +bool Model::load(const char *filename,bool texture ) { FILE *tfile; long i; @@ -587,7 +587,7 @@ bool Model::load(char *filename,bool texture ) return 1; } -bool Model::loaddecal(char *filename,bool texture ) +bool Model::loaddecal(const char *filename,bool texture ) { FILE *tfile; long i,j;