mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-29 20:27:12 +01:00
b72938c861
An existing hint lets apps that don't need the timer resolution changed avoid this, to save battery, etc, but this fixes several problems in timing, audio callbacks not firing fast enough, etc. Fixes Bugzilla #2944.
13 lines
260 B
C
13 lines
260 B
C
/*
|
|
* common.h
|
|
* written by Holmes Futrell
|
|
* use however you want
|
|
*/
|
|
|
|
#define SCREEN_WIDTH 320
|
|
#define SCREEN_HEIGHT 480
|
|
|
|
extern int randomInt(int min, int max);
|
|
extern float randomFloat(float min, float max);
|
|
extern void fatalError(const char *string);
|