]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/command/rpn.qh
Remove SELFPARAM() from .think and .touch
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / command / rpn.qh
index 6ffc5e1cb4e185206bd84abb11f19546e8c81cfb..3c5a8019b2a0cfee52c3ab8e9c500edde24563fa 100644 (file)
@@ -1,10 +1,17 @@
+#ifndef COMMAND_RPN_H
+#define COMMAND_RPN_H
+
 // =========================================================
 //  Declarations for RPN command code, written by divVerent
 //  Last updated: December 28th, 2011
 // =========================================================
 
-#define MAX_RPN_STACK 16
-float rpn_db;
-float rpn_error;
-float rpn_sp;
-string rpn_stack[MAX_RPN_STACK];
\ No newline at end of file
+const int MAX_RPN_STACK = 16;
+int rpn_db;
+int rpn_error;
+int rpn_sp;
+string rpn_stack[MAX_RPN_STACK];
+
+void GenericCommand_rpn(float request, float argc, string command);
+
+#endif