Skip to content

Commit

Permalink
* Removed graph paper effect in --bw mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
smcameron committed Aug 9, 2009
1 parent ecbcc4d commit 880a21f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions wordwarvi.c
Expand Up @@ -2504,20 +2504,6 @@ void do_weak_rumble()
play_rumble_effect(RUMBLE_WEAK_RUMBLE_EFFECT);
}

void draw_graphpaper(GtkWidget *w)
{
int i;
static GdkColor absolute_cyan =
/* Not sure this 65535 pixel value is kosher, cribbed empirically... */
{/*pixel=*/65535, /*red=*/0, /*green=*/65535, /*blue=*/65535 };
gdk_gc_set_foreground(gc, &absolute_cyan);

for (i=10 - (game_state.x & 0x1f);i<SCREEN_WIDTH;i+=32)
wwvi_draw_line(w->window, gc, i, 0, i, SCREEN_HEIGHT);
for (i=10 - (game_state.y & 0x1f);i<SCREEN_WIDTH;i+=32)
wwvi_draw_line(w->window, gc, 0, i, SCREEN_WIDTH, i);
}

void incorrect_draw_stars(GtkWidget *w)
{
short i;
Expand Down Expand Up @@ -10620,9 +10606,6 @@ static int main_da_expose(GtkWidget *w, GdkEvent *event, gpointer p)
static int last_lowx = 0, last_highx = TERRAIN_LENGTH-1;
/* int last_lowx = 0, last_highx = TERRAIN_LENGTH-1;*/

if (no_colors_any_more)
draw_graphpaper(w);

if (timer_event == START_INTERMISSION_EVENT) {
do_intermission(w, event, p);
return 0;
Expand Down

0 comments on commit 880a21f

Please sign in to comment.