Fix/update the edit placed monster dialogs

- Also, edit monster dialog now shows default facial pic
This commit is contained in:
2015-01-23 13:37:47 -05:00
parent 72dfea868f
commit cf85ea7f5a
12 changed files with 93 additions and 78 deletions

View File

@@ -17,7 +17,7 @@
extern sf::Texture bg_gworld;
extern cCustomGraphics spec_scen_g;
const pic_num_t cPict::BLANK = std::numeric_limits<pic_num_t>::max();
const pic_num_t cPict::BLANK = -1;
void cPict::init(){
drawPict()[PIC_TER] = &cPict::drawPresetTer;
@@ -716,7 +716,6 @@ void cPict::drawPresetDlogLg(short num, rectangle to_rect){
}
void cPict::drawPresetTalk(short num, rectangle to_rect){
num--;
to_rect.right = to_rect.left + 32;
to_rect.bottom = to_rect.top + 32;
std::shared_ptr<sf::Texture> from_gw = getSheet(SHEET_TALK);

View File

@@ -12,7 +12,7 @@
/// @file
/// Constants to specify the type of an icon
typedef unsigned short pic_num_t; ///< An icon's unique number
typedef signed short pic_num_t; ///< An icon's unique number
/// Specifies an icon type.
enum ePicType {