Updated mouse support.
[bcl.git] / environment.c
blob9d975bd129a1f0c952094854132e503ce0ea9f06
1 #include <SDL/SDL.h>
3 DECLSPEC void initEnvironment() {
4 SDL_Init(SDL_INIT_EVERYTHING);
5 SDL_SetVideoMode(800,600,0,0);
6 SDL_WM_GrabInput(SDL_GRAB_ON);
9 DECLSPEC void terminateEnvironment() {
10 SDL_VideoQuit();
11 SDL_Quit();
14 DECLSPEC void pumpEvents() {
15 SDL_PumpEvents();