view plugins/crazychat/sharky.h @ 13480:ff06120eaf1e

[gaim-migrate @ 15856] Initialize the buddy_icons system before initializing the accounts system. When the accounts system loads, load_accounts() calls parse_account(), which in turn can call gaim_account_set_buddy_icon(). gaim_account_set_buddy_icon() has several routes by which gaim_buddy_icons_get_cache_dir(), particularly if the buddy icon path points to a file which no longer exists, in gaim_buddy_icons_get_full_path(). If the buddy_icons system hasn't been initialized, gaim_buddy_icons_get_cache_dir() returns NULL, and that's bad. committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 09 Mar 2006 15:49:34 +0000
parents ed017b9c532d
children
line wrap: on
line source

#include "glm.h"

struct shark_struct{
	GLint* faces, *lids, *fins, *eyes, *iris, *pupil;
	GLMmodel** m_faces, **m_lids, **m_fins, **m_eyes, **m_iris, **m_pupil;
	int curr_face, curr_fin, curr_left_lid, curr_right_lid, curr_right_eye, curr_left_eye, curr_pupil, eye_count;
	float curr_fin_angle;
};

void init_shark(FACE f);