git » fp-git.git » commit c5545da

starting the source re-structuring

author ecalot
2006-02-17 01:18:20 UTC
committer ecalot
2006-02-17 01:18:20 UTC
parent 57128d2874293e5358ea829923163e5ae10e8059

starting the source re-structuring

PR/src/include/binary.h +43 -0
PR/src/include/dat.h +1 -0

diff --git a/PR/src/include/binary.h b/PR/src/include/binary.h
new file mode 100644
index 0000000..2c97f25
--- /dev/null
+++ b/PR/src/include/binary.h
@@ -0,0 +1,43 @@
+/*  Princed V3 - Prince of Persia Level Editor for PC Version
+    Copyright (C) 2003 Princed Development Team
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    The authors of this program may be contacted at http://forum.princed.com.ar
+*/
+
+/*
+binary.h: Princed Resources : Memory handling & comparison prototypes
+\xaf\xaf\xaf\xaf\xaf\xaf\xaf\xaf
+ Copyright 2006 Princed Development Team
+  Created: 16 Feb 2006
+
+  Author: Enrique Calot <ecalot.cod@princed.com.ar>
+  Version: 1.00 (2006-Feb-13)
+
+ Note:
+  DO NOT remove this copyright notice
+*/
+
+#ifndef _BINARY_H_
+#define _BINARY_H_
+
+typedef struct {
+	unsigned char* data;
+	int size;
+}tBinary;
+
+#endif
+
diff --git a/PR/src/include/dat.h b/PR/src/include/dat.h
index a674837..167ca07 100644
--- a/PR/src/include/dat.h
+++ b/PR/src/include/dat.h
@@ -35,6 +35,7 @@ dat.h: Princed Resources : DAT format library headers
 #define _DAT_H_
 
 #include "reslist.h" /* tResource* */
+#include "binary.h" /* tBinary */
 
 typedef enum {
 	none=0,