Changeset 8854 for code/branches/output
- Timestamp:
- Aug 21, 2011, 11:56:59 PM (13 years ago)
- Location:
- code/branches/output
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/data/levels/presentationDM.oxw
r8822 r8854 47 47 for i = 1, 100, 1 do 48 48 j = math.random() 49 scale = j * 50 + 5 49 50 ?> 50 <MovableEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass="<?lua print( j * 50) ?>" scale="<?lua print(j * 5) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">51 <MovableEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass="<?lua print(scale) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 51 52 <attached> 52 <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />53 <Model scale="<?lua print(scale) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 53 54 </attached> 54 55 <collisionShapes> 55 <SphereCollisionShape radius="<?lua print( j * 70) ?>" />56 <SphereCollisionShape radius="<?lua print(scale * 2.5) ?>" /> 56 57 </collisionShapes> 57 58 </MovableEntity> -
code/branches/output/src/libraries/core/Language.cc
r8830 r8854 304 304 void Language::writeDefaultLanguageFile() const 305 305 { 306 orxout( internal_info, context::language) << "Write default language file." << endl;306 orxout(verbose, context::language) << "Write default language file." << endl; 307 307 308 308 const std::string& filepath = PathConfig::getConfigPathString() + getFilename(this->defaultLanguage_); -
code/branches/output/src/libraries/core/input/InputManager.cc
r8806 r8854 143 143 void InputManager::loadDevices() 144 144 { 145 orxout( internal_info, context::input) << "InputManager: Loading input devices..." << endl;145 orxout(verbose, context::input) << "InputManager: Loading input devices..." << endl; 146 146 147 147 // When loading the devices they should not already be loaded … … 196 196 // Exception-safety 197 197 Loki::ScopeGuard guard = Loki::MakeGuard(OIS::InputManager::destroyInputSystem, oisInputManager_); 198 orxout( internal_info, context::input) << "Created OIS input manager." << endl;198 orxout(verbose, context::input) << "Created OIS input manager." << endl; 199 199 200 200 if (oisInputManager_->getNumberOfDevices(OIS::OISKeyboard) > 0) … … 219 219 this->updateActiveStates(); 220 220 221 orxout( internal_info, context::input) << "Input devices loaded." << endl;221 orxout(verbose, context::input) << "Input devices loaded." << endl; 222 222 } 223 223 … … 306 306 void InputManager::destroyDevices() 307 307 { 308 orxout( internal_info, context::input) << "InputManager: Destroying devices..." << endl;308 orxout(verbose, context::input) << "InputManager: Destroying devices..." << endl; 309 309 310 310 BOOST_FOREACH(InputDevice*& device, devices_) … … 315 315 delete device; 316 316 device = 0; 317 orxout( internal_info, context::input) << className << " destroyed." << endl;317 orxout(verbose, context::input) << className << " destroyed." << endl; 318 318 } 319 319 devices_.resize(InputDeviceEnumerator::FirstJoyStick); … … 332 332 333 333 internalState_ |= Bad; 334 orxout( internal_info, context::input) << "Destroyed devices." << endl;334 orxout(verbose, context::input) << "Destroyed devices." << endl; 335 335 } 336 336 … … 351 351 void InputManager::reloadInternal() 352 352 { 353 orxout( internal_info, context::input) << "InputManager: Reloading ..." << endl;353 orxout(verbose, context::input) << "InputManager: Reloading ..." << endl; 354 354 355 355 this->destroyDevices(); … … 357 357 358 358 internalState_ &= ~Bad; 359 orxout( internal_info, context::input) << "InputManager: Reloading complete." << endl;359 orxout(verbose, context::input) << "InputManager: Reloading complete." << endl; 360 360 } 361 361
Note: See TracChangeset
for help on using the changeset viewer.