Blob Blame History Raw
--- include/utility.h	2008-02-14 19:22:46.000000000 +0100
+++ include/utility.h	2008-02-14 19:22:46.000000000 +0100
@@ -100,7 +100,7 @@ public:
 	void SetBox(float x1, float y1, float x2, float y2, const TEXTURE_HANDLE * const texid, int texsize, float opacity);
 	void SetButton(float x1, float y1, float x2, float y2, float sidewidth, TEXTURE_HANDLE * texid, float opacity);
 	void SetEllipse( float center_x, float center_y, float radius_x, float radius_y, float color_r, float color_g, float color_b, float opacity );
-	void SetQuad( float x1, float y2, float x2, float y2, float x3, float y3, float x4, float y4, TEXTURE_HANDLE * texid, float opacity);
+	void SetQuad( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, TEXTURE_HANDLE * texid, float opacity);
 	void SetRotation(float r) {rotation=r;}
 	
 	void SetDraw(const bool newdraw) {draw=newdraw;}
--- include/serialization.h	2008-02-14 19:30:02.000000000 +0100
+++ include/serialization.h	2008-02-14 19:30:02.000000000 +0100
@@ -8,6 +8,7 @@
 #include <sstream>
 #include <fstream>
 #include <algorithm>
+#include <cstring>
 
 #include "simpletree.h"
 
@@ -23,6 +24,7 @@ using std::ostream;
 using std::ifstream;
 using std::ofstream;
 using std::pair;
+using std::memcmp;
 
 #define _GENERATEUID_(ptr,uidoutput) unsigned long long uidoutput = (size_t)ptr