50 #include "objwriter.h" |
50 #include "objwriter.h" |
51 #include "events.h" |
51 #include "events.h" |
52 #include "commands.h" |
52 #include "commands.h" |
53 #include "stringtable.h" |
53 #include "stringtable.h" |
54 #include "variables.h" |
54 #include "variables.h" |
|
55 #include "array.h" |
55 |
56 |
56 #include "bots.h" |
57 #include "bots.h" |
57 #include "botcommands.h" |
58 #include "botcommands.h" |
58 |
59 |
|
60 // List of keywords |
59 const char* g_Keywords[] = { |
61 const char* g_Keywords[] = { |
60 "break", |
62 "break", |
61 "case", |
63 "case", |
|
64 "continue", |
62 "default", |
65 "default", |
63 "do", |
66 "do", |
64 "else", |
67 "else", |
65 "event", |
68 "event", |
66 "for", |
69 "for", |
74 "var" |
77 "var" |
75 "while", |
78 "while", |
76 |
79 |
77 // These ones aren't implemented yet but I plan to do so, thus they are |
80 // These ones aren't implemented yet but I plan to do so, thus they are |
78 // reserved. Also serves as a to-do list of sorts for me. >:F |
81 // reserved. Also serves as a to-do list of sorts for me. >:F |
79 "continue", |
|
80 "enum", // Would enum actually be useful? I think so. |
82 "enum", // Would enum actually be useful? I think so. |
81 "func", // Would function support need external support from zandronum? |
83 "func", // Would function support need external support from zandronum? |
82 "return", |
84 "return", |
83 }; |
85 }; |
84 |
86 |