with the ones in utility.h\r
\r
=== Stuff to do after release\r
+* Make an "environment metafile" to store at least time of day\r
* Move digging property stuff from material.{h,cpp} to mapnode.cpp...\r
- Or maybe move content_features to material.{h,cpp}?\r
* Add some kind of erosion and other stuff that now is possible\r
break;\r
}\r
}\r
+ \r
+ // If no path found, use the first one (menu creates the file)\r
+ if(configpath == "")\r
+ configpath = filenames[0];\r
}\r
\r
// Initialize random seed\r
/*
Write image to file so that it can be inspected
*/
- driver->writeImageToFile(atlas_img,
- porting::getDataPath("main_atlas.png").c_str());
+ /*driver->writeImageToFile(atlas_img,
+ porting::getDataPath("main_atlas.png").c_str());*/
}
video::IImage* generate_image_from_scratch(std::string name,
std::ifstream is(filename);
if(is.good() == false)
{
- dstream<<"Error opening configuration file"
+ dstream<<"INFO: updateConfigFile():"
+ " Error opening configuration file"
" for reading: \""
<<filename<<"\""<<std::endl;
- return false;
}
-
- while(getUpdatedConfigObject(is, objects, updated));
+ else
+ {
+ while(getUpdatedConfigObject(is, objects, updated));
+ }
}
// Write stuff back