Link:
ArmagetronAd current CVS 20051116 (Full install zipped)
Compiled Version with DLLs etc. is attached. Woot I compiled ArmagetronAd for Windows.
I had to fix an internal compiler error though.
The compiler fails to inline the "rotate(eCoord,REAL)" method in gCycle.cpp (see fix below). I hope this does not happen with .NET 2005, but it is said to happen only in release mode.
Code: Select all
const REAL r1 = 2*verletSpeed_*animts/.43;
const REAL r2 = 2*verletSpeed_*animts/.73;
const REAL x=rotationFrontWheel.x;
rotationFrontWheel.x+=rotationFrontWheel.y*r1;
rotationFrontWheel.y-=x*r1;
rotationFrontWheel=rotationFrontWheel*(1/sqrt(rotationFrontWheel.NormSquared()));
const REAL y=rotationRearWheel.x;
rotationRearWheel.x+=rotationRearWheel.y*r2;
rotationRearWheel.y-=y*r2;
rotationRearWheel=rotationRearWheel*(1/sqrt(rotationRearWheel.NormSquared()));
// rotate(rotationFrontWheel,2*verletSpeed_*animts/.43);
// rotate(rotationRearWheel,2*verletSpeed_*animts/.73);