X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fmenu.h;h=8431ee484597f6f860fdd22c0e14ad4f6e7b3adb;hp=39f064a61e74931daa291cd20bbb92fc8db51e51;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=871d5f9b9cba5125dc65e52d6352730b9b650ba7 diff --git a/src/menu.h b/src/menu.h index 39f064a..8431ee4 100644 --- a/src/menu.h +++ b/src/menu.h @@ -1,24 +1,17 @@ -/* - Copyright (C) Prikol Software 1996-1997 - Copyright (C) Aleksey Volynskov 1996-1997 - - This file is part of the Doom2D:Rembo project. - - Doom2D:Rembo is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 as - published by the Free Software Foundation. - - Doom2D:Rembo 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 this program; if not, see or - write to the Free Software Foundation, Inc., - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ - +/* Copyright (C) 2020 SovietPony + * + * This program 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, version 3 of the License ONLY. + * + * This program 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 this program. If not, see . + */ #ifndef MENU_H_INCLUDED #define MENU_H_INCLUDED @@ -72,8 +65,7 @@ typedef union menu_msg_t { typedef struct menu_t menu_t; struct menu_t { - void *data; - int (*handler)(menu_msg_t *msg, const menu_t *m, void *data, int i); + int (*handler)(menu_msg_t *msg, const menu_t *m, int i); }; typedef struct simple_menu_t {