mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
[CSM] Add camera API (#5609)
* [CSM] Add camera API roper rebase & squash * Address nerzhul's review
This commit is contained in:
parent
e8b00fdf98
commit
de028fc056
11 changed files with 314 additions and 70 deletions
|
@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
class Client;
|
||||
class LocalPlayer;
|
||||
class Camera;
|
||||
class ClientScripting:
|
||||
virtual public ScriptApiBase,
|
||||
public ScriptApiSecurity,
|
||||
|
@ -36,6 +37,7 @@ class ClientScripting:
|
|||
public:
|
||||
ClientScripting(Client *client);
|
||||
void on_client_ready(LocalPlayer *localplayer);
|
||||
void on_camera_ready(Camera *camera);
|
||||
|
||||
private:
|
||||
virtual void InitializeModApi(lua_State *L, int top);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue