bjaraujo / Bombermaaan

Bombermaaan is inspired on the classic Bomberman game.
GNU General Public License v3.0
109 stars 13 forks source link

sdl2 version #54

Closed midzer closed 1 year ago

midzer commented 1 year ago

Hi again,

build fine for me.

I remember we still have to free new m_pWindow and m_pRenderer on program quit.

Will close https://github.com/bjaraujo/Bombermaaan/issues/53

Cheers midzer

bjaraujo commented 1 year ago

Hi, I had to add FindSDL2_mixer.cmake to cmake/modules to compile on Linux. Maybe it would be better to add FindSDL2.cmake and FindSDL2_net.cmake as well.

midzer commented 1 year ago

Yes, I have not tested other OS except debian 11.

bjaraujo commented 1 year ago

Also on Windows I get: identifier "SDL_DisplayFormat" is undefined Bombermaaan E:\Projects\Bombermaaan2\Bombermaaan\trunk\src\CVideoSDL.cpp 519 It seems it needs to be: SDL_ConvertSurfaceFormat

bjaraujo commented 1 year ago

I merged it into sdl2 branch. There are still some issues that need to be fixed.

bjaraujo commented 10 months ago

This has been merged into master now.

midzer commented 10 months ago

Great :)