]>
git.r.bdr.sh - rbdr/pico-engine/blob - build/Debug/Pico-Lua-Test.app/Contents/Frameworks/SDL_gfx.framework/Versions/A/Headers/SDL_framerate.h
6c7d2148963dd30273beadd2228435b859a4affe
4 SDL_framerate: framerate manager
10 #ifndef _SDL_framerate_h
11 #define _SDL_framerate_h
13 /* Set up for C function definitions, even when using C++ */
22 /* --------- Definitions */
24 /* Some rates in Hz */
26 #define FPS_UPPER_LIMIT 200
27 #define FPS_LOWER_LIMIT 1
28 #define FPS_DEFAULT 30
30 /* --------- Structure variables */
39 /* --------- Function prototypes */
43 #define DLLINTERFACE __declspec(dllexport)
45 #define DLLINTERFACE __declspec(dllimport)
51 /* Functions return 0 or value for sucess and -1 for error */
53 DLLINTERFACE
void SDL_initFramerate(FPSmanager
* manager
);
54 DLLINTERFACE
int SDL_setFramerate(FPSmanager
* manager
, int rate
);
55 DLLINTERFACE
int SDL_getFramerate(FPSmanager
* manager
);
56 DLLINTERFACE
void SDL_framerateDelay(FPSmanager
* manager
);
60 /* Ends C function definitions when using C++ */
65 #endif /* _SDL_framerate_h */