- This wiki is out of date, use the continuation of this wiki instead
Fps
From FenixWiki
(Difference between revisions)
| Revision as of 13:10, 4 November 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Current revision (09:49, 24 March 2008) (edit) (undo) Sandman (Talk | contribs) m |
||
| (2 intermediate revisions not shown.) | |||
| Line 1: | Line 1: | ||
| [[category:general]] | [[category:general]] | ||
| + | [[category:variables]] | ||
| [[category:predefined]] | [[category:predefined]] | ||
| [[category:global variables]] | [[category:global variables]] | ||
| + | |||
| + | [[Global variables|'''Up to Global Variables''']] | ||
| + | |||
| + | ---- | ||
| + | |||
| == Definition == | == Definition == | ||
| '''INT''' fps | '''INT''' fps | ||
| - | The [[global variable]] fps holds the current frames per second on which Fenix is running. This means how many times a frame is executed every second and how many times the screen is updated every second. | + | The [[global variable]] [[fps]] holds the current frames per second on which [[Fenix]] is running. This means how many times a frame is executed every second and how many times the screen is updated every second. |
| If a different FPS is needed, the target FPS can be altered by use of [[set_fps]](). | If a different FPS is needed, the target FPS can be altered by use of [[set_fps]](). | ||
| + | |||
| + | If a more accurate FPS is needed, use [[frame_time]] to calculate it. | ||
| + | |||
| + | {{Globals}} | ||
Current revision
[edit] Definition
INT fps
The global variable fps holds the current frames per second on which Fenix is running. This means how many times a frame is executed every second and how many times the screen is updated every second.
If a different FPS is needed, the target FPS can be altered by use of set_fps().
If a more accurate FPS is needed, use frame_time to calculate it.
| Global variables | |
| • Argc • Argv • Cdinfo • Dump_type • Fading • Fileinfo • Fps • Frame_time • Full_screen • Graph_mode • Mouse • Os_id • Restore_type • Scale_mode • Scroll • Sound_channels • Sound_freq • Sound_mode • Text_flags • Text_z • Timer • | |
