mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
final rename
This commit is contained in:
parent
1ecc608ead
commit
4ac8ea1ab3
14 changed files with 20 additions and 20 deletions
28
src/logic/scripting/scripting_hud.hpp
Normal file
28
src/logic/scripting/scripting_hud.hpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_
|
||||
#define LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_
|
||||
|
||||
#include "../../typedefs.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(scriptenv env, std::string packid, fs::path file);
|
||||
}
|
||||
|
||||
#endif // LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_
|
||||
Loading…
Add table
Add a link
Reference in a new issue