… | |
… | |
90 | {"run" , command_run , 0.0}, |
90 | {"run" , command_run , 0.0}, |
91 | {"run_stop" , command_run_stop , 0.0}, |
91 | {"run_stop" , command_run_stop , 0.0}, |
92 | {"fire" , command_fire , 0.0}, |
92 | {"fire" , command_fire , 0.0}, |
93 | {"fire_stop", command_fire_stop, 0.0}, |
93 | {"fire_stop", command_fire_stop, 0.0}, |
94 | }; |
94 | }; |
95 | static const int CommandsSize = array_length (Commands); |
95 | static const int CommandsSize = ecb_array_length (Commands); |
96 | |
96 | |
97 | /* |
97 | /* |
98 | * Wizard commands (for both) |
98 | * Wizard commands (for both) |
99 | */ |
99 | */ |
100 | static CommArray_s WizCommands[] = { |
100 | static CommArray_s WizCommands[] = { |
… | |
… | |
122 | {"stack_push", command_stack_push, 0.0}, |
122 | {"stack_push", command_stack_push, 0.0}, |
123 | {"stats", command_stats, 0.0}, |
123 | {"stats", command_stats, 0.0}, |
124 | {"summon", command_summon, 0.0}, |
124 | {"summon", command_summon, 0.0}, |
125 | //{"overlay_save", command_save_overlay, 0.0}, |
125 | //{"overlay_save", command_save_overlay, 0.0}, |
126 | }; |
126 | }; |
127 | static const int WizCommandsSize = array_length (WizCommands); |
127 | static const int WizCommandsSize = ecb_array_length (WizCommands); |
128 | |
128 | |
129 | static int |
129 | static int |
130 | compare_A (const void *a, const void *b) |
130 | compare_A (const void *a, const void *b) |
131 | { |
131 | { |
132 | return strcmp (((CommArray_s *)a)->name, ((CommArray_s *)b)->name); |
132 | return strcmp (((CommArray_s *)a)->name, ((CommArray_s *)b)->name); |