diff --git a/graphics/traveler/tools/libwld/wld_plane.h b/graphics/traveler/tools/libwld/wld_plane.h index 9efd7f0c4..24c9cd982 100644 --- a/graphics/traveler/tools/libwld/wld_plane.h +++ b/graphics/traveler/tools/libwld/wld_plane.h @@ -50,6 +50,7 @@ extern "C" * Included Files *************************************************************************/ +#include #include /************************************************************************* diff --git a/graphics/traveler/tools/libwld/wld_utils.h b/graphics/traveler/tools/libwld/wld_utils.h index 6d3a3a2ee..b4e818e90 100644 --- a/graphics/traveler/tools/libwld/wld_utils.h +++ b/graphics/traveler/tools/libwld/wld_utils.h @@ -40,6 +40,7 @@ * Included files *************************************************************************/ +#include #include /************************************************************************* diff --git a/graphics/traveler/tools/tcledit/tcl_edit.c b/graphics/traveler/tools/tcledit/tcl_edit.c index 448ae38a2..7025500aa 100644 --- a/graphics/traveler/tools/tcledit/tcl_edit.c +++ b/graphics/traveler/tools/tcledit/tcl_edit.c @@ -195,30 +195,30 @@ static int tcledit_setmode(ClientData clientData, ginfo("Entering NEWX mode\n"); g_edit_plane = EDITPLANE_X; g_edit_rect.plane = g_plane_position[EDITPLANE_X]; - g_edit_rect.hStart = g_plane_position[EDITPLANE_Y]; - g_edit_rect.hEnd = g_edit_rect.hStart; - g_edit_rect.vStart = g_plane_position[EDITPLANE_Z]; - g_edit_rect.vEnd = g_edit_rect.vStart; + g_edit_rect.hstart = g_plane_position[EDITPLANE_Y]; + g_edit_rect.hend = g_edit_rect.hstart; + g_edit_rect.vstart = g_plane_position[EDITPLANE_Z]; + g_edit_rect.vend = g_edit_rect.vstart; } else if (strcmp(argv[2], "y") == 0) { ginfo("Entering NEWY mode\n"); g_edit_plane = EDITPLANE_Y; g_edit_rect.plane = g_plane_position[EDITPLANE_Y]; - g_edit_rect.hStart = g_plane_position[EDITPLANE_X]; - g_edit_rect.hEnd = g_edit_rect.hStart; - g_edit_rect.vStart = g_plane_position[EDITPLANE_Z]; - g_edit_rect.vEnd = g_edit_rect.vStart; + g_edit_rect.hstart = g_plane_position[EDITPLANE_X]; + g_edit_rect.hend = g_edit_rect.hstart; + g_edit_rect.vstart = g_plane_position[EDITPLANE_Z]; + g_edit_rect.vend = g_edit_rect.vstart; } else if (strcmp(argv[2], "z") == 0) { ginfo("Entering NEWZ mode\n"); g_edit_plane = EDITPLANE_Z; g_edit_rect.plane = g_plane_position[EDITPLANE_Z]; - g_edit_rect.hStart = g_plane_position[EDITPLANE_X]; - g_edit_rect.hEnd = g_edit_rect.hStart; - g_edit_rect.vStart = g_plane_position[EDITPLANE_Y]; - g_edit_rect.vEnd = g_edit_rect.vStart; + g_edit_rect.hstart = g_plane_position[EDITPLANE_X]; + g_edit_rect.hend = g_edit_rect.hstart; + g_edit_rect.vstart = g_plane_position[EDITPLANE_Y]; + g_edit_rect.vend = g_edit_rect.vstart; } else { @@ -370,14 +370,14 @@ static int tcledit_new_edit(ClientData clientData, else if (strcmp(argv[1], "y") == 0) { ginfo("New horizontal Y coordinates: {%d,%d}\n", start, end); - g_edit_rect.hStart = start; - g_edit_rect.hEnd = end; + g_edit_rect.hstart = start; + g_edit_rect.hend = end; } else if (strcmp(argv[1], "z") == 0) { ginfo("New vertical Z coordinates: {%d,%d}\n", start, end); - g_edit_rect.vStart = start; - g_edit_rect.vEnd = end; + g_edit_rect.vstart = start; + g_edit_rect.vend = end; } else { @@ -390,8 +390,8 @@ static int tcledit_new_edit(ClientData clientData, if (strcmp(argv[1], "x") == 0) { ginfo("New horizontal X coordinates: {%d,%d}\n", start, end); - g_edit_rect.hStart = start; - g_edit_rect.hEnd = end; + g_edit_rect.hstart = start; + g_edit_rect.hend = end; } else if (strcmp(argv[1], "y") == 0) { @@ -401,8 +401,8 @@ static int tcledit_new_edit(ClientData clientData, else if (strcmp(argv[1], "z") == 0) { ginfo("New vertical Z coordinates: {%d,%d}\n", start, end); - g_edit_rect.vStart = start; - g_edit_rect.vEnd = end; + g_edit_rect.vstart = start; + g_edit_rect.vend = end; } else { @@ -415,14 +415,14 @@ static int tcledit_new_edit(ClientData clientData, if (strcmp(argv[1], "x") == 0) { ginfo("New horizontal X coordinates: {%d,%d}\n", start, end); - g_edit_rect.hStart = start; - g_edit_rect.hEnd = end; + g_edit_rect.hstart = start; + g_edit_rect.hend = end; } else if (strcmp(argv[1], "y") == 0) { ginfo("New vertical Y coordinates: {%d,%d}\n", start, end); - g_edit_rect.vStart = start; - g_edit_rect.vEnd = end; + g_edit_rect.vstart = start; + g_edit_rect.vend = end; } else if (strcmp(argv[1], "z") == 0) {