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

ModeNameSize
-rw-r--r--.gitignore4L
-rw-r--r--Makefile36L
-rw-r--r--README68L
-rw-r--r--TASK.md150L
-rw-r--r--actions/attack_melee.c26L
-rw-r--r--actions/attack_melee.h6L
-rw-r--r--actions/attack_ranged.c30L
-rw-r--r--actions/attack_ranged.h6L
-rw-r--r--actions/movement.c26L
-rw-r--r--actions/movement.h6L
-rw-r--r--commands/CREATE_MAP.c17L
-rw-r--r--commands/MARCH.c23L
-rw-r--r--commands/SPAWN_HUNTER.c46L
-rw-r--r--commands/SPAWN_SWORDSMAN.c40L
-rw-r--r--commands/_registry.h14L
-rwxr-xr-xcommands/gen_registry.sh25L
-rw-r--r--commands_example.txt14L
-rw-r--r--components/actions.h14L
-rw-r--r--components/health.h5L
-rw-r--r--components/melee.h5L
-rw-r--r--components/movement_target.h6L
-rwxr-xr-xcomponents/populate.sh20L
-rw-r--r--components/position.h6L
-rw-r--r--components/ranged.h6L
-rw-r--r--core/command.h15L
-rw-r--r--core/ecs/component.h14L
-rw-r--r--core/ecs/entity.c29L
-rw-r--r--core/ecs/entity.h13L
-rw-r--r--core/ecs/system.h11L
-rw-r--r--core/map.c9L
-rw-r--r--core/map.h8L
-rw-r--r--core/parser.c46L
-rw-r--r--core/parser.h3L
-rw-r--r--core/world.c33L
-rw-r--r--core/world.h19L
-rw-r--r--main.c45L
-rw-r--r--stb_ds.h1895L
-rw-r--r--systems/actions.c24L
-rw-r--r--systems/actions.h5L
-rw-r--r--systems/death.c20L
-rw-r--r--systems/death.h5L