From: Laszlo T. <ave...@us...> - 2006-07-03 16:02:49
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv30044 Modified Files: CharAnimations.cpp Log Message: fixed static bg animation cycles Index: CharAnimations.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/CharAnimations.cpp,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** CharAnimations.cpp 30 Jun 2006 07:04:55 -0000 1.87 --- CharAnimations.cpp 3 Jul 2006 16:02:46 -0000 1.88 *************** *** 666,669 **** --- 666,671 ---- } + static int one_file[19]={2, 1, 0, 0, 2, 3, 0, 1, 0, 4, 1, 0, 0, 0, 3, 1, 4, 4, 4}; + void CharAnimations::GetAnimResRef(unsigned char StanceID, unsigned char Orient, *************** *** 692,696 **** case IE_ANI_ONE_FILE: ! Cycle = StanceID * 16 + Orient; break; --- 694,698 ---- case IE_ANI_ONE_FILE: ! Cycle = one_file[StanceID] * 16 + Orient; break; |