| 85 | } |
| 86 | |
| 87 | void |
| 88 | ghack_worn_display(GtkWidget *win, boolean block, gpointer data) |
| 89 | { |
| 90 | int i, j; |
| 91 | struct obj *worn_objects[WORN_HEIGHT][WORN_WIDTH] = WORN_OBJECT_LIST; |
| 92 | |
| 93 | for (i = 0; i < WORN_HEIGHT; i++) { |
| 94 | for (j = 0; j < WORN_WIDTH; j++) { |
| 95 | if (worn_objects[i][j] != last_worn_objects[i][j]) { |
| 96 | last_worn_objects[i][j] = worn_objects[i][j]; |
| 97 | gnome_pixmap_load_imlib( |
| 98 | GNOME_PIXMAP(worn_contents[i][j]), |
| 99 | image_of_worn_object(worn_objects[i][j])); |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | } |
nothing calls this directly
no test coverage detected