mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-26 06:18:34 +00:00
We can now load lua scripts properly
This commit is contained in:
parent
c57f2db6c0
commit
6386605b97
6 changed files with 73 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
|
||||
#include "helpers.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
|
@ -36,6 +38,8 @@ class LuaManager {
|
|||
void initialize();
|
||||
void initializeThunks();
|
||||
void loadFile(const char* path);
|
||||
void loadString(const std::string& code);
|
||||
|
||||
void reset();
|
||||
void signalEvent(LuaEvent e) {
|
||||
if (haveScript) [[unlikely]] {
|
||||
|
@ -52,6 +56,7 @@ class LuaManager {
|
|||
void close() {}
|
||||
void initialize() {}
|
||||
void loadFile(const char* path) {}
|
||||
void loadString(const std::string& code) {}
|
||||
void reset() {}
|
||||
void signalEvent(LuaEvent e) {}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue