Penguin
Blame: SDL_InitSubSystem(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_InitSubSystem(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!InitSubSystem
2 !!!SDL_!InitSubSystem
1 perry 3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 EXAMPLES
7 RETURN VALUE
8 SEE ALSO
9 ----
10 !!NAME
11
12
2 perry 13 SDL_!InitSubSystem- Initialize subsystems
1 perry 14 !!SYNOPSIS
15
16
17 __#include __
18
19
2 perry 20 __int SDL_!InitSubSystem__(__Uint32
1 perry 21 flags__);
22 !!DESCRIPTION
23
24
25 After SDL has been initialized with __SDL_Init__ you may
26 initialize uninitialized subsystems with
2 perry 27 __SDL_!InitSubSystem__. The __flags__ parameter is the
1 perry 28 same as that used in __SDL_Init__.
29 !!EXAMPLES
30
31
32 /* Seperating Joystick and Video initialization. */
33 SDL_Init(SDL_INIT_VIDEO);
34 .
35 .
2 perry 36 SDL_!SetVideoMode(640, 480, 16, SDL_DOUBLEBUF|SDL_FULLSCREEN);
1 perry 37 .
38 /* Do Some Video stuff */
39 .
40 .
41 /* Initialize the joystick subsystem */
2 perry 42 SDL_!InitSubSystem(SDL_INIT_JOYSTICK);
1 perry 43 /* Do some stuff with video and joystick */
44 .
45 .
46 .
47 /* Shut them both down */
48 SDL_Quit();
49 !!RETURN VALUE
50
51
52 Returns __-1__ on an error or __0__ on
53 success.
54 !!SEE ALSO
55
56
57 __SDL_Init__, __SDL_Quit__,
2 perry 58 __SDL_!QuitSubSystem__
1 perry 59 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.