i think directX doesnt support animations, so darkGDK doesnt.
here's a useful function, not as good as those (old) animation functions, but i think its enough:
#include "globstruct.h"
HWND hwnd_MCIWnd; // MCIWnd window handle
void PlayVideo (HWND hwnd_ParentWindow, LPSTR lpstr, int OriginX, int OriginY, int Width, int Height)
{
DWORD dwMCIWndStyle = WS_CHILD | // child window
WS_VISIBLE | // visible
MCIWNDF_NOTIFYMODE | // notifies of mode changes
MCIWNDF_NOPLAYBAR; // hides toolbar
hwnd_MCIWnd = MCIWndCreate(hwnd_ParentWindow, GetModuleHandle(NULL), dwMCIWndStyle, NULL);
MCIWndOpen(hwnd_MCIWnd, lpstr, NULL); // new device in window
SetWindowPos(hwnd_MCIWnd,NULL,OriginX,OriginY,Width,Height,SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
MCIWndPlay(hwnd_MCIWnd); // plays device
}
used like this:
PlayVideo ( g_pGlob->hWnd, "filename", windowX, windowX, windowSizeX, windowSizeY );
dbWait ( videoDelayInMilliseconds );
DestroyWindow ( hwnd_MCIWnd );
i got it from sydbod