1 /*************************************************************************** 2 * Copyright (C) 2011 by Andrey Afletdinov <fheroes2@gmail.com> * 3 * * 4 * Part of the Free Heroes2 Engine: * 5 * http://sourceforge.net/projects/fheroes2 * 6 * * 7 * This program is free software; you can redistribute it and/or modify * 8 * it under the terms of the GNU General Public License as published by * 9 * the Free Software Foundation; either version 2 of the License, or * 10 * (at your option) any later version. * 11 * * 12 * This program is distributed in the hope that it will be useful, * 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 15 * GNU General Public License for more details. * 16 * * 17 * You should have received a copy of the GNU General Public License * 18 * along with this program; if not, write to the * 19 * Free Software Foundation, Inc., * 20 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 21 ***************************************************************************/ 22 23 #ifndef H2GAMESTATIC_H 24 #define H2GAMESTATIC_H 25 26 #include "mp2.h" 27 #include "types.h" 28 29 class StreamBase; 30 31 namespace Skill 32 { 33 struct stats_t; 34 struct values_t; 35 struct secondary_t; 36 } 37 38 namespace GameStatic 39 { 40 u32 GetLostOnWhirlpoolPercent( void ); 41 u32 GetGameOverLostDays( void ); 42 u32 GetOverViewDistance( u32 ); 43 44 u32 GetKingdomMaxHeroes( void ); 45 46 u32 GetCastleGrownWell( void ); 47 u32 GetCastleGrownWel2( void ); 48 u32 GetCastleGrownWeekOf( void ); 49 u32 GetCastleGrownMonthOf( void ); 50 51 u32 GetHeroesRestoreSpellPointsPerDay( void ); 52 u32 GetMageGuildRestoreSpellPointsPercentDay( int level ); 53 54 s32 ObjectVisitedModifiers( const MP2::MapObjectType objectType ); 55 56 int GetBattleMoatReduceDefense( void ); 57 58 const Skill::stats_t * GetSkillStats( int race ); 59 const Skill::values_t * GetSkillValues( int skill ); 60 const Skill::secondary_t * GetSkillForWitchsHut( void ); 61 } 62 63 #endif 64