diff Renderer/Test/aquarium.cc @ 877:65f0c4c7f381

[Renderer/Test/aquarium] changed euc to utf8
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Tue, 06 Jul 2010 09:55:35 +0900
parents 157f2ffeb526
children 596009c66065
line wrap: on
line diff
--- a/Renderer/Test/aquarium.cc	Tue Jul 06 09:52:20 2010 +0900
+++ b/Renderer/Test/aquarium.cc	Tue Jul 06 09:55:35 2010 +0900
@@ -51,7 +51,7 @@
 {
 
     SceneGraphRoot *sgroot = (SceneGraphRoot *)sgroot_;
-	// LindaServerから座標データを取得してオブジェクトに反映させる。
+	// LindaServer綺ф若帥緇吾с
 	
 	if (!node->resend_flag || node->seq_rd != node->seq) {
 		unsigned char *reply_rd = psx_reply(node->seq_rd);
@@ -165,7 +165,7 @@
 {
 	this->sgroot = sgroot;
 	width = screen_w;
-	linda_connect(); // 接続に合わせて serial_id も取得
+	linda_connect(); // ・膓 serial_id 緇
 	update_screen_scope();
 	parent = sgroot->createSceneGraph();
 	parent->set_move_collision(check_new_player_move, null_collision);
@@ -181,9 +181,9 @@
 
 void
 aquarium::linda_connect() {
-	init_linda(); // セレクタの初期化
+	init_linda(); // 祉帥
 	linda = open_linda_java(linda_addr.hostname, linda_addr.port);
-	// serial_id の取得
+	// serial_id 緇
 	int seq = psx_in(linda, GET_SERIAL_ID);
 	unsigned char *data = NULL;
 	do {
@@ -205,11 +205,11 @@
 	} while (data == NULL);
 	aqua::Width *w = new aqua::Width();
 	w->ParseFromArray(data + LINDA_HEADER_SIZE, *(int *)(data + LINDA_DATA_LENGTH_OFFSET));
-	start_x = w->width(); // 現在の全長を取得
-	w->set_width(start_x + width); // 自分の横幅を足す
+	start_x = w->width(); // 憜激緇
+	w->set_width(start_x + width); // 罔綛莇潟
 	int size = w->ByteSize();
 	unsigned char *msg = (unsigned char *) sgroot->manager->allocate(sizeof(char) * size);
-	w->SerializeToArray(msg, size); // 更新したデータを再度シリアライズ
+	w->SerializeToArray(msg, size); // 贋違若帥綺激≪ゃ
 	delete w;
 	psx_out(linda, 1, msg, size);
 	psx_sync_n();