This wiki is out of date, use the continuation of this wiki instead

Fps

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
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
 
(One intermediate revision not shown.)
Line 3: Line 3:
[[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

Up to Global Variables



[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
ArgcArgvCdinfoDump_typeFadingFileinfoFpsFrame_timeFull_screenGraph_modeMouseOs_idRestore_typeScale_modeScrollSound_channelsSound_freqSound_modeText_flagsText_zTimer
Personal tools