int WIN_FFLL_API ffll_load_fcl_file(int model_idx, const char* file) { ModelContainer* container = get_model(model_idx); // we have a pointer to the container, so any modifications we // make will be in the list. If we used the [] operator here, // we'd get a COPY of the model and any changes wouldn't be permanent. // perform initialization container->init(); // load the FCL file passed in if (container->model->load_from_fcl_file(file)) return -1; return model_idx; }; // end ffll_load_fcl_file()