Changeset 10280 for code/branches/tutorial5/src/libraries
- Timestamp:
- Feb 19, 2015, 12:39:06 PM (10 years ago)
- Location:
- code/branches/tutorial5
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial5
- Property svn:mergeinfo changed
/code/trunk (added) merged: 10277-10279
- Property svn:mergeinfo changed
-
code/branches/tutorial5/src/libraries/core/GUIManager.cc
r10271 r10280 846 846 this->guiRenderer_->setDisplaySize(CEGUI::Size((float)newWidth, (float)newHeight)); 847 847 #endif 848 this->rootWindow_->setSize(CEGUI::UVector2(CEGUI::UDim(1, newWidth), CEGUI::UDim(1,newHeight)));848 this->rootWindow_->setSize(CEGUI::UVector2(CEGUI::UDim(1, (float)newWidth), CEGUI::UDim(1, (float)newHeight))); 849 849 } 850 850 -
code/branches/tutorial5/src/libraries/core/Loader.cc
r10273 r10280 470 470 //A newline directly after square brackets is ignored. To make sure that the string is printed 471 471 //exactly as it is, including newlines at the beginning, insert a space after the brackets. 472 output << "print([" + equalSigns + "[ " + temp + ']' + equalSigns +"])"; 472 bool needsExtraSpace = false; 473 if (temp.size() > 0 && (temp[0] == '\n' || temp[0] == '\r')) // begins with \n or \r (a line break) 474 needsExtraSpace = true; 475 output << "print([" + equalSigns + (needsExtraSpace ? "[ " : "[") + temp + ']' + equalSigns +"])"; 473 476 start = end + 5; 474 477 } -
code/branches/tutorial5/src/libraries/tools/BulletDebugDrawer.cc
r10262 r10280 12 12 #include <OgreManualObject.h> 13 13 #include <OgreSceneManager.h> 14 #include <OgreTimer.h> 14 15 15 16 #include "util/Output.h" -
code/branches/tutorial5/src/libraries/tools/BulletDebugDrawer.h
r10262 r10280 12 12 13 13 #include <btBulletCollisionCommon.h> 14 #include <OgreFrameListener.h> 14 15 15 16 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.