ext_easy impl + demo + fixes

This commit is contained in:
Hunter 2024-09-29 20:21:39 -04:00
parent 1036d97ec6
commit ec26aa89e7
33 changed files with 2796 additions and 40 deletions

View file

@ -4,6 +4,7 @@
#define GRBC_EXT_pkg_config_NAME "GRBC_EXT_pkg_config"
#define GRBC_EXT_profiles_NAME "GRBC_EXT_profiles"
#define GRBC_EXT_easy_NAME "GRBC_EXT_easy"
typedef void (*EXT_HookInit)(sol::state &lua);

7
include/grbc/ext_easy.h Normal file
View file

@ -0,0 +1,7 @@
#pragma once
#include "grbc/ext.h"
/**
* Get the grbc easy extension
*/
Extension grbc_easy();

View file

@ -129,6 +129,7 @@ struct ExecutableConfig {
};
struct TaskConfig {
TaskConfig() = default;
TaskConfig(const sol::table &table) {
name = table.get<std::string>("name");
task_id = table.get<std::string>("task_id");