Crashing with animation parameters set to 0
Posted: Thu May 15, 2003 11:40 am
If you set the parameters of an animation both to 0 (DELAYS=(BITMAP:0,LOOP:0), RTC starts up fine, but bombs out as soon as the animated object comes into view within the dungeon. It's a divide by zero error, which makes sense:
RTC (V0.24) Diagnostic file - Thu May 15 10:39:02 2003
Error:
an integer divide by zero exception.
Stack Dump:
RTC.GetTrueBitmap(int 1568);
RTC.DrawBitmap(pointer 0x00A95170, int 1568, int 0, int 281, int 162, word 108, float 0);
RTC.DrawDungeonItem(int 4, int 4, int 8);
RTC.DrawDungeonTile(int 4, char 14, char 7, char 0);
RTC.DrawDungeonView(char 11, char 6, char 0, char 1);
RTC.DoFrame(int 50);
RTC.WinMain();
RTC (V0.24) Diagnostic file - Thu May 15 10:39:02 2003
Error:
an integer divide by zero exception.
Stack Dump:
RTC.GetTrueBitmap(int 1568);
RTC.DrawBitmap(pointer 0x00A95170, int 1568, int 0, int 281, int 162, word 108, float 0);
RTC.DrawDungeonItem(int 4, int 4, int 8);
RTC.DrawDungeonTile(int 4, char 14, char 7, char 0);
RTC.DrawDungeonView(char 11, char 6, char 0, char 1);
RTC.DoFrame(int 50);
RTC.WinMain();