/src/MenuMiniMap.h
C Header | 47 lines | 19 code | 9 blank | 19 comment | 0 complexity | aab4fb7958c3f32a228a423a7b7e25f1 MD5 | raw file
Possible License(s): GPL-3.0
1/* 2Copyright 2011 Clint Bellanger 3 4This file is part of FLARE. 5 6FLARE is free software: you can redistribute it and/or modify it under the terms 7of the GNU General Public License as published by the Free Software Foundation, 8either version 3 of the License, or (at your option) any later version. 9 10FLARE is distributed in the hope that it will be useful, but WITHOUT ANY 11WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 14You should have received a copy of the GNU General Public License along with 15FLARE. If not, see http://www.gnu.org/licenses/ 16*/ 17 18/** 19 * class MenuMiniMap 20 */ 21 22#ifndef MENU_MINI_MAP_H 23#define MENU_MINI_MAP_H 24 25#include <SDL.h> 26#include "Utils.h" 27#include "MapCollision.h" 28 29class MenuMiniMap { 30private: 31 Uint32 color_wall; 32 Uint32 color_obst; 33 Uint32 color_hero; 34 Point map_center; 35 SDL_Rect map_area; 36 37public: 38 MenuMiniMap(); 39 ~MenuMiniMap(); 40 41 void render(MapCollision *collider, Point hero_pos, int map_w, int map_h); 42 void renderIso(MapCollision *collider, Point hero_pos, int map_w, int map_h); 43 44}; 45 46 47#endif