#include <map>
#include <list>
#include <vector>
#include <string>
#include <helpers/sdl.h>
#include <constants.h>
#include <singleton.h>
#include "base.h"
#include "tools.h"
#include "shaker.h"
#include "mapobjects.h"
#include "player.h"
#include "bomb.h"
Třídy | |
| class | Game |
| Konkrétní hra. ... | |
| struct | Game::player_t |
| Typ hráče s jeho pohledy (na okno a na mapu), třesením pohledu a položenými bombami. ... | |
Definice maker | |
| #define | GAME_PLAYER_VIEW_MAX_WIDTH Uint16(16) |
| #define | GAME_PLAYER_VIEW_MAX_HEIGHT Uint16(12) |
| #define | GAME SINGLETON_SHORTCUT(Game) |
| Zkratka pro ziskani pointru na singleton. | |
Game.h obsahuje stejnojmennou třídu obstarávající konkrétní hru jako celek.
| #define GAME SINGLETON_SHORTCUT(Game) |
Zkratka pro ziskani pointru na singleton.
Makro se expanduje ve volani inline fce, ktera poskytuje pointer na jedinou instanci tridy Game.
| #define GAME_PLAYER_VIEW_MAX_HEIGHT Uint16(12) |
| #define GAME_PLAYER_VIEW_MAX_WIDTH Uint16(16) |
1.5.6