@@ -11,7 +11,7 @@ Schuss::Schuss( Vec2< float > pos, Vec2< float > speed )
}
// nicht constant
-void Schuss::render( Mat3< float > &kamMat, Bild &zRObj )
+void Schuss::render( Mat3< float > &kamMat, Bild &zRObj, const char *kamName )
{
zRObj.drawLinie( (Punkt)(kamMat * position), (Punkt)( kamMat * (position - speed / 10) ), 0xFFFFFFFF );
@@ -13,7 +13,7 @@ public:
// Konstruktor
Schuss( Vec2< float > pos, Vec2< float > speed );
- void render( Mat3< float > &kamMat, Bild &zRObj ) override;
+ void render( Mat3< float > &kamMat, Bild &zRObj, const char *kamName ) override;
// constant
Rect2< float > getBoundingBox() const override;
void save( Datei *zD ) const;
@@ -1,4 +1,22 @@
chcp 1252
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "asteroids.sln" /p:configuration=release /p:platform=win32
+:DebugWin64
+SET RETURN=DebugWin64
+SET NEXT=ReleaseWin64
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "asteroids.sln" /p:configuration=debug /p:platform=x64
+if errorlevel 1 GOTO Error
+:ReleaseWin64
+SET RETURN=ReleaseWin64
+SET NEXT=ReleaseWin32
"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "asteroids.sln" /p:configuration=release /p:platform=x64
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "asteroids.sln" /p:configuration=debug /p:platform=x64
+:ReleaseWin32
+SET RETURN=ReleaseWin32
+SET NEXT=END
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "asteroids.sln" /p:configuration=release /p:platform=win32
+GOTO End
+:Error
+SET /p redo=Nochmal versuchen?(j/n):
+IF /I '%redo%' equ 'j' GOTO %RETURN%
+GOTO %NEXT%
+:End