Annotated edit history of
SDL_Init(3) version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SDL_Init |
|
|
2 |
!!!SDL_Init |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
SEE ALSO |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
SDL_Init- Initializes SDL |
|
|
13 |
!!SYNOPSIS |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
__#include __ |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__int SDL_Init__(__Uint32 flags__); |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
Initializes SDL. This should be called before all other SDL |
|
|
24 |
functions. The __flags__ parameter specifies what part(s) |
|
|
25 |
of SDL to initialize. |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
__SDL_INIT_TIMER__ |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
Initializes the ''timer'' subsystem. |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
__SDL_INIT_AUDIO__ |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
Initializes the ''audio'' subsystem. |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
__SDL_INIT_VIDEO__ |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
Initializes the ''video'' subsystem. |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__SDL_INIT_CDROM__ |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
Initializes the ''cdrom'' subsystem. |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
__SDL_INIT_JOYSTICK__ |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
Initializes the ''joystick'' subsystem. |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
__SDL_INIT_EVERYTHING__ |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
Initialize all of the above. |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
__SDL_INIT_NOPARACHUTE__ |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
Prevents SDL from catching fatal signals. |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
__SDL_INIT_EVENTTHREAD__ |
|
|
71 |
!!RETURN VALUE |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
Returns __-1__ on an error or __0__ on |
|
|
75 |
success. |
|
|
76 |
!!SEE ALSO |
|
|
77 |
|
|
|
78 |
|
2 |
perry |
79 |
__SDL_Quit__, __SDL_!InitSubSystem__ |
1 |
perry |
80 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.