mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 10:14:40 +03:00
Axe mouse cursor config option
The config option has been removed. I'm going to implement something that automatically shows and hides the mouse cursor whenever appropriate, which is better than a config option.
This commit is contained in:
@@ -4215,11 +4215,6 @@ void Game::deserializesettings(tinyxml2::XMLElement* dataNode, ScreenSettings* s
|
||||
graphics.translucentroomname = help.Int(pText);
|
||||
}
|
||||
|
||||
if (SDL_strcmp(pKey, "showmousecursor") == 0)
|
||||
{
|
||||
graphics.showmousecursor = help.Int(pText);
|
||||
}
|
||||
|
||||
if (SDL_strcmp(pKey, "musicvolume") == 0)
|
||||
{
|
||||
music.user_music_volume = help.Int(pText);
|
||||
@@ -4273,15 +4268,6 @@ void Game::deserializesettings(tinyxml2::XMLElement* dataNode, ScreenSettings* s
|
||||
|
||||
}
|
||||
|
||||
if (graphics.showmousecursor)
|
||||
{
|
||||
SDL_ShowCursor(SDL_ENABLE);
|
||||
}
|
||||
else
|
||||
{
|
||||
SDL_ShowCursor(SDL_DISABLE);
|
||||
}
|
||||
|
||||
if (controllerButton_flip.size() < 1)
|
||||
{
|
||||
controllerButton_flip.push_back(SDL_CONTROLLER_BUTTON_A);
|
||||
@@ -4451,8 +4437,6 @@ void Game::serializesettings(tinyxml2::XMLElement* dataNode, const ScreenSetting
|
||||
|
||||
xml::update_tag(dataNode, "translucentroomname", (int) graphics.translucentroomname);
|
||||
|
||||
xml::update_tag(dataNode, "showmousecursor", (int) graphics.showmousecursor);
|
||||
|
||||
xml::update_tag(dataNode, "over30mode", (int) over30mode);
|
||||
|
||||
xml::update_tag(dataNode, "inputdelay", (int) inputdelay);
|
||||
@@ -6062,7 +6046,6 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
|
||||
maxspacing = 15;
|
||||
break;
|
||||
case Menu::advancedoptions:
|
||||
option("toggle mouse");
|
||||
option("unfocus pause");
|
||||
option("room name background");
|
||||
option("return");
|
||||
|
||||
Reference in New Issue
Block a user