- changes pathes to data directory
authorgrzegol <grzegol@pld-linux.org>
Sat, 1 Feb 2003 22:06:51 +0000 (22:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    decopter-paths.patch -> 1.1

decopter-paths.patch [new file with mode: 0644]

diff --git a/decopter-paths.patch b/decopter-paths.patch
new file mode 100644 (file)
index 0000000..e979965
--- /dev/null
@@ -0,0 +1,92 @@
+diff -urN aaa/decopter-0.2.9/fly.cc decopter-0.2.9/fly.cc
+--- aaa/decopter-0.2.9/fly.cc  Thu Jan  9 13:32:26 2003
++++ decopter-0.2.9/fly.cc      Sat Feb  1 22:34:57 2003
+@@ -24,9 +24,9 @@
+     gm=new GameManager(InitialScreenWidth,InitialScreenHeight,InitialScreenBPP);
+-    gm->LoadLandscape("maps/default.land",ViewDistance,40000,MainPatchLevel);
++    gm->LoadLandscape("/usr/share/decopter/maps/default.land",ViewDistance,40000,MainPatchLevel);
+-    gm->InitCopter("3D/copter.metamesh");
++    gm->InitCopter("/usr/share/decopter/3D/copter.metamesh");
+     while (!done)
+     {
+diff -urN aaa/decopter-0.2.9/gamemanager.cc decopter-0.2.9/gamemanager.cc
+--- aaa/decopter-0.2.9/gamemanager.cc  Thu Jan  9 13:32:26 2003
++++ decopter-0.2.9/gamemanager.cc      Sat Feb  1 22:35:11 2003
+@@ -273,8 +273,8 @@
+ {
+     MetaMeshes["copter"]=MetaMesh(filename);
+     MetaMeshes["copter"].GenerateLists();
+-    copter=new Copter(&(MetaMeshes["copter"]),"desc/copter",Vector3D(5000,1200,-15000),landscape);
+-    copter->SetTextures("maps/default.copter");
++    copter=new Copter(&(MetaMeshes["copter"]),"/usr/share/decopter/desc/copter",Vector3D(5000,1200,-15000),landscape);
++    copter->SetTextures("/usr/share/decopter/maps/default.copter");
+ }
+ void GameManager::DrawCopter()
+diff -urN aaa/decopter-0.2.9/generate_textures.cc decopter-0.2.9/generate_textures.cc
+--- aaa/decopter-0.2.9/generate_textures.cc    Thu Jan  9 13:32:26 2003
++++ decopter-0.2.9/generate_textures.cc        Sat Feb  1 22:35:33 2003
+@@ -4,8 +4,8 @@
+ #include "utils.h"
+ #include <iostream>
+-#define LandscapeFilename "maps/default.land"
+-#define TexturesFilename "maps/default.textures"
++#define LandscapeFilename "/usr/share/decopter/maps/default.land"
++#define TexturesFilename "/usr/share/decopter/maps/default.textures"
+ #define LightX 0.5
+ #define LightZ 0.5
+diff -urN aaa/decopter-0.2.9/landscape_texture_browser.cc decopter-0.2.9/landscape_texture_browser.cc
+--- aaa/decopter-0.2.9/landscape_texture_browser.cc    Thu Jan  9 13:32:26 2003
++++ decopter-0.2.9/landscape_texture_browser.cc        Sat Feb  1 22:35:49 2003
+@@ -19,7 +19,7 @@
+     gm=new GameManager(InitialScreenWidth,InitialScreenHeight,InitialScreenBPP);
+     gm->Set2DMode();
+-    gm->LoadLandscape("maps/default.land",1,10000,10);
++    gm->LoadLandscape("/usr/share/decopter/maps/default.land",1,10000,10);
+     while (!done)
+     {
+diff -urN aaa/decopter-0.2.9/maps/default.land decopter-0.2.9/maps/default.land
+--- aaa/decopter-0.2.9/maps/default.land       Thu Jan  9 13:32:26 2003
++++ decopter-0.2.9/maps/default.land   Sat Feb  1 22:40:51 2003
+@@ -1,4 +1,4 @@
+-map maps/landscape.png
++map /usr/share/decopter/maps/landscape.png
+ LandscapeScaleXZ 100.0
+ LandscapeScaleY 5000.0
+ Light 100000 50000 100000 
+diff -urN aaa/decopter-0.2.9/maps/default.trees decopter-0.2.9/maps/default.trees
+--- aaa/decopter-0.2.9/maps/default.trees      Thu Jan  9 13:32:26 2003
++++ decopter-0.2.9/maps/default.trees  Sat Feb  1 22:41:18 2003
+@@ -1,6 +1,6 @@
+-textures/tree1.png tree1
+-textures/tree2.png tree2
+-textures/tree3.png tree3
+-textures/tree4.png tree4
+-textures/tree5.png tree5
+-textures/tree6.png tree6
++/usr/share/decopter/textures/tree1.png tree1
++/usr/share/decopter/textures/tree2.png tree2
++/usr/share/decopter/textures/tree3.png tree3
++/usr/share/decopter/textures/tree4.png tree4
++/usr/share/decopter/textures/tree5.png tree5
++/usr/share/decopter/textures/tree6.png tree6
+diff -urN aaa/decopter-0.2.9/utils.cc decopter-0.2.9/utils.cc
+--- aaa/decopter-0.2.9/utils.cc        Thu Jan  9 13:32:26 2003
++++ decopter-0.2.9/utils.cc    Sat Feb  1 22:41:49 2003
+@@ -41,7 +41,7 @@
+ string GetTexturesDirectory()
+ {
+     string TexturesDirectory;
+-    TexturesDirectory="/usr/local/games/decopter/textures/";
++    TexturesDirectory="/usr/share/decopter/textures/";
+     cout <<"TexturesDirectory: "<<TexturesDirectory<<"\n";
+     return TexturesDirectory;
+ }
This page took 0.03628 seconds and 4 git commands to generate.