]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Menu.cpp
License: Update GPLv2+ header to match current FSF recommendation
[lugaru.git] / Source / Menu.cpp
index c402c8d39f50ad9374730629579672e05e5a5d5b..a025fdca0bd45783ad367b0230d27c636cc3d716 100644 (file)
@@ -1,3 +1,22 @@
+/*
+Copyright (C) 2003, 2010 - Wolfire Games
+
+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 <http://www.gnu.org/licenses/>.
+*/
+
 #include <vector>
 #include <string>
 #include "gamegl.h"
@@ -251,6 +270,9 @@ void Menu::drawItems()
             glEnable(GL_TEXTURE_2D);
         }
         break;
+        default:
+        case MenuItem::NONE:
+        break;
         }
     }
 }