summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-27 13:28:51 +0000
committerepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-27 13:28:51 +0000
commitc18f438dd8363b0abee5fdb42336f9e240699a97 (patch)
tree67af7777599ab1d965160934601936a965408e56 /src/map/script.h
parent10fb201916b42c7502e6557a6fb0afb5a6ab059f (diff)
downloadhercules-c18f438dd8363b0abee5fdb42336f9e240699a97.tar.gz
hercules-c18f438dd8363b0abee5fdb42336f9e240699a97.tar.bz2
hercules-c18f438dd8363b0abee5fdb42336f9e240699a97.tar.xz
hercules-c18f438dd8363b0abee5fdb42336f9e240699a97.zip
- Added initial support for direct variable assignment (allows assigning values to variables without the use of 'set')
- Note: the set; function is still required to be defined in the source git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15982 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 4815a438d..9f8752aff 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -70,7 +70,9 @@ typedef enum c_op {
C_LNOT, // ! a
C_NOT, // ~ a
C_R_SHIFT, // a >> b
- C_L_SHIFT // a << b
+ C_L_SHIFT, // a << b
+ C_ADD_PP, // ++a
+ C_SUB_PP, // --a
} c_op;
struct script_retinfo {