Author: pdewacht-guest Date: 2013-05-21 19:49:03 +0000 (Tue, 21 May 2013) New Revision: 14121
Modified: packages/trunk/gunroar/debian/patches/dlang_v2.patch Log: gunroar: fixes for GDC 4.8 Modified: packages/trunk/gunroar/debian/patches/dlang_v2.patch =================================================================== --- packages/trunk/gunroar/debian/patches/dlang_v2.patch 2013-05-21 19:45:11 UTC (rev 14120) +++ packages/trunk/gunroar/debian/patches/dlang_v2.patch 2013-05-21 19:49:03 UTC (rev 14121) @@ -1454,7 +1454,7 @@ struct Target { Vector pos; int flyingTo; -@@ -207,7 +204,7 @@ +@@ -207,14 +204,14 @@ int targetIdx; int targetNum; @@ -1463,6 +1463,14 @@ assert(targetY <= TARGET_Y_MAX && targetY >= TARGET_Y_MIN); assert(pos.x < 15 && pos.x > -15); assert(pos.y < 20 && pos.y > -20); + assert(vel.x < 10 && vel.x > -10); + assert(vel.y < 10 && vel.y > -10); + assert(alpha >= 0 && alpha <= 1); +- foreach (Target t; target) { ++ foreach (const(Target) t; target) { + assert(t.pos.x < 15 && t.pos.x > -15); + assert(t.pos.y < 20 && t.pos.y > -20); + assert(t.initialVelRatio >= 0); @@ -224,12 +221,8 @@ assert(targetNum >= 0 && targetNum <= 4); } @@ -1606,6 +1614,20 @@ assert(wakePos.x < 15 && wakePos.x > -15); assert(wakePos.y < 60 && wakePos.y > -40); assert(size > 0 && size < 20); +@@ -46,11 +46,11 @@ + assert(r >= 0 && r <= 1); + assert(g >= 0 && g <= 1); + assert(b >= 0 && b <= 1); +- foreach (Vector p; pillarPos) { ++ foreach (const(Vector) p; pillarPos) { + assert(p.x < 20 && p.x > -20); + assert(p.y < 20 && p.x > -20); + } +- foreach (Vector p; _pointPos) { ++ foreach (const(Vector) p; _pointPos) { + assert(p.x < 20 && p.x > -20); + assert(p.y < 20 && p.x > -20); + } @@ -58,17 +58,21 @@ assert(d <>= 0); } _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits