- This wiki is out of date, use the continuation of this wiki instead
Set mode
From FenixWiki
(Difference between revisions)
Revision as of 09:53, 22 April 2007 (edit) Woody (Talk | contribs) ← Previous diff |
Revision as of 09:53, 22 April 2007 (edit) (undo) Woody (Talk | contribs) (→Parameters) Next diff → |
||
Line 15: | Line 15: | ||
| '''INT''' height || - Height of the screen in pixels, ie 480. | | '''INT''' height || - Height of the screen in pixels, ie 480. | ||
|- | |- | ||
- | | '''INT''' | + | | '''INT''' depth || - Color depth of the screen, ie 8 or 16. |
|} | |} |
Revision as of 09:53, 22 April 2007
INT set_mode ( <INT width> , <INT height> , <INT depth> )
Definition
Sets the video mode of the program.
Parameters
INT width | - Width of the screen in pixels, ie 640. |
INT height | - Height of the screen in pixels, ie 480. |
INT depth | - Color depth of the screen, ie 8 or 16. |