Query: sdl_initsubsystem
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SDL_InitSubSystem(3) SDL API Reference SDL_InitSubSystem(3)NAMESDL_InitSubSystem - Initialize subsystemsSYNOPSIS#include "SDL.h" int SDL_InitSubSystem(Uint32 flags);DESCRIPTIONAfter SDL has been initialized with SDL_Init you may initialize uninitialized subsystems with SDL_InitSubSystem. The flags parameter is the same as that used in SDL_Init.EXAMPLES/* Seperating Joystick and Video initialization. */ SDL_Init(SDL_INIT_VIDEO); . . SDL_SetVideoMode(640, 480, 16, SDL_DOUBLEBUF|SDL_FULLSCREEN); . /* Do Some Video stuff */ . . /* Initialize the joystick subsystem */ SDL_InitSubSystem(SDL_INIT_JOYSTICK); /* Do some stuff with video and joystick */ . . . /* Shut them both down */ SDL_Quit();RETURN VALUEReturns -1 on an error or 0 on success.SEE ALSOSDL_Init, SDL_Quit, SDL_QuitSubSystemSDLTue 11 Sep 2001, 23:00 SDL_InitSubSystem(3)
Related Man Pages |
---|
sdl_joystickopen(3) - redhat |
sdl_setvideomode(3) - debian |
sdl_joystickopen(3) - centos |
sdl::video(3) - suse |
sdl::joystick(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Launching mplayer from within Links2 using a shell script |