void useDesktopBrightness_CheckedChanged(object sender, EventArgs e) { if (useDesktopBrightness.Checked) { brightness.Enabled = false; } else { brightness.Enabled = true; } RappelzSettings.Update("GRAPHIC_WINBRIGHT", Convert.ToInt32(useDesktopBrightness.Checked).ToString()); }
private void lastingEffects_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_STATE_EFFECT", Convert.ToInt32(lastingEffects.CheckState).ToString()); if (!lastingEffects.Checked) { lastingEffects_cs.Checked = false; RappelzSettings.Update("GRAPHIC_STATE_EFFECT_CREATURE", "0"); lastingEffects_p.Checked = false; RappelzSettings.Update("GRAPHIC_STATE_EFFECT_PARTY", "0"); lastingEffects_o.Checked = false; RappelzSettings.Update("GRAPHIC_STATE_EFFECT_PARTY", "0"); } }
private void effect_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_EFFECT", Convert.ToInt32(effect.CheckState).ToString()); if (!effect.Checked) { effect_cs.Checked = false; RappelzSettings.Update("GRAPHIC_EFFECT_CREATURE", "0"); effect_p.Checked = false; RappelzSettings.Update("GRAPHIC_EFFECT_PARTY", "0"); effect_o.Checked = false; RappelzSettings.Update("GRAPHIC_EFFECT_ENEMY", "0"); } }
private void shadows_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_SHADOW", Convert.ToInt32(shadows.CheckState).ToString()); if (shadows.Checked) { RappelzSettings.Update("GRAPHIC_LOWSHADOW", "0"); lowQualityShadows.Checked = false; lowQualityShadows.Enabled = false; } else { lowQualityShadows.Enabled = true; } }
private void windowed_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_WINMODE", Convert.ToInt32(windowed.CheckState).ToString()); RappelzSettings.Update("GRAPHIC_WINBRIGHT", Convert.ToInt32(useDesktopBrightness.CheckState).ToString()); if (windowed.Checked) { useDesktopBrightness.Checked = true; useDesktopBrightness.Enabled = false; } else { useDesktopBrightness.Enabled = true; } }
private void overallMute_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("SOUND_ALL_MUTE", Convert.ToInt32(overallMute.CheckState).ToString()); if (overallMute.Checked) { overallVolume.Value = 0; RappelzSettings.Update("SOUND_MASTER_VOLUME", "0"); sfxVolume.Value = 0; RappelzSettings.Update("SOUND_SFX_VOLUME", "0"); musicVolume.Value = 0; RappelzSettings.Update("SOUND_BGM_VOLUME", "0"); environmentalVolume.Value = 0; RappelzSettings.Update("SOUND_ENVS_VOLUME", "0"); } }
private void effect_o_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_EFFECT_ENEMY", Convert.ToInt32(effect_o.CheckState).ToString()); }
private void lastingEffects_o_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_STATE_EFFECT_PARTY", Convert.ToInt32(lastingEffects_o.CheckState).ToString()); }
private void terrainDistance_ValueChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_TERRAINDIS", terrainDistance.Value.ToString()); }
private void speedDistance_ValueChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_SPEEDDIS", speedDistance.Value.ToString()); }
private void propDistance_ValueChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_PROPDIS", propDistance.Value.ToString()); }
private void grassDistance_ValueChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_GRASSDIS", grassDistance.Value.ToString()); }
private void lightMap_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_LIGHTMAP", Convert.ToInt32(lightMap.CheckState).ToString()); }
private void deco_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("PLAY_AVATAR_DECO", Convert.ToInt32(deco.CheckState).ToString()); }
private void monsterAvatar_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("PLAY_MOBFACE", Convert.ToInt32(monsterAvatar.CheckState).ToString()); }
private void cameraCollisions_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("PLAY_CAMERA_COLLISION", Convert.ToInt32(cameraCollisions.CheckState).ToString()); }
private void weatherQuality_Scroll(object sender, EventArgs e) { RappelzSettings.Update("PLAY_WEATHER_QUALITY", weatherQuality.Value.ToString()); }
private void bloom_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_GLOWQUAL", Convert.ToInt32(bloom.CheckState).ToString()); }
private void textureQuality_ValueChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_MIPBIAS", textureQuality.Value.ToString()); }
private void speedQuality_ValueChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_SPEEDQUAL", speedQuality.Value.ToString()); }
private void shadowDistance_ValueChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_SHADOWDIS", shadowDistance.Value.ToString()); }
private void characterDistance_ValueChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_AVATARDIS", characterDistance.Value.ToString()); }
private void shadowSelfQuality_Scroll(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_SELFSHADOWQUAL", shadowSelfQuality.Value.ToString()); }
private void waterReflections_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_WATERQUAL", Convert.ToInt32(waterReflections.CheckState).ToString()); }
private void helmets_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("PLAY_HELM", Convert.ToInt32(helmets.CheckState).ToString()); }
private void betterTrees_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_TREEALPHA", Convert.ToInt32(betterTrees.CheckState).ToString()); }
private void chatBalloons_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("PLAY_CHATBALLOON", Convert.ToInt32(chatBalloons.CheckState).ToString()); }
private void enchantmentEffects_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_ENHANCE", Convert.ToInt32(enchantmentEffects.CheckState).ToString()); }
private void playerNames_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("PLAY_PLAYERNAME", Convert.ToInt32(playerNames.CheckState).ToString()); }
private void grass_CheckedChanged(object sender, EventArgs e) { RappelzSettings.Update("GRAPHIC_RENDERGRASS", Convert.ToInt32(grass.CheckState).ToString()); }