sw-battle-test-c

Interesting test task in C instead of C++
git clone git://bsandro.tech/sw-battle-test-c
Log | Files | Refs | README

_registry.h (478B)


      1 #pragma once
      2 /* DO NOT MODIFY! REGENERATED WITH gen_registry.sh */
      3 #include "core/command.h"
      4 Command_Func cmd_create_map;
      5 Command_Func cmd_march;
      6 Command_Func cmd_spawn_hunter;
      7 Command_Func cmd_spawn_swordsman;
      8 static const Command COMMANDS[] = {
      9     { "CREATE_MAP", cmd_create_map },
     10     { "MARCH", cmd_march },
     11     { "SPAWN_HUNTER", cmd_spawn_hunter },
     12     { "SPAWN_SWORDSMAN", cmd_spawn_swordsman },
     13 };
     14 static const int COMMANDS_COUNT = (sizeof(COMMANDS) / sizeof(Command));