-#ifdef HAVE_XPM
-# include <X11/xpm.h>
-
-# include "noses/nose-f1.xpm"
-# include "noses/nose-f2.xpm"
-# include "noses/nose-f3.xpm"
-# include "noses/nose-f4.xpm"
-# include "noses/nose-l1.xpm"
-# include "noses/nose-l2.xpm"
-# include "noses/nose-r1.xpm"
-# include "noses/nose-r2.xpm"
+ unsigned long interval;
+ Pixmap left1, left2, right1, right2;
+ Pixmap left_front, right_front, front, down;
+
+ char *program, *orig_program;
+
+ int state; /* indicates states: walking or getting passwd */
+ int first_time;
+
+ void (*next_fn) (struct state *);
+
+ int move_length, move_dir;
+
+ int walk_lastdir;
+ int walk_up;
+ Pixmap walk_frame;
+
+ int X, Y, talking;
+
+ struct {
+ int x, y, width, height;
+ } s_rect;
+
+ char word_buf[BUFSIZ];
+};
+
+static char *get_words (struct state *);
+static void walk (struct state *, int dir);
+static void talk (struct state *, int erase);
+static void talk_1 (struct state *);
+static int think (struct state *);
+static unsigned long look (struct state *);
+
+#define IS_MOVING 1
+
+#if defined(HAVE_GDK_PIXBUF) || defined(HAVE_XPM)
+# include "images/noseguy/nose-f1.xpm"
+# include "images/noseguy/nose-f2.xpm"
+# include "images/noseguy/nose-f3.xpm"
+# include "images/noseguy/nose-f4.xpm"
+# include "images/noseguy/nose-l1.xpm"
+# include "images/noseguy/nose-l2.xpm"
+# include "images/noseguy/nose-r1.xpm"
+# include "images/noseguy/nose-r2.xpm"