mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
debug::Logger
This commit is contained in:
parent
f298d6ef1d
commit
0c411cf227
16 changed files with 233 additions and 51 deletions
26
src/logic/scripting/scripting_hud.h
Normal file
26
src/logic/scripting/scripting_hud.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef LOGIC_SCRIPTING_SCRIPTING_HUD_H_
|
||||
#define LOGIC_SCRIPTING_SCRIPTING_HUD_H_
|
||||
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
class Hud;
|
||||
|
||||
namespace scripting {
|
||||
extern Hud* hud;
|
||||
|
||||
void on_frontend_init(Hud* hud);
|
||||
void on_frontend_close();
|
||||
|
||||
/**
|
||||
* Load package-specific hud script
|
||||
* @param env environment id
|
||||
* @param packid content-pack id
|
||||
* @param file script file path
|
||||
*/
|
||||
void load_hud_script(int env, std::string packid, fs::path file);
|
||||
}
|
||||
|
||||
#endif // LOGIC_SCRIPTING_SCRIPTING_HUD_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue