-////////////////////////////////////////////////\r
-//\r
-// package.hpp\r
-// Header for the script stuff\r
-////////////////////////////////////////////////\r
-\r
-#include <vector>\r
-#include <string>\r
-\r
-using namespace std;\r
-\r
-\r
-/* Structs */\r
-\r
-typedef struct\r
-{\r
- string name;\r
- int start, end;\r
-\r
-} SUB;\r
-\r
-typedef struct\r
-{\r
- vector<string> code;\r
- vector<SUB> subs;\r
-\r
-} SCRIPT;\r
-\r
-\r
-/* Prototypes */\r
-\r
-int RPS_Load (SCRIPT** script, const char* path);\r
-int RPS_Execute (SCRIPT* script, const char* function);\r
-int RPS_getVar (const char* name);\r
-void RPS_Clear (SCRIPT* script);\r
-\r
-\r
-/* Callbacks */\r
-\r
-typedef int (*FUNC_PROC)(int, char**); // function callback\r
-\r
-\r
-/* Function table */\r
-\r
-typedef struct\r
-{\r
- char* name;\r
- FUNC_PROC function;\r
-} FUNC_TABLE;\r
-\r
-// very function is listed in there \r
-extern const FUNC_TABLE FuncTable[];\r
-\r
-// count of functions\r
-#define FUNC_COUNT 3\r
-\r
-\r
-/* For the helper-funtions */\r
-\r
-#define STR_NO 0x1;\r
-#define STR_ONLY 0x0;\r
-#define STR_YES 0x2;\r
-\r
-// ^^ I would write down here that they \r
-// mean but I don't know anymore myself :O\r
+////////////////////////////////////////////////
+//
+// package.hpp
+// Header for the script stuff
+////////////////////////////////////////////////
+
+#include <vector>
+#include <string>
+
+using namespace std;
+
+
+/* Structs */
+
+typedef struct
+{
+ string name;
+ int start, end;
+
+} SUB;
+
+typedef struct
+{
+ vector<string> code;
+ vector<SUB> subs;
+
+} SCRIPT;
+
+
+/* Prototypes */
+
+int RPS_Load (SCRIPT** script, const char* path);
+int RPS_Execute (SCRIPT* script, const char* function);
+int RPS_getVar (const char* name);
+void RPS_Clear (SCRIPT* script);
+
+
+/* Callbacks */
+
+typedef int (*FUNC_PROC)(int, char**); // function callback
+
+
+/* Function table */
+
+typedef struct
+{
+ char* name;
+ FUNC_PROC function;
+} FUNC_TABLE;
+
+// very function is listed in there
+extern const FUNC_TABLE FuncTable[];
+
+// count of functions
+#define FUNC_COUNT 3
+
+
+/* For the helper-funtions */
+
+#define STR_NO 0x1;
+#define STR_ONLY 0x0;
+#define STR_YES 0x2;
+
+// ^^ I would write down here that they
+// mean but I don't know anymore myself :O