format: reformat project

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
This commit is contained in:
Vyacheslav Ivanov
2024-08-03 19:53:48 +03:00
committed by Pugemon
parent 736cd175d5
commit bbf33e8e4d
202 changed files with 7389 additions and 5609 deletions
+10 -8
View File
@@ -1,29 +1,31 @@
#ifndef LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_
#define LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_
#include "../../typedefs.hpp"
#include <string>
#include <filesystem>
#include <string>
#include "../../typedefs.hpp"
namespace fs = std::filesystem;
class Hud;
namespace scripting {
extern Hud* hud;
extern Hud *hud;
void on_frontend_init(Hud* hud);
void on_frontend_init(Hud *hud);
void on_frontend_render();
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(const scriptenv &env, const std::string &packid, const fs::path &file);
void load_hud_script(
const scriptenv &env, const std::string &packid, const fs::path &file
);
}
#endif // LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_
#endif // LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_