@penguinflyer5234
Not sure that i understand what you mean about "those GL_* not looks right".Do you mean that errors ? Related to OpenGL ES, dunno what is that, but i know that our MiniGL its just almost all usable fucntions from 1.3 opengl.
@bgbirdsey
First, you need PhysFS > 2.0 or there is a bug that will cause the virtual directory system to be unable to be changed once loaded up (i.e. you can't get it to load another module properly).
That only about loading of game modules ? I mean menu and alt should works fine even with 1.1 version of PhysFS ? (if so, then i should for first fix all that heavy problems, and then port new version of PhyFs).
Then, you need to track down those gl errors. I think they are there because it is not loading the font bitmap properly. If you disable the function that displays those fonts, then they may go away.
Can it be that these errors happenes because i just comment out those fucntions which we not have in our opengl ? I.e. maybe it uses not only for debug printf-information , but also maybe game code itself refer to it somethere ? (and because of it some worng pointer => crashes and errors) ?
I also tryed to disable those fucntions by "return" at begining:
font_bmp.c / font_bmp_load_vfs();
font_bmp.c / font_bmp_length_of_word();
graphics.c / draw_one_font();
As you point before, and then, game start , but in console its a bit different for now:
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("font_ttf.c" - 117)- invalid operation
glGenTextures ("font_ttf.c" - 117)- invalid operation
glGenTextures ("font_ttf.c" - 117)- invalid operation
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("extensions/SDL_GL_extensions.c" - 411)- invalid operation
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("extensions/SDL_GL_extensions.c" - 411)- invalid operation
glGenTextures ("extensions/SDL_GL_extensions.c" - 411)- invalid operation
glGenTextures ("extensions/SDL_GL_extensions.c" - 411)- invalid operation
glGenTextures ("extensions/SDL_GL_extensions.c" - 411)- invalid operation
Then crash, but i see game is starts, music plays, menu works, and data are discorted in some place.
Maybe it loading of fonts in general at all ? (bmp + ttf) ? Can you please say what functions i should "return" for save-disabling of ttf font loading ? I trying for now to disable those:
fnt_font.c / fnt_loadFont();
fnt_font.c / fnt_print_raw();
fnt_font.c / fnt_vprintf();
fnt_font.c / fnt_drawText_raw();
fnt_font.c / fnt_drawText();
fnt_font.c / fnt_getTextSize();
fnt_font.c / fnt_drawTextBox();
fnt_font.c / fnt_getTextBoxSize();
In other words all functions in the fnt_font.c, expect fnt_init(); and i have programm start/exit, and in log at end:
FATAL ERROR: Could not load the menu font! ("mp_data/Negatori.ttf")
INFO: memory_cleanUp() - Attempting to clean up loaded things in memory... INFO: Resetting module data
And in console (before exit) as usual many strings of that kind:
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
glGenTextures ("extensions/ogl_texture.c" - 141)- invalid operation
Imho, that say that is not related to fonts , but to any texture at all ?
Also, maybe that will help for us: i see in code some __UNIX__ ifdefs, but we (on aos4) have __amigaos4__ define, so maybe in some places of code its necessary to change ?
Thanks a lot for help.