Changeset 8820 for code/branches/output
- Timestamp:
- Aug 3, 2011, 11:28:06 PM (13 years ago)
- Location:
- code/branches/output
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/data/levels/templates/FPS.oxt
r7679 r8820 30 30 31 31 <?lua 32 include(" includes/weaponSettingsFPS.oxi")32 include("../includes/weaponSettingsFPS.oxi") 33 33 ?> 34 34 -
code/branches/output/data/levels/templates/spaceshipAssff.oxt
r8727 r8820 56 56 </collisionShapes> 57 57 <?lua 58 include(" includes/weaponSettingsAssff.oxi")58 include("../includes/weaponSettingsAssff.oxi") 59 59 ?> 60 60 </SpaceShip> -
code/branches/output/data/levels/templates/spaceshipAssff2.oxt
r8727 r8820 56 56 </collisionShapes> 57 57 <?lua 58 include(" includes/weaponSettingsAssff2.oxi")58 include("../includes/weaponSettingsAssff2.oxi") 59 59 ?> 60 60 </SpaceShip> -
code/branches/output/data/levels/templates/spaceshipGhost.oxt
r8706 r8820 36 36 </collisionShapes> 37 37 <?lua 38 include(" includes/weaponSettingsGhost.oxi")38 include("../includes/weaponSettingsGhost.oxi") 39 39 ?> 40 40 </SpaceShip> -
code/branches/output/data/levels/templates/spaceshipH2.oxt
r8706 r8820 22 22 23 23 <?lua 24 include(" includes/weaponSettingsH2.oxi")24 include("../includes/weaponSettingsH2.oxi") 25 25 ?> 26 26 <engines> -
code/branches/output/data/levels/templates/spaceshipHXY.oxt
r8706 r8820 37 37 38 38 <?lua 39 include(" includes/weaponSettingsHXY.oxi")39 include("../includes/weaponSettingsHXY.oxi") 40 40 ?> 41 41 </SpaceShip> -
code/branches/output/data/levels/templates/spaceshipHXYSL.oxt
r8706 r8820 36 36 37 37 <?lua 38 include(" includes/weaponSettingsHXY.oxi")38 include("../includes/weaponSettingsHXY.oxi") 39 39 ?> 40 40 </SpaceShip> -
code/branches/output/data/levels/templates/spaceshipImmTest.oxt
r8706 r8820 37 37 </collisionShapes> 38 38 <?lua 39 include(" includes/weaponSettingsImmTest.oxi")39 include("../includes/weaponSettingsImmTest.oxi") 40 40 ?> 41 41 </SpaceShip> -
code/branches/output/data/levels/templates/spaceshipPirate.oxt
r8706 r8820 40 40 41 41 <?lua 42 include(" includes/weaponSettingsPirate.oxi")42 include("../includes/weaponSettingsPirate.oxi") 43 43 ?> 44 44 </SpaceShip> -
code/branches/output/data/levels/templates/spaceshipSwallow.oxt
r8706 r8820 35 35 </collisionShapes> 36 36 <?lua 37 include(" includes/weaponSettingsSwallow.oxi")37 include("../includes/weaponSettingsSwallow.oxi") 38 38 ?> 39 39 </SpaceShip> -
code/branches/output/data/levels/templates/spaceshipTransporter.oxt
r8706 r8820 36 36 37 37 <?lua 38 include(" includes/weaponSettingsTransporter.oxi")38 include("../includes/weaponSettingsTransporter.oxi") 39 39 ?> 40 40 </SpaceShip> -
code/branches/output/data/levels/templates/spaceshipTransporterSL.oxt
r8706 r8820 36 36 37 37 <?lua 38 include(" includes/weaponSettingsTransporter.oxi")38 include("../includes/weaponSettingsTransporter.oxi") 39 39 ?> 40 40 </SpaceShip> -
code/branches/output/src/libraries/core/GraphicsManager.cc
r8806 r8820 114 114 resources_.reset(new XMLFile("DefaultResources.oxr")); 115 115 resources_->setLuaSupport(false); 116 Loader::open(resources_.get() );116 Loader::open(resources_.get(), ClassTreeMask(), false); 117 117 118 118 // Only for runs in the build directory (not installed) … … 122 122 extResources_.reset(new XMLFile("resources.oxr")); 123 123 extResources_->setLuaSupport(false); 124 Loader::open(extResources_.get() );124 Loader::open(extResources_.get(), ClassTreeMask(), false); 125 125 126 126 if (bLoadRenderer) … … 313 313 orxout(internal_info) << "Loading Debug Overlay..." << endl; 314 314 debugOverlay_.reset(new XMLFile("debug.oxo")); 315 Loader::open(debugOverlay_.get() );315 Loader::open(debugOverlay_.get(), ClassTreeMask(), false); 316 316 } 317 317 -
code/branches/output/src/libraries/core/Loader.cc
r8808 r8820 49 49 ClassTreeMask Loader::currentMask_s; 50 50 51 bool Loader::open(const XMLFile* file, const ClassTreeMask& mask )51 bool Loader::open(const XMLFile* file, const ClassTreeMask& mask, bool bVerbose) 52 52 { 53 53 Loader::add(file, mask); 54 return Loader::load(file, mask );54 return Loader::load(file, mask, bVerbose); 55 55 } 56 56 -
code/branches/output/src/libraries/core/Loader.h
r8808 r8820 51 51 { 52 52 public: 53 static bool open(const XMLFile* file, const ClassTreeMask& mask = ClassTreeMask() );53 static bool open(const XMLFile* file, const ClassTreeMask& mask = ClassTreeMask(), bool bVerbose = true); 54 54 static void close(); 55 55 static void close(const XMLFile* file); -
code/branches/output/src/orxonox/worldentities/WorldEntity.cc
r8809 r8820 95 95 this->collisionType_ = None; 96 96 this->collisionTypeSynchronised_ = None; 97 this->mass_ = 0;97 this->mass_ = 1.0f; 98 98 this->childrenMass_ = 0; 99 99 // Using bullet default values … … 968 968 this->physicalBody_->setMassProps(0.0f, btVector3(0, 0, 0)); 969 969 } 970 else if ( (this->mass_ + this->childrenMass_)== 0.0f)970 else if (totalMass == 0.0f) 971 971 { 972 972 // Use default values to avoid very large or very small values
Note: See TracChangeset
for help on using the changeset viewer.