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

Set fps

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:18, 22 April 2007 (edit)
Woody (Talk | contribs)

← Previous diff
Revision as of 00:33, 23 April 2007 (edit) (undo)
Sandman (Talk | contribs)

Next diff →
Line 3: Line 3:
==Definition== ==Definition==
- +'''INT''' Set_FPS ( <'''INT''' fps> , <'''INT''' skip> )
-'''INT''' set_fps ( <'''INT''' fps> , <'''INT''' skip> )+
Sets the framerate of the program. Sets the framerate of the program.
- 
== Parameters == == Parameters ==
- 
{| {|
| '''INT''' fps || - Frames per second to use. | '''INT''' fps || - Frames per second to use.
|- |-
-| '''INT''' skip || - Frames the program is allowed to skip if it's running low on processor time. This doesn't work for me in 0.83b.+| '''INT''' skip || - Frames the program is allowed to skip if it's running low on processor time.
|} |}
 +
 +== Returns ==
 +'''INT''' : Returns [[true]] if successful and [[false]] if failed. (''Needs confirmation.'')
 +
 +== Notes ==
 +It is said, the frame skipping does not work satisfactory in Fenix 0.83b.

Revision as of 00:33, 23 April 2007


Contents

Definition

INT Set_FPS ( <INT fps> , <INT skip> )

Sets the framerate of the program.

Parameters

INT fps - Frames per second to use.
INT skip - Frames the program is allowed to skip if it's running low on processor time.

Returns

INT : Returns true if successful and false if failed. (Needs confirmation.)

Notes

It is said, the frame skipping does not work satisfactory in Fenix 0.83b.

Personal tools