File f;
DisplaySystem displaySystem;
Object rootObject;
- String fileName;
+ const String fileName;
uint16 chunkId;
uint pos, end;
{
object = Object { };
object.name = new char[strlen(block.dummyName) + strlen(model.name) + 2];
+ // TODO: When passing a String to a const String, use member if property is const String but member is String
sprintf(object.name, "%s.%s", model.name, block.dummyName);
object.flags = model.flags;
object.flags.ownMesh = false;
{
class_property(extension) = "3ds";
- bool Load(Object object, char * fileName, DisplaySystem displaySystem)
+ bool Load(Object object, const char * fileName, DisplaySystem displaySystem)
{
bool result = false;
if(fileName)