diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-04-06 00:26:28 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-04-06 00:26:28 +0200 |
commit | 5659a1baba94d10f76e72c8bbb9fa7576ab4f19b (patch) | |
tree | 1f096951e2233dc897c5c083eac3a700fa27ecca /src/console.h | |
parent | c7acaee6651a84ef9102b29350c37803c8f435a9 (diff) |
Proper console, run-time sim editing.
Diffstat (limited to 'src/console.h')
-rw-r--r-- | src/console.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/console.h b/src/console.h index 2204ce9..5086906 100644 --- a/src/console.h +++ b/src/console.h @@ -1,6 +1,13 @@ #include "common.h" #include "physics.h" -int con_init(void); +int con_init(phy_sim *sim); void con_quit(void); -int con_thread_f(phy_sim *sim); + +void con_var_set(char *name, char *value); +char *con_var_get(char *name); +float con_var_get_float(char *name); +size_t con_var_get_size(char *name); + +void con_exec(char *str, itc_chan *feedback); +#define CMD_CON_FEEDBACK 1337 |