mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-31 01:37:57 +00:00
rogueviz::objmodels:: availability checking
This commit is contained in:
@@ -14,6 +14,13 @@ char peek(fhstream& fs) {
|
||||
return g;
|
||||
}
|
||||
|
||||
bool model::available() {
|
||||
if(av_checked) return is_available;
|
||||
av_checked = true;
|
||||
is_available = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
void model::load_obj(model_type& objects) {
|
||||
fhstream fs(path+fname, "rt");
|
||||
|
||||
|
Reference in New Issue
Block a user