1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/CTownHandler.h
Michał W. Urbańczyk ffe3a757a6 Lacking files.
2007-07-26 12:00:18 +00:00

24 lines
489 B
C++

#ifndef CTOWNHANDLER_H
#define CTOWNHANDLER_H
#include "CDefHandler.h"
#include "SDL.h"
#include <string>
#include <vector>
class CTown
{
public:
std::string name;
int bonus; //pic number
};
class CTownHandler
{
CDefHandler * smallIcons;
public:
CTownHandler();
~CTownHandler();
std::vector<CTown> towns;
void loadNames();
SDL_Surface * getPic(int ID, bool fort=true, bool builded=false); //ID=-1 - blank; -2 - border; -3 - random
};
#endif //CTOWNHANDLER_H