ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/commands.C
(Generate patch)

Comparing deliantra/server/server/commands.C (file contents):
Revision 1.75 by root, Sat Nov 17 23:40:03 2018 UTC vs.
Revision 1.76 by root, Sat Dec 1 20:22:13 2018 UTC

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};
95static const int CommandsSize = array_length (Commands); 95static const int CommandsSize = ecb_array_length (Commands);
96 96
97/* 97/*
98 * Wizard commands (for both) 98 * Wizard commands (for both)
99 */ 99 */
100static CommArray_s WizCommands[] = { 100static 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};
127static const int WizCommandsSize = array_length (WizCommands); 127static const int WizCommandsSize = ecb_array_length (WizCommands);
128 128
129static int 129static int
130compare_A (const void *a, const void *b) 130compare_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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines