Restore talk face

This commit is contained in:
2014-11-30 21:20:35 -05:00
parent 3fa6d0558e
commit 9b626ccf44
4 changed files with 34 additions and 31 deletions

View File

@@ -1058,3 +1058,11 @@ void cPict::drawPartyPc(short num, RECT to_rect){
}
cPict::~cPict() {}
void cPict::drawAt(sf::RenderWindow& win, RECT dest, pic_num_t which_g, ePicType type_g, bool framed) {
cPict pic(win);
pic.frame = dest;
pic.setPict(which_g, type_g);
pic.setFormat(TXT_FRAME, framed);
pic.draw();
}

View File

@@ -113,6 +113,7 @@ public:
static void advanceAnim();
virtual ~cPict();
void draw();
static void drawAt(sf::RenderWindow& win, RECT dest, pic_num_t which_g, ePicType type_g, bool framed);
cPict& operator=(cPict& other) = delete;
cPict(cPict& other) = delete;
private: