X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FMenu.cpp;h=f3d9e0bf70a3a55ee5d657d67c6550cfb0c8b972;hb=794f89c25569a9bf50f167689ca0faa3dcffc577;hp=c402c8d39f50ad9374730629579672e05e5a5d5b;hpb=25e3d5e35a7fd7efdffc420efe3c41a91cefe43f;p=lugaru.git diff --git a/Source/Menu.cpp b/Source/Menu.cpp index c402c8d..f3d9e0b 100644 --- a/Source/Menu.cpp +++ b/Source/Menu.cpp @@ -1,3 +1,23 @@ +/* +Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) + +This file is part of Lugaru. + +Lugaru is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +Lugaru is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with Lugaru. If not, see . +*/ + #include #include #include "gamegl.h" @@ -251,6 +271,9 @@ void Menu::drawItems() glEnable(GL_TEXTURE_2D); } break; + default: + case MenuItem::NONE: + break; } } }