mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
misc hud-related updates
This commit is contained in:
parent
1f3d1e2640
commit
11bb9e5926
23 changed files with 400 additions and 165 deletions
40
src/logic/scripting/scripting_functional.h
Normal file
40
src/logic/scripting/scripting_functional.h
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#ifndef LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_H_
|
||||
#define LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_H_
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <string>
|
||||
#include "../../delegates.h"
|
||||
|
||||
namespace scripting {
|
||||
runnable create_runnable(
|
||||
int env,
|
||||
const std::string& src,
|
||||
const std::string& file="<string>"
|
||||
);
|
||||
|
||||
wstringconsumer create_wstring_consumer(
|
||||
int env,
|
||||
const std::string& src,
|
||||
const std::string& file="<string>"
|
||||
);
|
||||
|
||||
doubleconsumer create_number_consumer(
|
||||
int env,
|
||||
const std::string& src,
|
||||
const std::string& file="<string>"
|
||||
);
|
||||
|
||||
int_array_consumer create_int_array_consumer(
|
||||
int env,
|
||||
const std::string& src,
|
||||
const std::string& file="<string>"
|
||||
);
|
||||
|
||||
vec2supplier create_vec2_supplier(
|
||||
int env,
|
||||
const std::string& src,
|
||||
const std::string& file="<string>"
|
||||
);
|
||||
}
|
||||
|
||||
#endif // LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue