X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=86311c57cc985846a50c28ce36b66a0b710a9dc6;hb=c956237d7c5507aea649ce7b20c00d7bd9d37a7a;hp=a10ba95f4844805b53069071d99c514440359cf9;hpb=22e05dae8df6b55dd13eefd0a808a06f82ddba35;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index a10ba95f..86311c57 100644 --- a/src/editor.c +++ b/src/editor.c @@ -3406,8 +3406,10 @@ static void DrawPropertiesConfig() else DrawElementContentAreas(); } +#if 1 else if (IS_CUSTOM_ELEMENT(properties_element)) DrawCustomChangedArea(); +#endif } if (IS_GEM(properties_element)) @@ -3440,6 +3442,7 @@ static void DrawPropertiesConfig() MapCheckbuttonGadget(i); } +#if 1 /* draw selectbox gadget */ i = ED_SELECTBOX_ID_CUSTOM_CHANGE_CAUSE; x = selectbox_info[i].x + xoffset_right2; @@ -3451,6 +3454,7 @@ static void DrawPropertiesConfig() ModifyGadget(level_editor_gadget[selectbox_info[i].gadget_id], GDI_SELECTBOX_INDEX, *selectbox_info[i].index, GDI_END); MapSelectboxGadget(i); +#endif } } @@ -3681,12 +3685,9 @@ static void DrawPropertiesInfo() { { EP_AMOEBALIVE, "- living amoeba" }, { EP_AMOEBOID, "- amoeboid" }, - { EP_PFORTE, "- pforte" }, - { EP_SOLID, "- solid" }, { EP_INDESTRUCTIBLE, "- undestructible" }, { EP_SLIPPERY, "- slippery" }, { EP_ENEMY, "- enemy" }, - { EP_MAUER, "- mauer" }, { EP_CAN_FALL, "- can fall" }, { EP_CAN_SMASH, "- can smash" }, { EP_CAN_CHANGE, "- can change" }, @@ -3746,6 +3747,7 @@ static void DrawPropertiesInfo() if (HAS_PROPERTY(properties_element, properties[i].value)) num_standard_properties++; +#if 1 if (num_standard_properties > 0) { DrawTextF(pad_x, pad_y + screen_line * font2_height, font1_nr, @@ -3764,6 +3766,7 @@ static void DrawPropertiesInfo() screen_line++; } +#endif PrintInfoText("Description:", FONT_TEXT_1, screen_line); if (PrintElementDescriptionFromFile(filename, screen_line + 1) == 0)