Topic: Migrate to SDL2
Hey guys.
I started porting Teeworlds to SDL2. It's currently not released but it's widely-used already (e.g. Valve games on Linux). It fixes many bugs that you can't fix with SDL1.2 on Linux like multimedia keys in fullscreen, fullscreen and screen selection in a multi-monitor environment, hardware cursor and ungrabbing they mouse in fullscreen (which is helpful for multiple monitors).
I have not changed to logic at the moment but changed the build system and replaced deprecated functions with the new counterparts. There still is an issue with input handling (segfault) but other than that I works fine.
The code is only tested on Linux because that's all I have so I'd like if someone can jump in and help me with the Windows and Mac versions.
You can find the code here: https://github.com/swick/teeworlds