defaultPreferences.cs 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //-----------------------------------------------------------------------------
  2. // Copyright (c) 2013 GarageGames, LLC
  3. //
  4. // Permission is hereby granted, free of charge, to any person obtaining a copy
  5. // of this software and associated documentation files (the "Software"), to
  6. // deal in the Software without restriction, including without limitation the
  7. // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  8. // sell copies of the Software, and to permit persons to whom the Software is
  9. // furnished to do so, subject to the following conditions:
  10. //
  11. // The above copyright notice and this permission notice shall be included in
  12. // all copies or substantial portions of the Software.
  13. //
  14. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  20. // IN THE SOFTWARE.
  21. //-----------------------------------------------------------------------------
  22. /// Game
  23. $Game::CompanyName = "GarageGames LLC";
  24. $Game::ProductName = "Torque 2D";
  25. /// iOS
  26. $pref::iOS::ScreenOrientation = $iOS::constant::Landscape;
  27. $pref::iOS::ScreenDepth = 32;
  28. $pref::iOS::UseGameKit = 0;
  29. $pref::iOS::UseMusic = 0;
  30. $pref::iOS::UseMoviePlayer = 0;
  31. $pref::iOS::UseAutoRotate = 1;
  32. $pref::iOS::EnableOrientationRotation = 1;
  33. $pref::iOS::EnableOtherOrientationRotation = 1;
  34. $pref::iOS::StatusBarType = 0;
  35. /// Audio
  36. $pref::Audio::driver = "OpenAL";
  37. $pref::Audio::forceMaxDistanceUpdate = 0;
  38. $pref::Audio::environmentEnabled = 0;
  39. $pref::Audio::masterVolume = 1.0;
  40. $pref::Audio::channelVolume1 = 1.0;
  41. $pref::Audio::channelVolume2 = 1.0;
  42. $pref::Audio::channelVolume3 = 1.0;
  43. $pref::Audio::sfxVolume = 1.0;
  44. $pref::Audio::musicVolume = 1.0;
  45. /// T2D
  46. $pref::T2D::ParticlePlayerEmissionRateScale = 1.0;
  47. $pref::T2D::ParticlePlayerSizeScale = 1.0;
  48. $pref::T2D::ParticlePlayerForceScale = 1.0;
  49. $pref::T2D::warnFileDeprecated = 1;
  50. $pref::T2D::warnSceneOccupancy = 1;
  51. /// Video
  52. $pref::Video::appliedPref = 0;
  53. $pref::Video::disableVerticalSync = 1;
  54. $pref::Video::displayDevice = "OpenGL";
  55. $pref::Video::preferOpenGL = 1;
  56. $pref::Video::fullScreen = 0;
  57. $pref::Video::defaultResolution = "1024 768";
  58. $pref::Video::windowedRes = "1024 768 32";
  59. $pref::OpenGL::gammaCorrection = 0.5;
  60. /// Fonts.
  61. $Gui::fontCacheDirectory = expandPath( "^AppCore/fonts" );