[aquaria] SDL 2 Port

Henrik Holst henrik.holst2 at gmail.com
Wed Jun 13 13:35:09 EDT 2012


Nice,

  I do wonder however if it would not be better to use the version defs
supplied by sdl instead of BBGE_BUILD_SDL2 ?

SDL/SDL_version.h has these nice defines:

#define SDL_MAJOR_VERSION       1
#define SDL_MINOR_VERSION       2
#define SDL_PATCHLEVEL          14

SDL_MAJOR_VERSION seams like a nice def to use where the API is different
(unless the API where different with different minor verisons aswell?)

Just my 2 cents :)

/HH

2012/6/13 David Gow <david at ingeniumdigital.com>

> Hi all,
>
> I've been playing with libSDL 2.0 for the past couple of days, and have
> ported Aquaria to it. It's quite a rough port (particularly the CMake
> bits), but is quite playable, and is a fun way of trying out the new SDL
> API.
>
> I've attached a patch for those who want to try it out, or --- if you
> prefer --- there's a hg repository at http://davidgow.net/hg/public/**
> aquaria <http://davidgow.net/hg/public/aquaria>
> You have to compile with 'cmake -DAQUARIA_USE_SDL2=1
> -DAQUARIA_SDL2_PREFIX=<path-**to-sdl2>' at the moment, but it does work
> (at least for me).
>
> This is more of an experiment that anything else, so it's probably not
> ripe for inclusion in the main tree, but it should be fun to play around
> with. It's certainly shown me just how usable SDL 2.0 already is.
>
> Have fun,
>
> -- David
>
> _______________________________________________
> aquaria mailing list
> aquaria at icculus.org
> http://icculus.org/mailman/listinfo/aquaria
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/aquaria/attachments/20120613/7dc4fa2e/attachment.htm>


More information about the aquaria mailing list