X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fcommand%2Frpn.qh;h=3c5a8019b2a0cfee52c3ab8e9c500edde24563fa;hb=cf1edea8694548556934b5b05f526bc192f576cb;hp=6ffc5e1cb4e185206bd84abb11f19546e8c81cfb;hpb=a7b24450e4c7ca75636df1375d01d2266bd00c8c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/command/rpn.qh b/qcsrc/common/command/rpn.qh index 6ffc5e1cb..3c5a8019b 100644 --- a/qcsrc/common/command/rpn.qh +++ b/qcsrc/common/command/rpn.qh @@ -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