@babyjeans Thanks for this amazing extension, it's so great to have dear imgui available for GameMaker!
I was lucky enough to get a beta key for 2.3 the other day, just wanted to give a heads-up of some errors when using this extension on 2.3, this is what I got when I tried to compile:
Code:
Script: __extrousrdrawlist_script_index at line 7 : error inside gml_pragma string, cannot use function/script name for a variable, using "rousr_drawlist_definitions"
Script: __extrousrui_script_index at line 7 : error inside gml_pragma string, cannot use function/script name for a variable, using "rousr_ui_definitions"
Script: __extrousrgeneric_script_index at line 7 : error inside gml_pragma string, cannot use function/script name for a variable, using "rousr_generic_definitions"
Script: __extrousrds_script_index at line 7 : error inside gml_pragma string, cannot use function/script name for a variable, using "rousr_ds_definitions"
So I couldn't run my game editor on 2.3.
After some experimenting I found a way to get it working, but not sure if this breaks anything else yet.
===== HACKY FIX BELOW ??!! ======
I managed to get it working by deleting the reference to the errors above in the very last line of each file below:
extRousrDs.gml
extRousrGeneric.gml
extRousrUi.gml
extRousrDrawlist.gml
There is a gml_pragma() at the end of these files, and by deleting the part that was causing the error, the game compiles now.
The part to delete looks similar to this, the exact wording will differ depending on the file :
global.__extrousrui_script_index_lookup[@ rousr_ui_definitions] = asset_get_index(\"rousr_ui_definitions\");
Don't try this at home folks, not sure what side-effects if any there will be, but seems to be working for now.
==========================