X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=share%2Fsolid.h;h=6038b8365c5730d93986e007e7281270e32222f6;hb=1745b6a90dfd9e626e5c40d20c6aa595ec41d888;hp=a97219a3f94e3a19895dd6bfae289a648702d477;hpb=e792e7bd9efb7488a3bcedf4cfb59655f9fec114;p=neverball diff --git a/share/solid.h b/share/solid.h index a97219a..6038b83 100644 --- a/share/solid.h +++ b/share/solid.h @@ -53,7 +53,6 @@ * d Dictionary (struct s_dict) * i Index (int) * a Text (char) - * * The Ys are as follows: * @@ -224,7 +223,6 @@ struct s_swch int f; /* current state */ int i; /* is invisible? */ int e; /* is a ball inside it? */ - int b; /* which ball? */ }; struct s_bill @@ -260,9 +258,6 @@ struct s_ball float E[3][3]; /* basis of pendulum */ float W[3]; /* angular pendulum velocity */ float r; /* radius */ - int P; /* play state */ - int m; /* is ball mobile? */ - float O[3]; /* original position */ }; struct s_view @@ -336,9 +331,9 @@ void sol_free(struct s_file *); float sol_step(struct s_file *, const float *, float, int, int *); int sol_jump_test(struct s_file *, float *, int); -int sol_swch_test(struct s_file *); -int sol_goal_test(struct s_file *, float *, int); +int sol_swch_test(struct s_file *, int); +struct s_goal *sol_goal_test(struct s_file *, float *, int); struct s_item *sol_item_test(struct s_file *, float *, float); /*---------------------------------------------------------------------------*/