- Updated .gitignore to include new build and output directories for SDK packaging. - Modified CMakeLists.txt to include installation script for SDK. - Enhanced Makefile to support new SDK targets for various platforms. - Improved documentation to reflect new shader capabilities and 3D model support. - Added new shader functions and updated rendering systems to utilize custom shaders. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
511 B
Plaintext
19 lines
511 B
Plaintext
// Quick plugin load smoke (no window — may still init SDL via modules).
|
|
// Prefer running under example/ with a one-off script if needed.
|
|
|
|
function file_exists(path) {
|
|
try { file(path, "r").close(); return true; } catch (e) { return false; }
|
|
}
|
|
|
|
print("plugins smoke\n");
|
|
local plugins = eve.Plugins();
|
|
local path = "build/hello_plugin.dylib";
|
|
try {
|
|
plugins.load(path);
|
|
local hi = eve.HelloPlugin();
|
|
print(hi.greet() + "\n");
|
|
print("OK\n");
|
|
} catch (e) {
|
|
print("FAIL: " + e + "\n");
|
|
}
|