test: maxr-data.patch (NEW) - testing purpose

lisu lisu at pld-linux.org
Mon Jan 5 18:48:40 CET 2009


Author: lisu                         Date: Mon Jan  5 17:48:40 2009 GMT
Module: test                          Tag: HEAD
---- Log message:
- testing purpose

---- Files affected:
test:
   maxr-data.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: test/maxr-data.patch
diff -u /dev/null test/maxr-data.patch:1.1
--- /dev/null	Mon Jan  5 18:48:40 2009
+++ test/maxr-data.patch	Mon Jan  5 18:48:35 2009
@@ -0,0 +1,50 @@
+--- maxr-0.2.2/src/loaddata.cpp~	2009-01-05 14:33:27.000000000 +0100
++++ maxr-0.2.2/src/loaddata.cpp	2009-01-05 14:31:18.000000000 +0100
+@@ -3699,7 +3699,7 @@
+ 	//init absolutly needed paths
+ 	SettingsData.sLog = MAX_LOG;
+ 	SettingsData.sNetLog = MAX_NET_LOG;
+-	SettingsData.sExePath = ""; //FIXME: I don't know how this is handled on win/mac -- beko
++	SettingsData.sExePath = "/usr/share/maxr"; //FIXME: I don't know how this is handled on win/mac -- beko
+ 
+ 	#ifdef WIN32
+ 		SettingsData.sHome=""; //this is where windowsuser should set their %HOME%
+@@ -3779,6 +3779,7 @@
+ 			
+ 			SettingsData.sExePath = cPathToExe;
+ 			SettingsData.sExePath = SettingsData.sExePath.substr(0, iPos); 
++			SettingsData.sExePath = "/usr/share/maxr";
+ 			SettingsData.sExePath += PATH_DELIMITER;
+ 
+ 			//crude path validation
+--- maxr-0.2.2/data/max.xml~	2009-01-05 19:37:34.000000000 +0100
++++ maxr-0.2.2/data/max.xml	2009-01-05 19:38:29.000000000 +0100
+@@ -36,17 +36,17 @@
+             <Frequency Num="44100" />
+         </Sound>
+         <Paths>
+-            <Fonts Text="fonts" />
+-            <FX Text="fx" />
+-            <GFX Text="gfx" />
+-            <Maps Text="maps" />
+-            <Saves Text="save" />
+-            <Sounds Text="sounds" />
+-            <Voices Text="voices" />
+-            <Music Text="music" />
+-            <Vehicles Text="vehicles" />
+-            <Buildings Text="buildings" />
+-            <MVEs Text="mve" />
++	    <Fonts Text="/usr/share/maxr/fonts" />
++	    <FX Text="/usr/share/maxr/fx" />
++	    <GFX Text="/usr/share/maxr/gfx" />
++	    <Maps Text="/usr/share/maxr/maps" />
++	    <Saves Text="/usr/share/maxr/save" />
++	    <Sounds Text="/usr/share/maxr/sounds" />
++	    <Voices Text="/usr/share/maxr/voices" />
++	    <Music Text="/usr/share/maxr/music" />
++	    <Vehicles Text="/usr/share/maxr/vehicles" />
++	    <Buildings Text="/usr/share/maxr/buildings" />
++	    <MVEs Text="/usr/share/maxr/mve" />
+         </Paths>
+     </Game>
+ </Options>
================================================================


More information about the pld-cvs-commit mailing list