diff tree_controll.h @ 7:972a7f233b23

g++ compile
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 07 Dec 2010 23:03:45 +0900
parents 01387a2e419e
children
line wrap: on
line diff
--- a/tree_controll.h	Tue Dec 07 18:11:38 2010 +0900
+++ b/tree_controll.h	Tue Dec 07 23:03:45 2010 +0900
@@ -1,8 +1,8 @@
 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord);
 SURFACE *next_draw_node(SURFACE *surface);
 //void obj_draw(SURFACE *surfaces);
-SURFACE *search_node(OBJECT *top, char *name);
+SURFACE *search_node(OBJECT *top, const char *name);
 SURFACE *next_node(SURFACE *surfaces);
 //void node_draw(OBJECT *top, char *name);
-void node_prameter_change(OBJECT *top, char *name, float x, float y, float z, float ax, float ay, float az);
+void node_prameter_change(OBJECT *top, const char *name, float x, float y, float z, float ax, float ay, float az);
 //void all_object_load_texture(OBJECT *top);