Skip to content

Commit

Permalink
Removed commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Medo42 committed Dec 11, 2012
1 parent cec6d95 commit 5ed58a8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Source/gg2/Objects/Overlays/KillLog.events/Draw.xml
Expand Up @@ -37,11 +37,7 @@ for (i = 0; i < ds_list_size(kills); i += 1) {
if (in)
color = make_color_rgb(217,217,183);
else color = make_color_rgb(49,45,26);
/*draw_rectangle_color(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 8 - sprite_get_width(w1), view_yview[0] + i * 20 + 14 + yoffset,
view_xview[0] + view_wview[0] - 8, view_yview[0] + i * 20 + 24 + 8 + yoffset, color, color, color, color, 0);
draw_rectangle_color(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 10 - sprite_get_width(w1), view_yview[0] + i * 20 + 16 + yoffset,
view_xview[0] + view_wview[0] - 6, view_yview[0] + i * 20 + 24 + 6+ yoffset, color, color, color, color, 0);
*/

draw_rectangle_color(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 12 - sprite_get_width(w1), view_yview[0] + i * 20 + 14 + yoffset,
view_xview[0] + view_wview[0] - 8, view_yview[0] + i * 20 + 24 + 8 + yoffset, color, color, color, color, 0);
draw_rectangle_color(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 14 - sprite_get_width(w1), view_yview[0] + i * 20 + 16 + yoffset,
Expand All @@ -54,11 +50,9 @@ for (i = 0; i < ds_list_size(kills); i += 1) {
} else {
draw_set_color(c_white);
}
//draw_text(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 8 - sprite_get_width(w1), view_yview[0] + i * 20 + 24 + yoffset, n1);
draw_text(view_xview[0] + view_wview[0] - string_width(n1 + n2 + str) - 12 - sprite_get_width(w1), view_yview[0] + i * 20 + 24 + yoffset, n1);
draw_set_halign(fa_left);
if (w1 != -1) {
//draw_sprite(w1, in, floor(view_xview[0] + view_wview[0] - string_width(n2 + str) - 8 - sprite_get_width(w1)/2 /*- sprite_get_xoffset(w1)*/), floor(view_yview[0] + i * 20 + 24 + yoffset));
draw_sprite(w1, in, floor(view_xview[0] + view_wview[0] - string_width(n2 + str) - 10 - sprite_get_width(w1)/2 /*- sprite_get_xoffset(w1)*/), floor(view_yview[0] + i * 20 + 24 + yoffset));
}

Expand Down

0 comments on commit 5ed58a8

Please sign in to comment.