Page 1 of 1

Irrlicht and SDL2

Posted: Fri May 13, 2016 7:07 am
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.

Re: Irrlicht and SDL2

Posted: Fri May 13, 2016 8:38 am
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.

Re: Irrlicht and SDL2

Posted: Fri May 13, 2016 9:52 am
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!

Re: Irrlicht and SDL2

Posted: Fri May 13, 2016 11:13 am
by CuteAlien
Yeah, it's necessary. The SDL guys don't even support 1.X versions anymore.

Re: Irrlicht and SDL2

Posted: Fri May 13, 2016 7:59 pm
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)

Re: Irrlicht and SDL2

Posted: Sat May 14, 2016 11:10 am
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!

Re: Irrlicht and SDL2

Posted: Sat May 14, 2016 11:11 am
by Vectrotek
Screenhots:
Image Image
Image

Re: Irrlicht and SDL2

Posted: Sat May 14, 2016 11:12 am
by Vectrotek