From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- pipermail/nel/2001-March/000362.html | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 pipermail/nel/2001-March/000362.html (limited to 'pipermail/nel/2001-March/000362.html') diff --git a/pipermail/nel/2001-March/000362.html b/pipermail/nel/2001-March/000362.html new file mode 100644 index 00000000..0830f108 --- /dev/null +++ b/pipermail/nel/2001-March/000362.html @@ -0,0 +1,96 @@ + + + + [Nel] here's the landscape.cpp patch I used + + + + + + +

[Nel] here's the landscape.cpp patch I used

+ robert@paradox.got.net + robert@paradox.got.net
+ Wed, 7 Mar 2001 01:33:34 -0800 (PST) +

+
+ +
Thanks to Leighton's advice I was able to get running.  Here's the
+patch I used:
+
+$ cvs diff landscape.cpp
+Index: landscape.cpp
+===================================================================
+RCS file: /home/cvsroot/code/nel/src/3d/landscape.cpp,v
+retrieving revision 1.48
+diff -u -r1.48 landscape.cpp
+--- landscape.cpp       2001/02/28 14:28:57     1.48
++++ landscape.cpp       2001/03/07 09:35:52
+@@ -741,16 +741,21 @@
+        // Fill rdrpass.
+        CPatchRdrPass   pass;
+        // The diffuse part for a tile is inevitable.
+-       if(tile)
+-               pass.TextureDiffuse= findTileTexture(TileBank.getAbsPath()+tile->getRelativeFileName(CTile::diffuse));
+-       else
++       if(tile) {
++               textName= tile->getRelativeFileName (CTile::diffuse);
++               if(textName!="")
++                       pass.TextureDiffuse= findTileTexture(TileBank.getAbsPath()+textName);
++       } else {
+                pass.TextureDiffuse= new CTextureCross;
++        }
+        if(tile)
+        {
+                textName= tile->getRelativeFileName (CTile::alpha);
+                if(textName!="")
+                        pass.TextureAlpha= findTileTexture(TileBank.getAbsPath()+textName);
+-       }
++       } else {
++                pass.TextureAlpha= new CTextureCross;
++        }
+ 
+ 
+        // Fill tileInfo.
+
+As he said, this is not an actuall fix, merely a way to cover up the
+problem.  This will probably make sense to someone there and in the
+mean time I can learn about the rest of this system.
+
+Woo hoo!
+
+-- 
+Robert de Forest      " meetings, n.:
+System Administrator         A place where minutes are kept 
+Got.net                                and hours are lost."
+<robert@got.net>                    -- login fortune
+
+
+
+ + + + +
+

+ -- cgit v1.2.1