aboutsummaryrefslogtreecommitdiffstats
path: root/games/irrlamb
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-01-15 18:04:10 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-01-15 18:04:10 +0800
commit3f9dbe5bd4c6fd7b4de085833910d0d39ae22b7a (patch)
treed6ec667d735b07c559532ba498334fa1ce2226e1 /games/irrlamb
parent6c054defee74ea5b8ab64c28e34b6504d7b53178 (diff)
downloadfreebsd-ports-gnome-3f9dbe5bd4c6fd7b4de085833910d0d39ae22b7a.tar.gz
freebsd-ports-gnome-3f9dbe5bd4c6fd7b4de085833910d0d39ae22b7a.tar.zst
freebsd-ports-gnome-3f9dbe5bd4c6fd7b4de085833910d0d39ae22b7a.zip
- Use pre-REINPLACE patch source, remove my homedir from patch
Diffstat (limited to 'games/irrlamb')
-rw-r--r--games/irrlamb/files/patch-src-objects-orb.cpp2
-rw-r--r--games/irrlamb/files/patch-src-objects-player.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/games/irrlamb/files/patch-src-objects-orb.cpp b/games/irrlamb/files/patch-src-objects-orb.cpp
index 5c1210679e88..656c75935884 100644
--- a/games/irrlamb/files/patch-src-objects-orb.cpp
+++ b/games/irrlamb/files/patch-src-objects-orb.cpp
@@ -2,7 +2,7 @@
+++ src/objects/orb.cpp 2013-12-19 22:19:55.234053221 +0400
@@ -40,7 +40,7 @@
else
- Node->setMaterialTexture(0, irrDriver->getTexture("/home/amdmi3/projects/freebsd/ports/games/irrlamb/prefix/share/irrlamb/textures/orb_outer0.png"));
+ Node->setMaterialTexture(0, irrDriver->getTexture("textures/orb_outer0.png"));
Node->setMaterialType(EMT_ONETEXTURE_BLEND);
- Node->getMaterial(0).MaterialTypeParam = pack_texureBlendFunc(EBF_ONE, EBF_ONE);
+ Node->getMaterial(0).MaterialTypeParam = pack_textureBlendFunc(EBF_ONE, EBF_ONE);
diff --git a/games/irrlamb/files/patch-src-objects-player.cpp b/games/irrlamb/files/patch-src-objects-player.cpp
index 8ea456c81a08..14ed4f42fd3d 100644
--- a/games/irrlamb/files/patch-src-objects-player.cpp
+++ b/games/irrlamb/files/patch-src-objects-player.cpp
@@ -11,7 +11,7 @@
//Light = irrScene->addLightSceneNode(0, core::vector3df(0.0f, 0.0f, 0.0f), video::SColorf(0.2f, 0.2f, 1.0f), 20.0f);
@@ -57,7 +57,7 @@
InnerNode->setMaterialFlag(EMF_ZBUFFER, false);
- InnerNode->setMaterialTexture(0, irrDriver->getTexture("/home/amdmi3/projects/freebsd/ports/games/irrlamb/prefix/share/irrlamb/textures/player_glow0.png"));
+ InnerNode->setMaterialTexture(0, irrDriver->getTexture("textures/player_glow0.png"));
InnerNode->setMaterialType(EMT_ONETEXTURE_BLEND);
- InnerNode->getMaterial(0).MaterialTypeParam = pack_texureBlendFunc(EBF_ONE, EBF_ONE);
+ InnerNode->getMaterial(0).MaterialTypeParam = pack_textureBlendFunc(EBF_ONE, EBF_ONE);