libre.patch 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. --- a/CMake/InstallResources.cmake 1989-12-31 19:00:00.000000000 -0500
  2. +++ b/CMake/InstallResources.cmake 2018-01-17 14:20:52.618886229 -0500
  3. @@ -121,9 +121,6 @@
  4. # create plugins.cfg
  5. configure_file(${OGRE_TEMPLATES_DIR}/plugins_d.cfg.in ${OGRE_BINARY_DIR}/inst/bin/debug/plugins_d.cfg)
  6. configure_file(${OGRE_TEMPLATES_DIR}/plugins.cfg.in ${OGRE_BINARY_DIR}/inst/bin/release/plugins.cfg)
  7. -# create quakemap.cfg
  8. -configure_file(${OGRE_TEMPLATES_DIR}/quakemap.cfg.in ${OGRE_BINARY_DIR}/inst/bin/debug/quakemap_d.cfg)
  9. -configure_file(${OGRE_TEMPLATES_DIR}/quakemap.cfg.in ${OGRE_BINARY_DIR}/inst/bin/release/quakemap.cfg)
  10. # create samples.cfg
  11. configure_file(${OGRE_TEMPLATES_DIR}/samples_d.cfg.in ${OGRE_BINARY_DIR}/inst/bin/debug/samples_d.cfg)
  12. configure_file(${OGRE_TEMPLATES_DIR}/samples.cfg.in ${OGRE_BINARY_DIR}/inst/bin/release/samples.cfg)
  13. @@ -137,7 +134,6 @@
  14. ${OGRE_BINARY_DIR}/inst/bin/debug/plugins_d.cfg
  15. ${OGRE_BINARY_DIR}/inst/bin/debug/samples_d.cfg
  16. ${OGRE_BINARY_DIR}/inst/bin/debug/tests_d.cfg
  17. - ${OGRE_BINARY_DIR}/inst/bin/debug/quakemap_d.cfg
  18. DESTINATION "${OGRE_CFG_INSTALL_PATH}" CONFIGURATIONS Debug
  19. )
  20. install(FILES
  21. @@ -145,7 +141,6 @@
  22. ${OGRE_BINARY_DIR}/inst/bin/release/plugins.cfg
  23. ${OGRE_BINARY_DIR}/inst/bin/release/samples.cfg
  24. ${OGRE_BINARY_DIR}/inst/bin/release/tests.cfg
  25. - ${OGRE_BINARY_DIR}/inst/bin/release/quakemap.cfg
  26. DESTINATION "${OGRE_CFG_INSTALL_PATH}"
  27. CONFIGURATIONS Release RelWithDebInfo MinSizeRel None ""
  28. )
  29. @@ -157,7 +152,6 @@
  30. ${OGRE_BINARY_DIR}/inst/bin/release/plugins.cfg
  31. ${OGRE_BINARY_DIR}/inst/bin/release/samples.cfg
  32. ${OGRE_BINARY_DIR}/inst/bin/release/tests.cfg
  33. - ${OGRE_BINARY_DIR}/inst/bin/release/quakemap.cfg
  34. DESTINATION "${OGRE_CFG_INSTALL_PATH}"
  35. )
  36. endif()
  37. @@ -209,11 +203,6 @@
  38. configure_file(${OGRE_TEMPLATES_DIR}/plugins.cfg.in ${OGRE_BINARY_DIR}/bin/release/plugins.cfg)
  39. configure_file(${OGRE_TEMPLATES_DIR}/plugins.cfg.in ${OGRE_BINARY_DIR}/bin/relwithdebinfo/plugins.cfg)
  40. configure_file(${OGRE_TEMPLATES_DIR}/plugins.cfg.in ${OGRE_BINARY_DIR}/bin/minsizerel/plugins.cfg)
  41. - # create quakemap.cfg
  42. - configure_file(${OGRE_TEMPLATES_DIR}/quakemap.cfg.in ${OGRE_BINARY_DIR}/bin/debug/quakemap_d.cfg)
  43. - configure_file(${OGRE_TEMPLATES_DIR}/quakemap.cfg.in ${OGRE_BINARY_DIR}/bin/release/quakemap.cfg)
  44. - configure_file(${OGRE_TEMPLATES_DIR}/quakemap.cfg.in ${OGRE_BINARY_DIR}/bin/relwithdebinfo/quakemap.cfg)
  45. - configure_file(${OGRE_TEMPLATES_DIR}/quakemap.cfg.in ${OGRE_BINARY_DIR}/bin/minsizerel/quakemap.cfg)
  46. # create samples.cfg
  47. configure_file(${OGRE_TEMPLATES_DIR}/samples_d.cfg.in ${OGRE_BINARY_DIR}/bin/debug/samples_d.cfg)
  48. configure_file(${OGRE_TEMPLATES_DIR}/samples.cfg.in ${OGRE_BINARY_DIR}/bin/release/samples.cfg)
  49. @@ -229,8 +218,6 @@
  50. configure_file(${OGRE_TEMPLATES_DIR}/resources.cfg.in ${OGRE_BINARY_DIR}/bin/resources.cfg)
  51. # create plugins.cfg
  52. configure_file(${OGRE_TEMPLATES_DIR}/plugins.cfg.in ${OGRE_BINARY_DIR}/bin/plugins.cfg)
  53. - # create quakemap.cfg
  54. - configure_file(${OGRE_TEMPLATES_DIR}/quakemap.cfg.in ${OGRE_BINARY_DIR}/bin/quakemap.cfg)
  55. # create samples.cfg
  56. configure_file(${OGRE_TEMPLATES_DIR}/samples.cfg.in ${OGRE_BINARY_DIR}/bin/samples.cfg)
  57. # create tests.cfg
  58. --- a/CMake/Templates/Android_resources.cfg.in 1989-12-31 19:00:00.000000000 -0500
  59. +++ b/CMake/Templates/Android_resources.cfg.in 2018-01-17 14:22:47.293842892 -0500
  60. @@ -14,7 +14,6 @@
  61. APKFileSystem=/materials/scripts
  62. APKFileSystem=/materials/textures
  63. APKFileSystem=/materials/textures/glTF2_IBL
  64. -APKFileSystem=/materials/textures/nvidia
  65. APKFileSystem=/models
  66. APKFileSystem=/particle
  67. APKFileSystem=/materials/scripts/SSAO
  68. --- a/CMake/Templates/SDK_CMakeLists.txt.in 1989-12-31 19:00:00.000000000 -0500
  69. +++ b/CMake/Templates/SDK_CMakeLists.txt.in 2018-01-17 14:24:12.493429198 -0500
  70. @@ -244,7 +244,6 @@
  71. configure_file(${OGRE_SOURCE_DIR}/plugins.cfg ${OGRE_BINARY_DIR}/bin/plugins.cfg COPYONLY)
  72. configure_file(${OGRE_SOURCE_DIR}/resources.cfg ${OGRE_BINARY_DIR}/bin/resources.cfg COPYONLY)
  73. configure_file(${OGRE_SOURCE_DIR}/samples.cfg ${OGRE_BINARY_DIR}/bin/samples.cfg COPYONLY)
  74. - configure_file(${OGRE_SOURCE_DIR}/quakemap.cfg ${OGRE_BINARY_DIR}/bin/quakemap.cfg COPYONLY)
  75. endif ()
  76. if (MINGW)
  77. --- a/CMake/Templates/demomedia.wxi.in 1989-12-31 19:00:00.000000000 -0500
  78. +++ b/CMake/Templates/demomedia.wxi.in 2018-01-17 14:28:08.219728763 -0500
  79. @@ -295,13 +295,6 @@
  80. <ComponentRef Id="cmpA1FEB51B0386689568AAFC22E0D71B6B" />
  81. <ComponentRef Id="cmpA3F7363F0553143ABF1CA52A2FD433D6" />
  82. <ComponentRef Id="cmp0344A18C23958D312C044A6E8443CD9D" />
  83. - <ComponentRef Id="cmp30B19313C1A692A69AC9C275E4E5D5CC" />
  84. - <ComponentRef Id="cmp376B3837DF007338AC14AB58C726A8B1" />
  85. - <ComponentRef Id="cmp02B151F3B587EAF5AF116E6A3B09E247" />
  86. - <ComponentRef Id="cmpFA2310874B7C3D5229AF9BEACAF6746A" />
  87. - <ComponentRef Id="cmpB11E2174087D0D3FC791806231C1DBF5" />
  88. - <ComponentRef Id="cmpF00ABD2DB6C6A8D718E0E4B5CD6B1C09" />
  89. - <ComponentRef Id="cmpA603C50287BBE370F0BDF5FBE7A3233F" />
  90. <ComponentRef Id="cmpEA39DA48CA01586DF3412795541AD2FC" />
  91. <ComponentRef Id="cmp50C3E068724D3C32847EEB132308B147" />
  92. <ComponentRef Id="cmp78D10E140133F6977C74A8F912B2B217" />
  93. @@ -328,8 +321,6 @@
  94. <ComponentRef Id="cmpDFD58144C55506C82E22CF1AC14714B8" />
  95. <ComponentRef Id="cmp9BF13256D468C8147B7050A93B09C032" />
  96. <ComponentRef Id="cmp86F908FD9E8E5FFAD0C2D9A37A098E4C" />
  97. - <ComponentRef Id="cmpDEED3FE7C35E18D0FA59B8BB3DF42244" />
  98. - <ComponentRef Id="cmp98499D3076FA7324AFE1F9F8D10FB421" />
  99. <ComponentRef Id="cmp532E67011B733ACE674692F6ED52775D" />
  100. <ComponentRef Id="cmp572AE70CCC0D85E8DA35F87B45768634" />
  101. <ComponentRef Id="cmp013036935784DEC9BAE62831C93EFA18" />
  102. @@ -1338,29 +1329,6 @@
  103. <Component Id="cmp0344A18C23958D312C044A6E8443CD9D" Guid="{E47FE6B7-B6BD-4FCA-A903-87281A6B8CEB}">
  104. <File Id="fil39C72570EB0CBAC9AF4FF900C2D5D525" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\materials\textures\WoodPallet.png" />
  105. </Component>
  106. - <Directory Id="dir11696C93BEAB38C45931BCBDDB2A6789" Name="nvidia">
  107. - <Component Id="cmp30B19313C1A692A69AC9C275E4E5D5CC" Guid="{68CA4BF9-5A51-400F-B5C2-701A4DA8D331}">
  108. - <File Id="fil40BA6B2C4D12AD2C5710179390B9D2DB" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\materials\textures\nvidia\dirt_grayrocky_diffusespecular.dds" />
  109. - </Component>
  110. - <Component Id="cmp376B3837DF007338AC14AB58C726A8B1" Guid="{CF5BBEF1-4E44-46E9-8373-4FF589D19F6F}">
  111. - <File Id="fil6A9EC7DE38E4F700741187344AAB9A4C" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\materials\textures\nvidia\dirt_grayrocky_normalheight.dds" />
  112. - </Component>
  113. - <Component Id="cmp02B151F3B587EAF5AF116E6A3B09E247" Guid="{EB6D162E-A67A-4CD1-948D-66B84457AFBD}">
  114. - <File Id="fil30FFE3069E40D44C734E168BEB336DA0" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\materials\textures\nvidia\grass_green-01_diffusespecular.dds" />
  115. - </Component>
  116. - <Component Id="cmpFA2310874B7C3D5229AF9BEACAF6746A" Guid="{C6E468AC-67EE-44C6-9F01-69D369D966FC}">
  117. - <File Id="fil4C7A93A8C53E76F5F5ED65D1F52659DD" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\materials\textures\nvidia\grass_green-01_normalheight.dds" />
  118. - </Component>
  119. - <Component Id="cmpB11E2174087D0D3FC791806231C1DBF5" Guid="{3A30B7B3-6D8D-4475-B31E-5626B54DD65B}">
  120. - <File Id="fil909FAC7A36B3EA5B9F4660701BEC09F5" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\materials\textures\nvidia\growth_weirdfungus-03_diffusespecular.dds" />
  121. - </Component>
  122. - <Component Id="cmpF00ABD2DB6C6A8D718E0E4B5CD6B1C09" Guid="{EE4979FF-6320-432A-98B2-F183BCAC197A}">
  123. - <File Id="fil23D0DB8C9CA160970B9C29DD8F77B5CF" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\materials\textures\nvidia\growth_weirdfungus-03_normalheight.dds" />
  124. - </Component>
  125. - <Component Id="cmpA603C50287BBE370F0BDF5FBE7A3233F" Guid="{E8AD7243-C2F2-4C00-AE8E-DC38E20927FA}">
  126. - <File Id="fil6A4613F0DA3B5B562C5C68C05DFF0171" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\materials\textures\nvidia\TextureUsageAgreement.txt" />
  127. - </Component>
  128. - </Directory>
  129. </Directory>
  130. </Directory>
  131. <Directory Id="dir01544E63CCE21518F3D56A0A93D1DC4A" Name="models">
  132. @@ -1444,12 +1412,6 @@
  133. </Component>
  134. </Directory>
  135. <Directory Id="dir4ABFE5E33570C5CDD587CDA5FEC53CBC" Name="packs">
  136. - <Component Id="cmpDEED3FE7C35E18D0FA59B8BB3DF42244" Guid="{5B8E1BED-1BC5-4A20-BA09-9699D0AF7BFC}">
  137. - <File Id="fil43F38AE712D50BF0076D8C8E08E3264C" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\packs\chiropteraDM.pk3" />
  138. - </Component>
  139. - <Component Id="cmp98499D3076FA7324AFE1F9F8D10FB421" Guid="{38CA3EF3-96E4-47D1-8B4C-682BCCF91E99}">
  140. - <File Id="fil98BCB56BE20EF36A4F72F07CDADC63DE" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\packs\chiropteraDM.txt" />
  141. - </Component>
  142. <Component Id="cmp532E67011B733ACE674692F6ED52775D" Guid="{9AC3FA7E-FBDC-4448-A61B-615EF43EB923}">
  143. <File Id="filC6E116063CEC1DFBE1D6B452FD089931" KeyPath="yes" Source="@OGRE_MEDIA_DIR_REL@\packs\cubemap.zip" />
  144. </Component>
  145. --- a/CMake/Templates/demos.wxs.in 1989-12-31 19:00:00.000000000 -0500
  146. +++ b/CMake/Templates/demos.wxs.in 2018-01-17 14:28:56.977584421 -0500
  147. @@ -39,7 +39,6 @@
  148. <File Source='..\bin\release\samples.cfg' Vital='yes' />
  149. <!-- Following config files are tweaked locally -->
  150. <File Source='.\resources.cfg' Vital='yes' />
  151. - <File Source='.\quakemap.cfg' Vital='yes' />
  152. <File Source="..\bin\release\SampleBrowser.exe" />
  153. <File Source='..\bin\release\Sample_BezierPatch.dll' Vital='yes' />
  154. --- a/CMake/Templates/resources.cfg.in 1989-12-31 19:00:00.000000000 -0500
  155. +++ b/CMake/Templates/resources.cfg.in 2018-01-17 14:29:44.348834395 -0500
  156. @@ -14,7 +14,6 @@
  157. FileSystem=@OGRE_MEDIA_DIR_REL@/materials/programs
  158. FileSystem=@OGRE_MEDIA_DIR_REL@/materials/scripts
  159. FileSystem=@OGRE_MEDIA_DIR_REL@/materials/textures
  160. -FileSystem=@OGRE_MEDIA_DIR_REL@/materials/textures/nvidia
  161. FileSystem=@OGRE_MEDIA_DIR_REL@/models
  162. FileSystem=@OGRE_MEDIA_DIR_REL@/particle
  163. FileSystem=@OGRE_MEDIA_DIR_REL@/DeferredShadingMedia
  164. --- a/Docs/License.md 1989-12-31 19:00:00.000000000 -0500
  165. +++ b/Docs/License.md 2018-01-17 14:32:09.955764022 -0500
  166. @@ -299,35 +299,6 @@
  167. <br />
  168. -<span style="font-weight: bold;">NVidia Cg<br />
  169. -
  170. -</span>
  171. -<table style="text-align: left; width: 100%;" border="0" cellpadding="0" cellspacing="0">
  172. - <tbody>
  173. -
  174. - <tr>
  175. - <td style="width: 20%;">Original Authors:</td>
  176. - <td>NVidia</td>
  177. - </tr>
  178. -
  179. - <tr>
  180. - <td>Website:</td>
  181. - <td>http://developer.nvidia.com</td>
  182. - </tr>
  183. -
  184. - <tr>
  185. - <td>Licensed Under:</td>
  186. - <td>Custom free license (binary only)</td>
  187. - </tr>
  188. -
  189. - <tr>
  190. - <td>Needed By:</td>
  191. - <td>Plugin_CgProgramManager</td>
  192. - </tr>
  193. -
  194. - </tbody>
  195. -</table>
  196. -<br />
  197. <span style="font-weight: bold;">OpenEXR<br />
  198. </span>
  199. @@ -408,57 +379,4 @@
  200. </ul>
  201. -<p class="mainheader" align="left">Art credits for demos</p>
  202. -
  203. -<ul>
  204. - <li>
  205. - <p style="margin-bottom: 0cm;">Matt Anderson at
  206. - <a href="http://www.The3dStudio.com/">www.The3dStudio.com</a> who
  207. - kindly gave permission for the use of some textures. These textures are used with permission of
  208. - <a href="http://www.the3dstudio.com/">www.The3dStudio.com</a> and may
  209. - not be re-distributed, sold, or given away except in the form of
  210. - rendered images, animations, or real time 3D applications when credit
  211. - is given to <a href="http://www.the3dstudio.com/">www.The3dStudio.com</a>.</p>
  212. - </li>
  213. - <li>
  214. - <p style="margin-bottom: 0cm;">Jonathan Clark at
  215. - <a href="http://www.jonathanclark.com/">http://www.jonathanclark.com</a>
  216. - for some Golgotha textures thet were released to the public domain.</p>
  217. - </li>
  218. - <li>
  219. - <p style="margin-bottom: 0cm;">The 'Raptor Assault Gunboat' mesh
  220. - &amp; texture are &copy; 2002 by Adrian 'cearny' Cearnau.</p>
  221. - </li>
  222. - <li>
  223. - <p style="margin-bottom: 0cm;">The robot andn ninja mesh and
  224. - animation are by <a href="http://www.psionic3d.co.uk/">Psionic</a>,
  225. - kindly made available from the <a href="http://www.insanesoftware.de/">CharacterFX</a>
  226. - site</p>
  227. - </li>
  228. - <li>
  229. - <p style="margin-bottom: 0cm;">The 'Razor 2' mesh is by Dennis
  230. - Verbeek</p>
  231. - </li>
  232. - <li>
  233. - <p style="margin-bottom: 0cm;">Skyboxes in cubemapJS.zip are
  234. - &copy;<a href="http://www.schlorb.com/">Johannes Schlorb</a>, used
  235. - with permission.
  236. - </p>
  237. - </li>
  238. - <li>
  239. - <p>Grass texture is courtesy of Mathias 'freezer' Walc</p>
  240. - </li>
  241. - <li>
  242. - <p>The 'Cuckoo' TrueType font is provided by <a href="http://www.grsites.com">http://www.grsites.com</a>.</p>
  243. - </li>
  244. - <li>SoftImage|XSI sample media files (facial.mesh, jaiqua.mesh and associated files) are provided courtesy of Avid Technology, Inc.<br />
  245. - &copy; 2004 Avid Technology, Inc. All rights
  246. - reserved. Avid is either a registered trademark or trademark of Avid
  247. - Technology, Inc. in the United States and/or other countries.
  248. - </li>
  249. - <li>
  250. - <p>The Sibenik Cathedral model by Marko Dabrovic - <a href="marko@3lhd.com">marko@3lhd.com</a>.</p>
  251. - </li>
  252. -</ul>
  253. -
  254. <p>Copyright &copy; 2013 by The OGRE Team</p>
  255. --- a/Samples/BSP/include/BSP.h 1989-12-31 19:00:00.000000000 -0500
  256. +++ b/Samples/BSP/include/BSP.h 2018-01-17 14:34:43.165692607 -0500
  257. @@ -19,7 +19,6 @@
  258. {
  259. mInfo["Title"] = "BSP";
  260. mInfo["Description"] = "A demo of the indoor, or BSP (Binary Space Partition) scene manager. "
  261. - "Also demonstrates how to load BSP maps from Quake 3.";
  262. mInfo["Thumbnail"] = "thumb_bsp.png";
  263. mInfo["Category"] = "Geometry";
  264. }
  265. @@ -42,41 +41,6 @@
  266. protected:
  267. - void locateResources()
  268. - {
  269. - // Pick a new resource group so Q3Shader parser is correctly registered
  270. - ResourceGroupManager::getSingleton().setWorldResourceGroupName("BSPWorld");
  271. -
  272. - // load the Quake archive location and map name from a config file
  273. - ConfigFile cf;
  274. - cf.load(mFSLayer->getConfigFilePath("quakemap.cfg"));
  275. - mArchive = cf.getSetting("Archive");
  276. - mMap = cf.getSetting("Map");
  277. -
  278. -#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE || OGRE_PLATFORM == OGRE_PLATFORM_APPLE_IOS
  279. - Ogre::String bundle = Ogre::macBundlePath();
  280. -#elif OGRE_PLATFORM == OGRE_PLATFORM_LINUX
  281. - char* env_SNAP = getenv("SNAP");
  282. - Ogre::String bundle(env_SNAP ? env_SNAP : "");
  283. -#endif
  284. -
  285. -#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE || OGRE_PLATFORM == OGRE_PLATFORM_APPLE_IOS
  286. - // OS X does not set the working directory relative to the app,
  287. - // In order to make things portable on OS X we need to provide
  288. - // the loading with it's own bundle path location
  289. - if (!Ogre::StringUtil::startsWith(mArchive, "/", false)) // only adjust relative dirs
  290. - mArchive = bundle + "/" + mArchive;
  291. -#elif OGRE_PLATFORM == OGRE_PLATFORM_LINUX
  292. - // With Ubuntu Snappy changes absolute paths are relative to the snap package.
  293. - if (Ogre::StringUtil::startsWith(mArchive, "/", false)) // only adjust absolute dirs
  294. - mArchive = bundle + mArchive;
  295. -#endif
  296. -
  297. - // add the Quake archive to the world resource group
  298. - ResourceGroupManager::getSingleton().addResourceLocation(mArchive, "Zip",
  299. - ResourceGroupManager::getSingleton().getWorldResourceGroupName(), true);
  300. - }
  301. -
  302. void createSceneManager()
  303. {
  304. mSceneMgr = mRoot->createSceneManager("BspSceneManager"); // the BSP scene manager is required for this sample
  305. @@ -122,10 +86,6 @@
  306. // set a random player starting point
  307. ViewPoint vp = mSceneMgr->getSuggestedViewpoint(true);
  308. - // Quake uses the Z axis as the up axis, so make necessary adjustments
  309. - mCameraNode->setFixedYawAxis(true, Vector3::UNIT_Z);
  310. - mCameraNode->pitch(Degree(90));
  311. -
  312. mCameraNode->setPosition(vp.position);
  313. mCameraNode->rotate(vp.orientation);
  314. --- a/Samples/Browser/CMakeLists.txt 1989-12-31 19:00:00.000000000 -0500
  315. +++ b/Samples/Browser/CMakeLists.txt 2018-01-17 14:36:27.887753660 -0500
  316. @@ -118,13 +118,11 @@
  317. ${OGRE_BINARY_DIR}/inst/bin/debug/resources_d.cfg
  318. ${OGRE_BINARY_DIR}/inst/bin/debug/plugins_d.cfg
  319. - ${OGRE_BINARY_DIR}/inst/bin/debug/quakemap_d.cfg
  320. ${OGRE_BINARY_DIR}/inst/bin/debug/samples_d.cfg
  321. ${OGRE_BINARY_DIR}/inst/bin/debug/tests_d.cfg
  322. ${OGRE_BINARY_DIR}/inst/bin/release/resources.cfg
  323. ${OGRE_BINARY_DIR}/inst/bin/release/plugins.cfg
  324. - ${OGRE_BINARY_DIR}/inst/bin/release/quakemap.cfg
  325. ${OGRE_BINARY_DIR}/inst/bin/release/samples.cfg
  326. ${OGRE_BINARY_DIR}/inst/bin/release/tests.cfg
  327. @@ -149,14 +147,12 @@
  328. set(DEBUG_CONTENT_FILES ${DEBUG_CONTENT_FILES}
  329. ${CMAKE_CURRENT_BINARY_DIR}/resources_d.cfg
  330. ${CMAKE_CURRENT_BINARY_DIR}/plugins_d.cfg
  331. - ${CMAKE_CURRENT_BINARY_DIR}/quakemap_d.cfg
  332. ${CMAKE_CURRENT_BINARY_DIR}/samples_d.cfg
  333. ${CMAKE_CURRENT_BINARY_DIR}/tests_d.cfg
  334. )
  335. set(RELEASE_CONTENT_FILES ${RELEASE_CONTENT_FILES}
  336. ${CMAKE_CURRENT_BINARY_DIR}/resources.cfg
  337. ${CMAKE_CURRENT_BINARY_DIR}/plugins.cfg
  338. - ${CMAKE_CURRENT_BINARY_DIR}/quakemap.cfg
  339. ${CMAKE_CURRENT_BINARY_DIR}/samples.cfg
  340. ${CMAKE_CURRENT_BINARY_DIR}/tests.cfg
  341. )
  342. @@ -305,7 +301,6 @@
  343. COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/macosx/plugins.cfg ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  344. COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/macosx/resources.cfg ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  345. COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/macosx/samples.cfg ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  346. - COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/macosx/quakemap.cfg ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  347. COMMAND ln ARGS -s -f ${OGRE_SOURCE_DIR}/Media ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  348. COMMAND ditto ${OGRE_SOURCE_DIR}/Samples/Common/misc/SampleBrowser_OSX.icns ${OGRE_SAMPLE_CONTENTS_PATH}/Resources
  349. )
  350. @@ -315,7 +310,6 @@
  351. COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/plugins.cfg ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  352. COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/resources.cfg ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  353. COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/samples.cfg ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  354. - COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/quakemap.cfg ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  355. COMMAND ln ARGS -s -f ${OGRE_SOURCE_DIR}/Samples/Media ${OGRE_SAMPLE_CONTENTS_PATH}/Resources/
  356. COMMAND ditto ${OGRE_SOURCE_DIR}/Samples/Common/misc/SampleBrowser_OSX.icns ${OGRE_SAMPLE_CONTENTS_PATH}/Resources
  357. )
  358. --- a/Samples/CMakeLists.txt 1989-12-31 19:00:00.000000000 -0500
  359. +++ b/Samples/CMakeLists.txt 2018-01-17 14:37:21.222074714 -0500
  360. @@ -251,7 +251,6 @@
  361. set(OGRE_MEDIA_DIR_TMP ${OGRE_MEDIA_DIR_REL})
  362. set(OGRE_MEDIA_DIR_REL "Media")
  363. configure_file(${OGRE_TEMPLATES_DIR}/resources.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/resources.cfg @ONLY)
  364. - configure_file(${OGRE_TEMPLATES_DIR}/quakemap.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/quakemap.cfg @ONLY)
  365. # restore
  366. set(OGRE_MEDIA_DIR_REL ${OGRE_MEDIA_DIR_TMP})
  367. add_custom_target(demo_installer
  368. --- a/Samples/EndlessWorld/include/EndlessWorld.h 1989-12-31 19:00:00.000000000 -0500
  369. +++ b/Samples/EndlessWorld/include/EndlessWorld.h 2018-01-17 14:38:18.842873919 -0500
  370. @@ -312,17 +312,6 @@
  371. defaultimp.inputScale = 600;
  372. defaultimp.minBatchSize = 33;
  373. defaultimp.maxBatchSize = 65;
  374. - // textures
  375. - defaultimp.layerList.resize(3);
  376. - defaultimp.layerList[0].worldSize = 100;
  377. - defaultimp.layerList[0].textureNames.push_back("dirt_grayrocky_diffusespecular.dds");
  378. - defaultimp.layerList[0].textureNames.push_back("dirt_grayrocky_normalheight.dds");
  379. - defaultimp.layerList[1].worldSize = 30;
  380. - defaultimp.layerList[1].textureNames.push_back("grass_green-01_diffusespecular.dds");
  381. - defaultimp.layerList[1].textureNames.push_back("grass_green-01_normalheight.dds");
  382. - defaultimp.layerList[2].worldSize = 200;
  383. - defaultimp.layerList[2].textureNames.push_back("growth_weirdfungus-03_diffusespecular.dds");
  384. - defaultimp.layerList[2].textureNames.push_back("growth_weirdfungus-03_normalheight.dds");
  385. }
  386. /*-----------------------------------------------------------------------------
  387. --- a/Samples/Media/volumeTerrain/triplanarReference.material 1989-12-31 19:00:00.000000000 -0500
  388. +++ b/Samples/Media/volumeTerrain/triplanarReference.material 2018-01-17 14:39:19.330213722 -0500
  389. @@ -9,9 +9,6 @@
  390. rtshader_system
  391. {
  392. lighting_stage ffp
  393. - // Texturescale, Plateau-size (0 to 0.57, not bigger to avoid division by zero!), transition-speed
  394. - // Texture from x, from y, from z
  395. - triplanarTexturing 0.1 0.2 2.0 dirt_grayrocky_diffusespecular.dds grass_green-01_diffusespecular.dds growth_weirdfungus-03_diffusespecular.dds
  396. }
  397. }
  398. }
  399. --- a/Samples/Terrain/include/Terrain.h 1989-12-31 19:00:00.000000000 -0500
  400. +++ b/Samples/Terrain/include/Terrain.h 2018-01-17 14:40:31.710363819 -0500
  401. @@ -527,17 +527,6 @@
  402. defaultimp.inputScale = 600;
  403. defaultimp.minBatchSize = 33;
  404. defaultimp.maxBatchSize = 65;
  405. - // textures
  406. - defaultimp.layerList.resize(3);
  407. - defaultimp.layerList[0].worldSize = 100;
  408. - defaultimp.layerList[0].textureNames.push_back("dirt_grayrocky_diffusespecular.dds");
  409. - defaultimp.layerList[0].textureNames.push_back("dirt_grayrocky_normalheight.dds");
  410. - defaultimp.layerList[1].worldSize = 30;
  411. - defaultimp.layerList[1].textureNames.push_back("grass_green-01_diffusespecular.dds");
  412. - defaultimp.layerList[1].textureNames.push_back("grass_green-01_normalheight.dds");
  413. - defaultimp.layerList[2].worldSize = 200;
  414. - defaultimp.layerList[2].textureNames.push_back("growth_weirdfungus-03_diffusespecular.dds");
  415. - defaultimp.layerList[2].textureNames.push_back("growth_weirdfungus-03_normalheight.dds");
  416. }
  417. void addTextureShadowDebugOverlay(TrayLocation loc, size_t num)
  418. --- a/Tests/CMakeLists.txt 1989-12-31 19:00:00.000000000 -0500
  419. +++ b/Tests/CMakeLists.txt 2018-01-17 14:41:36.227526393 -0500
  420. @@ -205,8 +205,6 @@
  421. ${OGRE_TEST_CONTENTS_PATH}/Resources/
  422. COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/samples.cfg
  423. ${OGRE_TEST_CONTENTS_PATH}/Resources/
  424. - COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/quakemap.cfg
  425. - ${OGRE_TEST_CONTENTS_PATH}/Resources/
  426. COMMAND ditto
  427. ${OGRE_SOURCE_DIR}/Samples/Media/ ${OGRE_TEST_CONTENTS_PATH}/Resources/Media/
  428. COMMAND ditto
  429. --- a/Tests/VisualTests/Context/CMakeLists.txt 1989-12-31 19:00:00.000000000 -0500
  430. +++ b/Tests/VisualTests/Context/CMakeLists.txt 2018-01-17 14:42:24.515402721 -0500
  431. @@ -140,8 +140,6 @@
  432. ${OGRE_TESTCONTEXT_CONTENTS_PATH}/Resources/
  433. COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/resources.cfg
  434. ${OGRE_TESTCONTEXT_CONTENTS_PATH}/Resources/
  435. - COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/quakemap.cfg
  436. - ${OGRE_TESTCONTEXT_CONTENTS_PATH}/Resources/
  437. COMMAND ln ARGS -s -f ${OGRE_BINARY_DIR}/bin/tests.cfg
  438. ${OGRE_TESTCONTEXT_CONTENTS_PATH}/Resources/
  439. COMMAND ln ARGS -s -f ${OGRE_SOURCE_DIR}/Samples/Media
  440. --- a/Tests/VisualTests/PlayPen/src/PlayPenTests.cpp 1989-12-31 19:00:00.000000000 -0500
  441. +++ b/Tests/VisualTests/PlayPen/src/PlayPenTests.cpp 2018-01-17 14:44:24.663452014 -0500
  442. @@ -2078,47 +2078,6 @@
  443. addScreenshotFrame(10);
  444. }
  445. //----------------------------------------------------------------------------
  446. -
  447. -void PlayPen_Bsp::setupContent()
  448. -{
  449. - // Load Quake3 locations from a file
  450. - ConfigFile cf;
  451. -
  452. - cf.load(mFSLayer->getConfigFilePath("quakemap.cfg"));
  453. -
  454. - String quakePk3 = cf.getSetting("Archive");
  455. - String quakeLevel = cf.getSetting("Map");
  456. -
  457. - //ResourceGroupManager::getSingleton().addResourceLocation(quakePk3, "Zip");
  458. -
  459. - ResourceGroupManager::getSingleton().addResourceLocation(
  460. - quakePk3, "Zip",
  461. - ResourceGroupManager::getSingleton().getWorldResourceGroupName(), true);
  462. -
  463. - // Load world geometry
  464. - //mSceneMgr->setWorldGeometry(quakeLevel);
  465. -
  466. - ResourceGroupManager& rgm = ResourceGroupManager::getSingleton();
  467. - rgm.linkWorldGeometryToResourceGroup(rgm.getWorldResourceGroupName(), quakeLevel, mSceneMgr);
  468. - rgm.initialiseResourceGroup(rgm.getWorldResourceGroupName());
  469. - rgm.loadResourceGroup(rgm.getWorldResourceGroupName(), false);
  470. -
  471. - // modify camera for close work
  472. - mCamera->setNearClipDistance(4);
  473. - mCamera->setFarClipDistance(4000);
  474. -
  475. - // Also change position, and set Quake-type orientation
  476. - // Get random player start point
  477. - ViewPoint vp = mSceneMgr->getSuggestedViewpoint(true);
  478. - mCameraNode->setPosition(vp.position);
  479. - mCameraNode->pitch(Degree(90)); // Quake uses X/Y horizon, Z up
  480. - mCameraNode->rotate(vp.orientation);
  481. - // Don't yaw along variable axis, causes leaning
  482. - mCameraNode->setFixedYawAxis(true, Vector3::UNIT_Z);
  483. -
  484. - mCameraNode->yaw(Ogre::Degree(-90.f));
  485. -}
  486. -//----------------------------------------------------------------------------
  487. //----------------------------------------------------------------------------
  488. PlayPen_BuildTangentOnAnimatedMesh::PlayPen_BuildTangentOnAnimatedMesh()