johannes-fetz / joengine

Jo Engine is an open source 2D and 3D game engine for the Sega Saturn written in C under MIT license
http://jo-engine.org/
MIT License
205 stars 32 forks source link

Compilation errors without JO_COMPILE_USING_SGL #65

Open iequalshane opened 2 years ago

iequalshane commented 2 years ago

It looks like the engine doesn't currently compile if SGL is disabled. I had quite a few errors and a lot of VDP2 code calls sl* functions without an ifdef and alternative definition. Also, removing JO_COMPILE_USING_SGL from a project still ends up defining it because the code will set it to 1 if it doesn't exist.

johannes-fetz commented 1 year ago

I fix the compilation, but this option is broken unfortunately. I don't know when I could finish the implementation without SGL. However, the primary goal of the Jo-Engine is to make the platform accessible for developers and not to recode Sega libraries.