Brought back the extra graphics and added extra monster graphics

git-svn-id: http://openexile.googlecode.com/svn/trunk@59 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-17 03:13:00 +00:00
parent a52a4c20c1
commit 88ff8a0886
9 changed files with 34 additions and 25 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 MiB

After

Width:  |  Height:  |  Size: 6.1 MiB

View File

@@ -1158,7 +1158,7 @@ bool save_monst_info() {
}
}
else {
if (cre(store_monst.picture_num,0,174,"Non-customized monster pic must be from 0 to 173.","",814) > 0) return false;
if (cre(store_monst.picture_num,0,PICT_N_MONST,"Non-customized monster pic must be from 0 to 173.","",814) > 0) return false;
store_monst.x_width = m_pic_index[store_monst.picture_num].x;
store_monst.y_width = m_pic_index[store_monst.picture_num].y;
@@ -1246,7 +1246,7 @@ void edit_monst_type_event_filter (short item_hit) {
if (save_monst_info() == false) break;
i = choose_graphic(/*400,572*/0,PICT_N_MONST,store_monst.picture_num/* + 400*/,PICT_MONST,814);
if (i >= 0) {
store_monst.picture_num = i - 400;
store_monst.picture_num = i;
}
else break;
store_monst.x_width = m_pic_index[i].x;

View File

@@ -64,7 +64,7 @@ extern location cur_out;
short num_ir[3] = {12,10,4};
GWorldPtr monst_gworld[10];
GWorldPtr monst_gworld[11];
GWorldPtr terrain_gworld[7];
GWorldPtr editor_mixed;
GWorldPtr terrain_buttons_gworld;
@@ -424,7 +424,7 @@ void load_graphics(){
for (i = 0; i < 25; i++)
map_pat[i] = GetPixPat (200 + i);
for (i = 0; i < 10; i++)
for (i = 0; i < 11; i++)
monst_gworld[i] = load_pict(1100 + i);
for (i = 0; i < 7; i++)
terrain_gworld[i] = load_pict(800 + i);