aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-03-14 20:38:07 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-03-14 20:38:07 +0000
commitc64660c6be281ca1c5b7a2d21ce551dfcf6afbb1 (patch)
tree10799261ada7803d5217af06db609f0f721d0d4f
parente00075a45818a861c61416832985c316227dd420 (diff)
downloadusdx-c64660c6be281ca1c5b7a2d21ce551dfcf6afbb1.tar.gz
usdx-c64660c6be281ca1c5b7a2d21ce551dfcf6afbb1.tar.xz
usdx-c64660c6be281ca1c5b7a2d21ce551dfcf6afbb1.zip
added more screen resolution options, changed default texture size to 256
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2198 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/base/UIni.pas26
1 files changed, 17 insertions, 9 deletions
diff --git a/src/base/UIni.pas b/src/base/UIni.pas
index 998d19fb..1ba47251 100644
--- a/src/base/UIni.pas
+++ b/src/base/UIni.pas
@@ -817,17 +817,25 @@ begin
else if (Modes = PPSDL_Rect(-1)) then
begin
// Fallback to some standard resolutions
- SetLength(IResolution, 10);
+ SetLength(IResolution, 18);
IResolution[0] := '640x480';
IResolution[1] := '800x600';
IResolution[2] := '1024x768';
- IResolution[3] := '1152x864';
- IResolution[4] := '1280x800';
- IResolution[5] := '1280x960';
- IResolution[6] := '1400x1050';
- IResolution[7] := '1440x900';
- IResolution[8] := '1600x1200';
- IResolution[9] := '1680x1050';
+ IResolution[3] := '1152x666';;
+ IResolution[4] := '1152x864';
+ IResolution[5] := '1280x800';
+ IResolution[6] := '1280x960';
+ IResolution[7] := '1280x1024';
+ IResolution[8] := '1366x768';
+ IResolution[9] := '1400x1050';
+ IResolution[10] := '1440x900';
+ IResolution[11] := '1600x900';
+ IResolution[12] := '1600x1200';
+ IResolution[13] := '1680x1050';
+ IResolution[14] := '1920x1080';
+ IResolution[15] := '1920x1200';
+ IResolution[16] := '2048x1152';
+ IResolution[17] := '2560x1600';
Resolution := GetArrayIndex(IResolution, IniFile.ReadString('Graphics', 'Resolution', '800x600'));
if Resolution = -1 then
@@ -931,7 +939,7 @@ begin
LoadScreenModes(IniFile);
// TextureSize
- TextureSize := GetArrayIndex(ITextureSize, IniFile.ReadString('Graphics', 'TextureSize', ITextureSize[1]));
+ TextureSize := GetArrayIndex(ITextureSize, IniFile.ReadString('Graphics', 'TextureSize', ITextureSize[2]));
// SingWindow
SingWindow := GetArrayIndex(ISingWindow, IniFile.ReadString('Graphics', 'SingWindow', 'Big'));