Description: Patches to conform to the D 1.043 language.
Author: Peter De Wachter <pdewacht@gmail.com>
Bug-Debian: http://bugs.debian.org/574315
--- a/src/br/enemy.d
+++ b/src/br/enemy.d
@@ -968,15 +968,15 @@
Vector3 vel;
static Shape sshape;
static float[][] a = [
- [0 ,0.2 ,0 ,-1.0 ,0.8 ,1.0 ,0.9 ,0.7],
- [0 ,0.2 ,0.2 ,0.2 ,0.5 ,0.5 ,0.5 ,0.0]
+ [0.0 ,0.2 ,0 ,-1.0 ,0.8 ,1.0 ,0.9 ,0.7],
+ [0.0 ,0.2 ,0.2 ,0.2 ,0.5 ,0.5 ,0.5 ,0.0]
];
static float[][] b = [
- [0 ,0.4 ,0.8 ,1.2 ,1.0 ,0.6 ,0.2 ,0.0],
- [0 ,0.3 ,0.5 ,0.6 ,0.5 ,0.5 ,0.3 ,0.0]
+ [0.0 ,0.4 ,0.8 ,1.2 ,1.0 ,0.6 ,0.2 ,0.0],
+ [0.0 ,0.3 ,0.5 ,0.6 ,0.5 ,0.5 ,0.3 ,0.0]
];
public this(Vector3 pos ,Vector3 vel){
super(20 ,pos);
--- a/src/br/shapeImpl.d
+++ b/src/br/shapeImpl.d
@@ -13,8 +13,8 @@
];
static float[][] b =
[
- [0 ,0.5 ,0 ],
- [0 ,1.0 ,0 ]
+ [0.0 ,0.5 ,0 ],
+ [0.0 ,1.0 ,0 ]
];
}
@@ -42,7 +42,7 @@
];
static float[][] b =
[
- [0 ,0.5 ,0 ]
+ [0.0 ,0.5 ,0 ]
];
}
@@ -66,7 +66,7 @@
];
static float[][] b =
[
- [0 ,0.5 ,0 ]
+ [0.0 ,0.5 ,0 ]
];
}