allegro in background
Adix88

I`m trying to make a dedicated server program for my game using allegro for the graphics. I was wondering .. can u make an allegro app work in background ? If you can how ?

Onewing
Quote:

can u make an allegro app work in background ?

Yes.

Quote:

If you can how ?

I know you can and I've done it before (where the app continues to run when it has lost focus), but I can't seem to find the command needed atm. Just thought I'd verify that it is doable. ;)

Adix88

thx ... anyone can remember that command ? :P

gnolam

set_display_switch_mode()

And it's "you", not "u".

Kibiz0r

set_display_switch_mode(SWITCH_BACKGROUND)
e:f,b

Adix88

Thank you for all your help ! This has definetly made my life easier .

ImLeftFooted

If SWITCH_BACKGROUND fails you'll probably want to revert to SWITCH_BACKAMENSIA

karistouf

AMNESIA is working good. the app continues to work without any troubles... allegro do this great...

Thread #590960. Printed from Allegro.cc