Changeset 8627
- Timestamp:
- May 27, 2011, 9:54:03 PM (13 years ago)
- Location:
- code/branches/presentation
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/data/gui/scripts/SheetManager.lua
r8584 r8627 216 216 function keyESC() 217 217 -- HUGE, very HUGE hacks! 218 218 219 219 -- If the InGameConsole is active, ignore the ESC command. 220 220 if bInGameConsoleClosed == true then 221 221 bInGameConsoleClosed = false 222 if activeMenuSheets[ i] and activeMenuSheets[1].sheet.name == "MainMenu" then222 if activeMenuSheets[1] and activeMenuSheets[1].sheet.name == "MainMenu" then 223 223 return 224 224 end -
code/branches/presentation/data/levels/templates/lodInformation.oxt
r8598 r8627 15 15 <MeshLodInformation mesh=CuboidLandingZone.mesh enabled=false/> 16 16 <MeshLodInformation mesh=HydroHarvester.mesh enabled=false /> 17 18 <!-- disable LOD for some debris meshes which caused a crash (fixed in Ogre 1.7.3) --> 19 <MeshLodInformation mesh=BodyDebris1.mesh enabled=false/> 20 <MeshLodInformation mesh=WingDebris2.mesh enabled=false/> 17 21 </lodinformation> 18 22 </Level> -
code/branches/presentation/src/libraries/core/GUIManager.cc
r8467 r8627 65 65 #endif 66 66 67 #if def ORXONOX_PLATFORM_WINDOWS67 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_COMPILER_MINGW) 68 68 # include <windows.h> 69 69 #endif … … 73 73 #include "util/Debug.h" 74 74 #include "util/Exception.h" 75 #include "util/Math.h" 75 76 #include "util/OrxAssert.h" 76 77 #include "ConfigValueIncludes.h" … … 121 122 d_ostream.close(); 122 123 123 #if def ORXONOX_PLATFORM_WINDOWS124 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_COMPILER_MINGW) 124 125 // filename.c_str() is UTF-8 encoded, but Windows expects characters 125 126 // according to the current codepage or UTF-16 (wchar) … … 156 157 } 157 158 158 #if def ORXONOX_PLATFORM_WINDOWS159 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_COMPILER_MINGW) 159 160 /// Converts a UTF-8 character sequence to Windows UTF-16 160 161 static std::wstring utf8ToUtf16(const std::string& utf8text) … … 355 356 { 356 357 SetConfigValue(guiScheme_, GUIManager::defaultScheme_) .description("Changes the current GUI scheme.") .callback(this, &GUIManager::changedGUIScheme); 358 SetConfigValue(numScrollLines_, 1).description("How many lines to scroll in a list if the scroll wheel is used"); 357 359 } 358 360 … … 593 595 void GUIManager::mouseScrolled(int abs, int rel) 594 596 { 595 this->protectedCall(boost::bind(&CEGUI::System::injectMouseWheelChange, _1, (float) rel));597 this->protectedCall(boost::bind(&CEGUI::System::injectMouseWheelChange, _1, (float)sgn(rel) * this->numScrollLines_)); 596 598 } 597 599 -
code/branches/presentation/src/libraries/core/GUIManager.h
r8423 r8627 186 186 std::string guiScheme_; 187 187 188 int numScrollLines_; ///< How many lines to scroll in a list if the scroll wheel is used 189 188 190 }; // tolua_export 189 191 } // tolua_export
Note: See TracChangeset
for help on using the changeset viewer.