Irrlicht and SDL2

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
vgck
Posts: 2
Joined: Thu May 12, 2016 11:51 pm

Irrlicht and SDL2

Post by vgck »

Hello,

I created an SDL2 patch for my own uses and was wondering if there was any interest in adding this into Irrlicht either alongside the existing SDL implementation or as a replacement. I'd be more than happy to help integrate it in anyway I can.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Irrlicht and SDL2

Post by CuteAlien »

Hi vgck! Thanks, but we actually got a patch for it already. The reason it hasn't been applied yet is that we want to do that after merging egl-es back to the trunk. Otherwise we have to merge the patch twice and for such big stuff that's always some work.
So basically - it's planned to add it just before Irrlicht 1.9 release ... whenever that is.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
vgck
Posts: 2
Joined: Thu May 12, 2016 11:51 pm

Re: Irrlicht and SDL2

Post by vgck »

Ok cool, I understand the difficulties with the branches, I'm just glad to hear it'll make it into Irrlicht at some point!
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Irrlicht and SDL2

Post by CuteAlien »

Yeah, it's necessary. The SDL guys don't even support 1.X versions anymore.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

Re: Irrlicht and SDL2

Post by devsh »

I will definitely merge this into my Irrlicht, need a nice way to handle Windows, Linux, OS X and Steam Machine :D (and creating core GL contexts)
Vectrotek
Competition winner
Posts: 1087
Joined: Sat May 02, 2015 5:05 pm

Re: Irrlicht and SDL2

Post by Vectrotek »

This is a small (slightly incomplete) Video game
I wrote a while back in 2010 using SDL, Win 32 and F-Mod.
F-Mod became commercial so I'd like to port it to Irrlicht
using Audierre someday.

If you can find the Old SDLimage.h and libs
then you can compile the included project)
Check out the AI (if you can call it that)

Controls:
Arrow Keys = Movement
left Ctl = Fire
I = Pause
G = God Mode
X = Nuke
Keypad + = Speed up timing
Keypad - = Slow down timing (needed as the timing depends on Vertical Retrace and some machines override this causing very fast time)
U = Toggle Developer mode (use Mouse wheel and LMB)
A = Reset Developer View
P & O = Brighten Darken Sprites
B = Toggle GLClear in Developer View
V = Super Fire
H = Double Fire
L Shift = Machine Gun with left CTL (shoots the crap out of them)

If anyone can compile it with SDL 2 I'd like to hear from them!
Last edited by Vectrotek on Sun May 22, 2016 6:21 pm, edited 2 times in total.
Vectrotek
Competition winner
Posts: 1087
Joined: Sat May 02, 2015 5:05 pm

Re: Irrlicht and SDL2

Post by Vectrotek »

Screenhots:
Image Image
Image
Vectrotek
Competition winner
Posts: 1087
Joined: Sat May 02, 2015 5:05 pm

Re: Irrlicht and SDL2

Post by Vectrotek »

Post Reply