From ae3a780491b700be0258b1c2243c86cf10729fcc Mon Sep 17 00:00:00 2001 From: Bradley Smith Date: Sun, 3 Aug 2008 16:22:59 +0100 Subject: Add Gtk interface. Using a Vte for guile input. Signed-off-by: Bradley Smith --- include/grobot.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/grobot.h') diff --git a/include/grobot.h b/include/grobot.h index fd7f794..52a7039 100644 --- a/include/grobot.h +++ b/include/grobot.h @@ -21,7 +21,7 @@ #include #include -#include "userinterface.h" +#include "ui-arena.h" #include "map.h" G_BEGIN_DECLS @@ -53,7 +53,7 @@ struct _GRobot { glong shots; glong units; - UserInterface *ui; + UIArena *ui; Map *map; }; @@ -73,7 +73,7 @@ GType g_robot_get_type(void) G_GNUC_CONST; /* Our object functions */ GRobot* g_robot_new(int x, int y, int dir, long score, long energy, - long shield, long units, long shots, UserInterface *ui, Map *map); + long shield, long units, long shots, UIArena *ui, Map *map); void g_robot_turn (GRobot *robot, gint num_turns); gboolean g_robot_move (GRobot *robot, gint steps); -- cgit v1.1