summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorjohannes <johannes.herman@gmail.com>2024-04-14 19:47:39 +0200
committerjohannes <johannes.herman@gmail.com>2024-04-14 19:47:39 +0200
commit4b9c34fa745ef22304899dfaf52b6a10c24cb86c (patch)
treeeed52d404ce6da0a27fa6bb6155e996527ec417c /inc
parent8de23299d96c642ec39ec73d12322cc78865136c (diff)
removed old command system
Diffstat (limited to 'inc')
-rw-r--r--inc/commands.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/inc/commands.h b/inc/commands.h
index b48b28c..ef57009 100644
--- a/inc/commands.h
+++ b/inc/commands.h
@@ -3,15 +3,6 @@
#include "demo.h"
-typedef struct
-{
- char cmdtype;
- char settype;
- int id;
- char from[24];
- char to[24];
-} cmdinput;
-
int setnamebyid(int id, char *newname, demo *demo);
int setnamebyname(char *oldname, char *newname, demo *demo);
@@ -26,6 +17,4 @@ int changemap(FILE *map, char *mapname, demo *demo);
/* Writes the map in demo to out */
int exportmap(FILE *out, demo *demo);
-void runcommand(cmdinput *cmd, demo *demo);
-
#endif // COMMANDS_H