- Cal3D 0.11 API Reference - |
00001 //****************************************************************************// 00002 // animcallback.h // 00003 // Copyright (C) 2004 Keith Fulton <keith@paqrat.com> // 00004 //****************************************************************************// 00005 // This library is free software; you can redistribute it and/or modify it // 00006 // under the terms of the GNU Lesser General Public License as published by // 00007 // the Free Software Foundation; either version 2.1 of the License, or (at // 00008 // your option) any later version. // 00009 //****************************************************************************// 00010 00011 #ifndef CAL_ANIMCALLBACK_H 00012 #define CAL_ANIMCALLBACK_H 00013 00014 00015 #include "cal3d/global.h" 00016 00017 00018 class CalAnimation; 00019 00020 struct CalAnimationCallback 00021 { 00022 virtual ~CalAnimationCallback() {} 00023 virtual void AnimationUpdate(float anim_time,CalModel *model, void * userData) = 0; 00024 virtual void AnimationComplete(CalModel *model, void * userData) = 0; 00025 }; 00026 00027 00028 #endif 00029 00030 //****************************************************************************//