Mercurial > hg > Members > kono > Cerium
comparison Renderer/Test/aquarium.h @ 881:c81744aaa3ef
cannot load xml of 3rd screen bug fix (include init bug yet)
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 09 Jul 2010 14:33:31 +0900 |
parents | 596009c66065 |
children |
comparison
equal
deleted
inserted
replaced
880:f4bdf2b0d7da | 881:c81744aaa3ef |
---|---|
11 class aquarium : public Application { | 11 class aquarium : public Application { |
12 public: | 12 public: |
13 static int last_player_id; | 13 static int last_player_id; |
14 | 14 |
15 static Viewer *sgroot; | 15 static Viewer *sgroot; |
16 static SceneGraphPtr parent; | |
17 static linda_t linda_addr; | 16 static linda_t linda_addr; |
18 static int linda; | 17 static int linda; |
19 static int serial_id; | 18 static int serial_id; |
20 static int start_x; | 19 static int start_x; |
21 static int width; | 20 static int width; |
22 static char *xml_file_name; | 21 static char *xml_file_name; |
23 static void linda_connect(); | 22 static void linda_connect(); |
24 static void update_screen_scope(); | 23 static void update_screen_scope(); |
25 static void send_position(SceneGraphPtr node); | 24 static void send_position(SceneGraphPtr node); |
26 static void set_position(SceneGraphPtr node, unsigned char *reply); | 25 static void set_position(SceneGraphPtr node, unsigned char *reply); |
26 static void update_last_player_id(); | |
27 void create_my_sg(Viewer *sgroot, SceneGraphPtr parent, int screen_w, int screen_h); | 27 void create_my_sg(Viewer *sgroot, SceneGraphPtr parent, int screen_w, int screen_h); |
28 MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); | 28 MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); |
29 }; | 29 }; |