projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030423-1-src
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index a10ba95f4844805b53069071d99c514440359cf9..86311c57cc985846a50c28ce36b66a0b710a9dc6 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-3406,8
+3406,10
@@
static void DrawPropertiesConfig()
else
DrawElementContentAreas();
}
else
DrawElementContentAreas();
}
+#if 1
else if (IS_CUSTOM_ELEMENT(properties_element))
DrawCustomChangedArea();
else if (IS_CUSTOM_ELEMENT(properties_element))
DrawCustomChangedArea();
+#endif
}
if (IS_GEM(properties_element))
}
if (IS_GEM(properties_element))
@@
-3440,6
+3442,7
@@
static void DrawPropertiesConfig()
MapCheckbuttonGadget(i);
}
MapCheckbuttonGadget(i);
}
+#if 1
/* draw selectbox gadget */
i = ED_SELECTBOX_ID_CUSTOM_CHANGE_CAUSE;
x = selectbox_info[i].x + xoffset_right2;
/* 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);
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_AMOEBALIVE, "- living amoeba" },
{ EP_AMOEBOID, "- amoeboid" },
- { EP_PFORTE, "- pforte" },
- { EP_SOLID, "- solid" },
{ EP_INDESTRUCTIBLE, "- undestructible" },
{ EP_SLIPPERY, "- slippery" },
{ EP_ENEMY, "- enemy" },
{ 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" },
{ 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 (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,
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++;
}
screen_line++;
}
+#endif
PrintInfoText("Description:", FONT_TEXT_1, screen_line);
if (PrintElementDescriptionFromFile(filename, screen_line + 1) == 0)
PrintInfoText("Description:", FONT_TEXT_1, screen_line);
if (PrintElementDescriptionFromFile(filename, screen_line + 1) == 0)