isle-portable/ISLE
AllMeatball b1dfbe9925
isleapp: Show error dialog if NOCD.si or ISLE.si fails to load (#95)
* isleapp: Show error dialog if NOCD.si fails to load

* isleapp: Return bool in IsleApp::Tick

foxtacles recommended me to return a boolean for if tick failed
instead of just setting `g_closed` and setting `g_closeResult`
to set the return value of the program exit.

I also think this is the better solution. since a similar solution
was used in LoadConfig.

* isleapp: Better error logs & return false in places

foxtacles recommended to use SDL's logging api to show detailed errors
and using false in two places where it should exit because of failure.

This commit adds these two things.

* isleapp: Add missing error dialog when ISLE.si fails

* isleapp: Add missing error dialog when ISLE.si fails

* isleapp: Remove weird duplicate message box

* Move error dialog to loop

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-16 23:08:45 +02:00
..
res isleapp: Add icon upon window creation (#85) 2025-05-15 01:18:41 +02:00
isleapp.cpp isleapp: Show error dialog if NOCD.si or ISLE.si fails to load (#95) 2025-05-16 23:08:45 +02:00
isleapp.h isleapp: Show error dialog if NOCD.si or ISLE.si fails to load (#95) 2025-05-16 23:08:45 +02:00
library_msvc.h Add more annotations to ISLE (#990) 2024-06-05 12:31:23 +02:00
library_smartheap.h Small update to datacmp and roadmap (#1048) 2024-06-28 14:58:35 -07:00