rafkill (1.2.2-3.2) build/hulls/hull_weapon_rotate.cpp

Summary

 build/hulls/hull_weapon_rotate.cpp |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

    
download this patch

Patch contents

--- rafkill-1.2.2.orig/build/hulls/hull_weapon_rotate.cpp
+++ rafkill-1.2.2/build/hulls/hull_weapon_rotate.cpp
@@ -0,0 +1,20 @@
+#include "hull_weapon.h"
+#include "hull_weapon_rotate.h"
+#include "ebox.h"
+#include "bitmap.h"
+
+Rotate_WHull::Rotate_WHull( int str, ECollide * ec ):
+HullWeapon( 0, 1, str ) {
+	collide = ec;
+}
+
+
+Rotate_WHull::~Rotate_WHull() {
+	delete collide;
+}
+
+
+void Rotate_WHull::Draw( const Bitmap & who, int x, int y ) {
+	// circlefill( who, x, y, 10, makecol(255,255,255) );
+	who.circleFill( x, y, 10, Bitmap::makeColor(255,255,255) );
+}