Search found 4 matches

by a4z
Fri Dec 14, 2007 11:43 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Use SDL input in Linux with Irrlicht
Replies: 8
Views: 6695

hi,
nice to read that I am not the only person who has interests to use Irrlicht + SDL


my current status is that I have written a sdl2irr event forward class

so I can use/handle SDL Events and afterwards using Irrlicht Eventsystem

currently my main loop looks like that:


bool run = true ...
by a4z
Tue Oct 23, 2007 1:30 pm
Forum: Beginners Help
Topic: irrlicht + sdl on linux
Replies: 6
Views: 3327

I have to reaktivate this old thread because I saw that in the newest version of irrlicht there is the option to run irrlicht based on SDL

to get it running on my linux pc I had to do a few steps

in makefile (irrlicht/source)
CPPFLAGS = $(CXXINCS) -DIRRLICHT_EXPORTS=1 -D_IRR_USE_SDL_DEVICE_

in ...
by a4z
Wed Feb 07, 2007 2:01 pm
Forum: Beginners Help
Topic: irrlicht + sdl on linux
Replies: 6
Views: 3327

bad news
I thought I have found a usefull gfx engine for my app
(i have an existing app using sdl and i just want to change the display (2d) stuff, leaf input and event handling untouched)
also the idea for an other app, where i would have to draw into a qt gl window, has died now

mandrav, patch ...
by a4z
Wed Feb 07, 2007 12:53 pm
Forum: Beginners Help
Topic: irrlicht + sdl on linux
Replies: 6
Views: 3327

irrlicht + sdl on linux

I get 2 windows with this code, the SDL window and irrlicht window


SDL_Init(SDL_INIT_VIDEO );
SDL_Surface * sdldisplay = SDL_SetVideoMode(800,600,16,SDL_OPENGL);

SDL_SysWMinfo sdlinfo;
SDL_VERSION(&sdlinfo.version);
SDL_GetWMInfo(&sdlinfo);
SIrrlichtCreationParameters irrparas ...