mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
30 lines
592 B
C
30 lines
592 B
C
#ifndef _SDLFb_SDLFbLocal_h
|
|
#define _SDLFb_SDLFbLocal_h
|
|
|
|
#include <CtrlCore/CtrlCore.h>
|
|
|
|
//has to go second
|
|
#include "SDLWrap.h"
|
|
|
|
NAMESPACE_UPP
|
|
|
|
extern SDL_Surface * screen;
|
|
extern int videoflags;
|
|
extern int height;
|
|
extern int width;
|
|
extern int bpp;
|
|
extern SDL_TimerID waketimer_id;
|
|
|
|
//need extra maintanance, see Proc.cpp
|
|
extern dword mouseb;
|
|
extern dword modkeys;
|
|
|
|
SDL_Surface *CreateScreen(int w, int h, int bpp, int flags);
|
|
dword fbKEYtoK(dword chr);
|
|
void HandleSDLEvent(SDL_Event* event);
|
|
void HandleUserEvent(SDL_Event* event);
|
|
|
|
END_UPP_NAMESPACE
|
|
|
|
#endif
|
|
|