- `t_`: thinker related
- `r_`: rendering
- `n_`: network
-- `m_`: macro command language
+- `l_`: scripting command language
- `c_`: client-side code
- `s_`: server side code
- `u_`: system utility code
--- /dev/null
+#include "u_lsl.h"
+#include "m_mem.h"
+
+struct l_lsl_vm l_lsl_vm_init() {
+ struct l_lsl_vm v;
+ u_memset(&v, 0, sizeof(v));
+
+ return v;
+}
+
+void l_lsl_vm_free(struct l_lsl_vm *vm) {
+}
--- /dev/null
+#ifndef L_LSL_H__
+#define L_LSL_H__
+
+
+/**
+ * lrts scripting language
+ * in-game scripting interpreter
+ */
+
+enum l_lsl_flags {
+ L_LSL_F_NONE = 0
+};
+
+struct l_lsl_vm {
+ enum l_lsl_flags flags;
+};
+
+struct l_lsl_vm l_lsl_vm_init();
+
+void l_lsl_vm_free(struct l_lsl_vm *vm);
+
+#endif
#include "i_input.c"
#include "u_time.c"
#include "t_update.c"
+#include "l_lsl.h"
#include "u_debug.c"
#endif
#include "tests/t_arena.c"
#include "tests/t_math.c"
#include "tests/t_command.c"
+#include "tests/t_lsl.c"
#endif
T_TESTCASE("command-push", test_t_command_push);
+ T_TESTCASE("lsl", t_test_lsl);
+
T_TESTEND("lrts test");
p_io_finish();
--- /dev/null
+
+int t_test_lsl() {
+ T_ASSERT(1, (""));
+ return 0;
+}