Irrlicht and SDL2

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.

Irrlicht and SDL2

Postby vgck » Fri May 13, 2016 7:07 am

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.
vgck
 
Posts: 2
Joined: Thu May 12, 2016 11:51 pm

Re: Irrlicht and SDL2

Postby CuteAlien » Fri May 13, 2016 8:38 am

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.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8360
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: Irrlicht and SDL2

Postby vgck » Fri May 13, 2016 9:52 am

Ok cool, I understand the difficulties with the branches, I'm just glad to hear it'll make it into Irrlicht at some point!
vgck
 
Posts: 2
Joined: Thu May 12, 2016 11:51 pm

Re: Irrlicht and SDL2

Postby CuteAlien » Fri May 13, 2016 11:13 am

Yeah, it's necessary. The SDL guys don't even support 1.X versions anymore.
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8360
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: Irrlicht and SDL2

Postby devsh » Fri May 13, 2016 7:59 pm

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)
We chose to stream mesh data from Multiple OpenGL Contexts in many threads and do the other things, not because they are easy, but because they are hard! - JFK
User avatar
devsh
Competition winner
 
Posts: 1766
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK

Re: Irrlicht and SDL2

Postby Vectrotek » Sat May 14, 2016 11:10 am

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.
User avatar
Vectrotek
Competition winner
 
Posts: 1056
Joined: Sat May 02, 2015 5:05 pm
Location: South Africa

Re: Irrlicht and SDL2

Postby Vectrotek » Sat May 14, 2016 11:11 am

Screenhots:
Image Image
Image
User avatar
Vectrotek
Competition winner
 
Posts: 1056
Joined: Sat May 02, 2015 5:05 pm
Location: South Africa

Re: Irrlicht and SDL2

Postby Vectrotek » Sat May 14, 2016 11:12 am

User avatar
Vectrotek
Competition winner
 
Posts: 1056
Joined: Sat May 02, 2015 5:05 pm
Location: South Africa


Return to Open Discussion and Dev Announcements

Who is online

Users browsing this forum: No registered users and 1 guest