[Ohrrpgce] SVN: teeemcee/7593 FB 1.04 support 7/7: SDL headers were replaced with very different ones.

Ralph Versteegen teeemcee at gmail.com
Sun Dec 20 07:37:18 PST 2015


Ugh, I think it took me over 15 hours of work to add support for FB 1.04,
including getting working builds of FB on Linux and Windows, and to test
all the backends on both. I don't think we've had this much trouble since
the likes of FB 0.16.

I'd neglected to read the FB changelog for about the last 7 releases, but
now I see there's some really great stuff in there! For example, you can
now put arrays in structs!

Also, I forgot to mention that gfx_alleg doesn't compile, it throws a
_install_allegro_version_check not found linker error on Windows, which is
probably a bug in FB, a mismatch between headers and libraries. On the
whole, FB 1.04 fixes a huge number of errors in the old headers. The
headers (and FB) now also officially support 64 bit, although the engine
still crashes when I try to build (and I still get hundreds of warnings
from gen gcc).

On 21 December 2015 at 04:20, <subversion at hamsterrepublic.com> wrote:

> teeemcee
> 2015-12-20 07:20:47 -0800 (Sun, 20 Dec 2015)
> 557
> FB 1.04 support 7/7: SDL headers were replaced with very different ones.
>
> Quite a lot of stuff changed because the previous ones were out of date
> and translated largely by hand.
>
> SDL.bi on Windows now includes windows.bi, so it's necessary to call
> include_windows_bi() before including SDL.bi to avoid problems.
> Likewise, on Unix it includes X11, although just a couple conflicts there.
>
> OK, FB 1.04 works now (except for lack of live-previewing CLOSE #fh
> messages), and FB 0.23 still works. This commit might break versions
> between 0.91 and 1.04; untested.
> ---
> U   wip/gfx_sdl.bas
> U   wip/music_sdl.bas
> U   wip/sdl_lumprwops.bas
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20151221/ba43e432/attachment-0001.htm>


More information about the Ohrrpgce mailing list