diff options
Diffstat (limited to 'src/map/battle.h')
-rw-r--r-- | src/map/battle.h | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/src/map/battle.h b/src/map/battle.h index 68a427e72..ad59efedd 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -1,7 +1,23 @@ -// Copyright (c) Hercules Dev Team, licensed under GNU GPL. -// See the LICENSE file -// Portions Copyright (c) Athena Dev Teams - +/** + * This file is part of Hercules. + * http://herc.ws - http://github.com/HerculesWS/Hercules + * + * Copyright (C) 2012-2015 Hercules Dev Team + * Copyright (C) Athena Dev Teams + * + * Hercules 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 3 of the License, or + * (at your option) any later version. + * + * 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 <http://www.gnu.org/licenses/>. + */ #ifndef MAP_BATTLE_H #define MAP_BATTLE_H @@ -630,8 +646,8 @@ struct battle_interface { /* - battle_config */ int (*config_read) (const char *cfgName); void (*config_set_defaults) (void); - int (*config_set_value) (const char* w1, const char* w2); - int (*config_get_value) (const char* w1); + int (*config_set_value) (const char *w1, const char *w2); + bool (*config_get_value) (const char *w1, int *value); void (*config_adjust) (void); /* ----------------------------------------- */ /* picks a random enemy within the specified range */ |