diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2024-10-05 23:49:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-05 15:49:07 -0600 |
| commit | 9cf1f9e1d7a8c365c6cb98fab54cfd40a47573e8 (patch) | |
| tree | faeccca320bb6e857921a2c13f78245d34968f98 /src/main.c | |
| parent | e5f4fddddace5043e45f678bb6de124922e00672 (diff) | |
[Modding] start add wasm integration (#84)
* start add wasm integration
* some test
* some improvement
* try more language
* expend try with python
* update
* half working python
* improve and extend test
* get py2wasm work but not so well
* convert to use in cpp
* start prepare multimodule
* improve a little by using cpp (but still not great)
* Update wasm.cpp
* try ocaml
* add a working example of python with a not complete function
* remove type to be even more curse
* start add a proper mod loader
* allow mod to communicate between
* example of hook
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 4844c8022..7f744a006 100644 --- a/src/main.c +++ b/src/main.c @@ -44,6 +44,7 @@ #include "buffers/gfx_output_buffer.h" #include <bridge/gfxdebuggerbridge.h> #include "enhancements/freecam/freecam.h" +#include "engine/wasm.h" // Declarations (not in this file) void func_80091B78(void); @@ -937,7 +938,6 @@ void game_state_handler(void) { gGamestateNext = ENDING; } #endif - switch (gGamestate) { case 7: game_init_clear_framebuffer(); @@ -965,6 +965,7 @@ void game_state_handler(void) { credits_loop(); break; } + call_render_hook(); } void interrupt_gfx_sptask(void) { |
