summaryrefslogtreecommitdiff
path: root/src/ui/command.h
blob: aed4a0f2cbd22bd9164b815f0472d60d710d4fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <the_Foundation/vec2.h>

iBool   equal_Command           (const char *commandWithArgs, const char *command);

int     arg_Command             (const char *); /* arg: */
float   argf_Command            (const char *); /* arg: */
int     argLabel_Command        (const char *, const char *label);
void *  pointer_Command         (const char *); /* ptr: */
void *  pointerLabel_Command    (const char *, const char *label);
iInt2   coord_Command           (const char *);
iInt2   dir_Command             (const char *);

const iString * string_Command      (const char *, const char *label); /* space-delimited */
const char *    suffixPtr_Command   (const char *, const char *label); /* until end-of-command */
iString *       suffix_Command      (const char *, const char *label); /* until end-of-command */