From: Pere P. i C. <per...@gm...> - 2015-02-11 22:31:49
|
El dc 11 de 02 de 2015 a les 15:18 -0500, en/na LM va escriure: > Has anyone looked at adding SDL2 support to Tuxmath to use on systems > that may no longer want to maintain SDL 1.2.x? I am currently porting Tux Paint to SDL2, you could find interesting the backward compatibility functions I wrote for it https://sourceforge.net/p/tuxpaint-sdl2/code/ci/sdl2.0/tree/src/tuxpaint.c#l865 HTH Pere > > I started looking at the Tuxmath source code to see how difficult the > task might be. Took me a couple of days just to get Tuxmath to build > successfully. I started with the 2.0.3 source tarball from Debian. > Tried adding the code from the accessibility branch back into that. I > ran across some issues when trying to build --without-sdlnet and had > to work around them. I also ran across some issues when using > SDL_ttf. The SDL_ttf library doesn't handle newline characters. I > wrote some code to actually draw multiple lines of text using SDL_ttf > when there were newline characters in the string. Doesn't look like > SDL_pango has been ported to SDL2 yet, but there is a port for > SDL2_ttf. It would be nice if SDL_ttf worked properly in Tuxmath > before trying to move to SDL2. > > Was curious if there was any active development going on and any plans > for SDL2 support in the future. What, if anything, is currently on > the Tuxmath development roadmap? Thanks. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Tuxmath-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxmath-devel |