85
99
mPreferredFirstItemSize = 150;
101
// TRANSLATORS: settings option
87
102
new SetupItemLabel(_("Notifications"), "", this);
104
// TRANSLATORS: settings option
89
105
new SetupItemCheckBox(_("Show pickup notifications in chat"), "",
90
106
"showpickupchat", this, "showpickupchatEvent");
108
// TRANSLATORS: settings option
92
109
new SetupItemCheckBox(_("Show pickup notifications as particle effects"),
93
110
"", "showpickupparticle", this, "showpickupparticleEvent");
112
// TRANSLATORS: settings option
95
113
new SetupItemLabel(_("Effects"), "", this);
116
// TRANSLATORS: settings option
98
117
new SetupItemCheckBox(_("Grab mouse and keyboard input"),
99
118
"", "grabinput", this, "grabinputEvent");
121
// TRANSLATORS: settings option
102
122
new SetupItemCheckBox(_("Blurring textures (OpenGL)"),
103
123
"", "blur", this, "blurEvent");
125
// TRANSLATORS: settings option
105
126
new SetupItemSlider(_("Gui opacity"), "", "guialpha",
106
127
this, "guialphaEvent", 0.1, 1.0, 150, true);
108
129
mSpeachList->fillFromArray(&speachList[0], speachListSize);
130
// TRANSLATORS: settings option
109
131
new SetupItemDropDown(_("Overhead text"), "", "speech", this,
110
132
"speechEvent", mSpeachList, 200);
112
134
mAmbientFxList->fillFromArray(&ambientFxList[0], ambientFxListSize);
135
// TRANSLATORS: settings option
113
136
new SetupItemDropDown(_("Ambient FX"), "", "OverlayDetail", this,
114
137
"OverlayDetailEvent", mAmbientFxList, 100);
139
// TRANSLATORS: settings option
116
140
new SetupItemCheckBox(_("Particle effects"), "",
117
141
"particleeffects", this, "particleeffectsEvent");
143
// TRANSLATORS: particle details
119
144
mParticleList->push_back(_("low"));
145
// TRANSLATORS: particle details
120
146
mParticleList->push_back(_("medium"));
147
// TRANSLATORS: particle details
121
148
mParticleList->push_back(_("high"));
149
// TRANSLATORS: particle details
122
150
mParticleList->push_back(_("max"));
123
151
(new SetupItemSlider2(_("Particle detail"), "", "particleEmitterSkip",
124
152
this, "particleEmitterSkipEvent", 0, 3,
127
155
mParticleTypeList->fillFromArray(&particleTypeList[0],
128
156
particleTypeListSize);
157
// TRANSLATORS: settings option
129
158
new SetupItemDropDown(_("Particle physics"), "", "particleFastPhysics",
130
159
this, "particleFastPhysicsEvent", mParticleTypeList, 200);
162
// TRANSLATORS: settings group
133
163
new SetupItemLabel(_("Gamma"), "", this);
165
// TRANSLATORS: settings option
135
166
new SetupItemCheckBox(_("Enable gamma control"),
136
167
"", "enableGamma", this, "enableGammaEvent");
169
// TRANSLATORS: settings option
138
170
new SetupItemSlider(_("Gamma"), "", "gamma",
139
171
this, "gammeEvent", 1, 20, 350, true);
174
// TRANSLATORS: settings group
142
175
new SetupItemLabel(_("Other"), "", this);
144
177
mVSyncList->fillFromArray(&vSyncList[0], vSyncListSize);
178
// TRANSLATORS: settings option
145
179
new SetupItemDropDown(_("Vsync"), "", "vsync", this,
146
180
"vsyncEvent", mVSyncList, 100);
148
182
#if defined(WIN32) || defined(__APPLE__)
183
// TRANSLATORS: settings option
149
184
new SetupItemCheckBox(_("Center game window"),
150
185
"", "centerwindow", this, "centerwindowEvent");
188
// TRANSLATORS: settings option
153
189
new SetupItemCheckBox(_("Allow screensaver to run"),
154
190
"", "allowscreensaver", this, "allowscreensaverEvent");