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 19:11, 14 November 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (09:49, 24 March 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 12: Line 12:
'''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}} {{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