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:27, 26 June 2007 (edit)
Sandman (Talk | contribs)

← Previous diff
Current revision (09:49, 24 March 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
(3 intermediate revisions not shown.)
Line 1: Line 1:
[[category:general]] [[category:general]]
[[category:variables]] [[category:variables]]
 +[[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