diff -r 72cb6af0a275 -r 3c5c8c63a686 pidgin/plugins/crazychat/models.c --- a/pidgin/plugins/crazychat/models.c Tue Sep 15 21:40:59 2015 -0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,75 +0,0 @@ -#include"glm.h" -#include -#include -#include "face.h" - -#define ASCII_DIGITS 48 - -void init_lists(GLint** lists, GLMmodel*** models, int num_lists, char* name, float my_scale){ - int i; - char c; - GLint* temp_lists; - GLMmodel** temp_models; - char* temp = (char*)malloc(sizeof(char) * (strlen(name) + strlen(".obj" + 3))); - GLMmodel* model; - float dum; - temp_lists = (GLint*)malloc(sizeof(GLint) * num_lists); - temp_models = (GLMmodel**)malloc(sizeof(GLMmodel*) * num_lists); - - for(i=0;i=2){ - curr_lid-=2; - } - else if(curr_lid==1){ - curr_lid--; - } - curr_lid=0; - } - return curr_lid; -} - -void apply_output_mode(FACE f, GLfloat* angle, GLfloat* yangle, BOOL* left_open, BOOL* right_open, GLfloat* open, DIRECTION* dir) -{ - struct doggy_struct* dog = (struct doggy_struct*)f->char_struct; - if(f->my_mode==NORMAL){ - f->curr_z_angle=0; - return; - } - if(f->my_mode==CRAZY1){ - f->curr_z_angle = f->curr_z_angle+ANGLE_INC; - *angle = f->curr_z_angle; - } -}