mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
A few initialization cleanups
This commit is contained in:
parent
aa3cf400e2
commit
f105bc8dc2
4 changed files with 18 additions and 6 deletions
|
@ -28,6 +28,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
class Client;
|
||||
class LocalPlayer;
|
||||
class Camera;
|
||||
class Minimap;
|
||||
|
||||
class ClientScripting:
|
||||
virtual public ScriptApiBase,
|
||||
public ScriptApiSecurity,
|
||||
|
@ -38,6 +40,7 @@ public:
|
|||
ClientScripting(Client *client);
|
||||
void on_client_ready(LocalPlayer *localplayer);
|
||||
void on_camera_ready(Camera *camera);
|
||||
void on_minimap_ready(Minimap *minimap);
|
||||
|
||||
private:
|
||||
virtual void InitializeModApi(lua_State *L, int top);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue