| 17 | } |
| 18 | |
| 19 | void Config::reload() |
| 20 | { |
| 21 | try { |
| 22 | mData = loadJson( app::loadAsset( "config.json" ) ); |
| 23 | |
| 24 | loadGearData(); |
| 25 | |
| 26 | CI_LOG_V( "successfully loaded config.json" ); |
| 27 | } |
| 28 | catch( Exception &exc ) { |
| 29 | LOG_EXCEPTION( exc ); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | float Config::getDescentSpeed() const |
| 34 | { |