Geom string: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Explanation of geom strings and documentation of flag values.)
 
(→‎Syntax: Resolution no longer limited)
Line 8: Line 8:
</code>
</code>


Where WWWW is the width, between 320 and 2560; HHHH is the height, between 200 and 1600; and [flags] is an optional valid combination of the following single-letter specifiers:
Where WWWW is the width, between 320 and the maximum supported system window width; HHHH is the height, between 200 and the maximum supported system window height; and [flags] is an optional valid combination of the following single-letter specifiers:
{| class="wikitable" style="font-size: 85%"; text-align: center; width: auto
{| class="wikitable" style="font-size: 85%"; text-align: center; width: auto
!style="background-color: #C5D0E1"| Flag
!style="background-color: #C5D0E1"| Flag

Revision as of 11:32, 19 March 2014

A geom string is a special configuration setting in Eternity which allows specification of all of the characteristics of a video mode in a single string.

Syntax

The syntax of a geom string is as follows:

WWWWxHHHH[flags]

Where WWWW is the width, between 320 and the maximum supported system window width; HHHH is the height, between 200 and the maximum supported system window height; and [flags] is an optional valid combination of the following single-letter specifiers:

Flag Description
w Selects windowed mode.
f Selects fullscreen mode.
a Selects "asynchronous" or non-page-flipped updating.
v Selects page-flipped updating.
s Selects "software" surface.
h Selects "hardware" surface (eg. DirectDraw acceleration)
n Creates primary window without a window frame, where supported.
Flag Description

Examples

The following are examples of valid geom strings.

320x200w
640x480f
1024x768wan
1280x800fvh