Mercurial > hg > Members > kono > Cerium
view Renderer/Test/aquarium.h @ 875:157f2ffeb526
[Renderer/Test/aquarium] sendable xml object by psx_out()
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 06 Jul 2010 09:51:35 +0900 |
parents | 58b4fb8ad77c |
children | 596009c66065 |
line wrap: on
line source
#include <math.h> #include <stdlib.h> #include "SceneGraphRoot.h" #include "Application.h" #include "MainLoop.h" typedef struct { const char *hostname; int port; } linda_t; class aquarium : public Application { public: static int last_player_id; static Viewer *sgroot; static SceneGraphPtr parent; static linda_t linda_addr; static int linda; static int serial_id; static int start_x; static int width; static char *xml_file_name; static void linda_connect(); static void update_screen_scope(); void create_my_sg(Viewer *sgroot, int screen_w, int screen_h); MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); };