|
|
|
@ -19,6 +19,15 @@
|
|
|
|
|
#ifndef _SFG_SETTINGS_H
|
|
|
|
|
#define _SFG_SETTINGS_H
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
Time multiplier in SFG_Units (1.0 == 1024). This can be used to slow down or
|
|
|
|
|
speed up the game.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef SFG_TIME_MULTIPLIER
|
|
|
|
|
#define SFG_TIME_MULTIPLIER 1024
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
Target FPS (frames per second). This sets the game logic FPS and will try to
|
|
|
|
|
render at the same rate. If such fast rendering can't be achieved, frames will
|
|
|
|
@ -34,6 +43,12 @@
|
|
|
|
|
#define SFG_FPS 60
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define SFG_FPS ((SFG_FPS * SFG_TIME_MULTIPLIER) / 1024)
|
|
|
|
|
|
|
|
|
|
#if SFG_FPS == 0
|
|
|
|
|
#define SFG_FPS 1
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
On platforms with mouse this sets its horizontal sensitivity. 128 means 1
|
|
|
|
|
RCL_Unit per mouse pixel travelled.
|
|
|
|
|