Author: lisu                         Date: Wed Nov  8 01:56:19 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- set path for data dir

---- Files affected:
SOURCES:
   mars-path.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/mars-path.patch
diff -u SOURCES/mars-path.patch:1.1 SOURCES/mars-path.patch:1.2
--- SOURCES/mars-path.patch:1.1 Wed Nov  8 02:13:36 2006
+++ SOURCES/mars-path.patch     Wed Nov  8 02:56:13 2006
@@ -1,11 +1,20 @@
 --- mars-0.2.0/src/XmlLoader.cpp~      2006-11-02 13:10:42.000000000 +0100
-+++ mars-0.2.0/src/XmlLoader.cpp       2006-11-07 22:25:56.000000000 +0100
++++ mars-0.2.0/src/XmlLoader.cpp       2006-11-08 02:50:00.000000000 +0100
+@@ -207,7 +207,7 @@
+ void XmlLoader::LoadImages(const char *path)
+ {
+       Image * img;
+-      string string_path = path;
++      string string_path = 
"/usr/share/mars/img/buildings/NGG/bunker_outpost_1/";
+ 
+       //FIXME temporary solution
+               
 @@ -219,7 +219,7 @@
                img = gtracker->GetImage(string_path + "02.png", 
screen->GetGraphicMode());
                _views.push_back(img);
                // If element has more then 2 images, Unit
 -              if(ImageFileExists(string_path + "03.png"))
-+/*            if(ImageFileExists(string_path + "03.png"))
++              /*if(ImageFileExists(string_path + "03.png"))
                {
                        img = gtracker->GetImage(string_path + "03.png", 
screen->GetGraphicMode());
                        _views.push_back(img);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mars-path.patch?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to