@Daniel
Yeah, is that one :) We don't have normal billiard games (there some other old one, pure "billard" on os4depot, but it suck heavy, no sound, no music, dated look, etc). This one (foobillard++), is looks good, plays good, and i almost have no needs to worry about endianes (just in one place, where they load raw sound via fread()).
So, want to deal with all this, as game at least works already over gl4es/ogles/warp3d.
@Daniel,Georg
Yeah, we very close ! With that function, when i come to those entries which crashes before, it didn't now, but that what it bring to console:
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 512x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 512x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 512x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 512x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 256x32)
=== ignoring my_draw_bitmap which would trash: -1,2 25x23 (bm 512x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 512x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 512x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 512x32)
=== ignoring my_draw_bitmap which would trash: -1,0 14x15 (bm 512x32)
That for 4 different places where it crashes before.
And visually, it also start to miss first letters. In some places. See screesnhots:
http://kas1e.mikendezign.com/aos4/gl4 ... obillardplusplus_fix1.jpghttp://kas1e.mikendezign.com/aos4/gl4 ... obillardplusplus_fix2.jpghttp://kas1e.mikendezign.com/aos4/gl4 ... obillardplusplus_fix3.jpgOn first you can see at top of game (no the menu entries itself, but at left top side , pure help-message), there is words "hank you very much" , while should be "Thank you very much". On second one "ypes", but should be "Types". And on third screenshot, this time it miss from menu entry in the world "Yes" first "Y.
When its all buggy , and i just comment out free(textdata) to avoid crashes, all letters are in place (but that of course trash the memory).