repo.or.cz
/
bcl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated mouse.h and mouse.c, still broken
[bcl.git]
/
environment.c
blob
9cd9d95a06601954b5ca0b9db585c6f45919de94
1
#include <SDL/SDL.h>
2
3
DECLSPEC
void
initEnvironment
() {
4
SDL_Init
(
SDL_INIT_EVERYTHING
);
5
SDL_SetVideoMode
(
800
,
600
,
0
,
0
);
6
}
7
8
DECLSPEC
void
terminateEnvironment
() {
9
SDL_VideoQuit
();
10
SDL_Quit
();
11
}
12
13
DECLSPEC
void
pumpEvents
() {
14
SDL_PumpEvents
();
15
}