FAB
asked on
DirectDraw: Overlays.
I need many infos about Overlays.
1st of all, if i ask the question, it's because it didn't work of course on my computer. What is the recommended hardware for Overlays?
2nd, i used GetCaps
DDCAPS ddcaps;
HRESULT ddrval;
ddcaps.dwSize = sizeof( ddcaps );
ddcaps.dwCaps = DDCAPS_ALIGNBOUNDARYSRC | DDCAPS_ALIGNSIZESRC | DDCAPS_ALIGNBOUNDARYDEST |DDCAPS_ALIGNSIZEDEST;
ddrval = lpDD->GetCaps( &ddcaps, NULL );
PutText(ddcaps.dwAlignBoun darySrc,10 0,100);
PutText(ddcaps.dwAlignBoun daryDest,1 00,120);
PutText(ddcaps.dwAlignSize Src,100,14 0);
PutText(ddcaps.dwAlignSize Dest,100,1 60);
PutText(ddcaps.dwMaxVisibl eOverlays, 100,180);
PutText(ddcaps.dwVidMemTot al,100,200 );
PutText(ddcaps.dwCurrVisib leOverlays ,100,220);
And my function PutText works of course. the video memory displayed is something like 1700000 so it shows everything works here, however all the other values returned are 0. does this mean my hardware is too bad to display overlays.
Finally everything crashes when i put CreateSurface.
I would really need overlays, so i would be disppointed if i learnt that it only works with very good hardware. my graphic card is not that good however not that bad too!! it's a s3 i think, with 2 mb. it must have 3 years.
The game i want to create is an action-rpg like Zelda, so of course i inspire myself of nitendo games, where i know everything is done with overlays. there are 6 on the super nes!! so i don't see why my computer shouldn't work if the super nes does. thank you very much bye! Any help will surely be graded A because i will appreciate it soooo much!
1st of all, if i ask the question, it's because it didn't work of course on my computer. What is the recommended hardware for Overlays?
2nd, i used GetCaps
DDCAPS ddcaps;
HRESULT ddrval;
ddcaps.dwSize = sizeof( ddcaps );
ddcaps.dwCaps = DDCAPS_ALIGNBOUNDARYSRC | DDCAPS_ALIGNSIZESRC | DDCAPS_ALIGNBOUNDARYDEST |DDCAPS_ALIGNSIZEDEST;
ddrval = lpDD->GetCaps( &ddcaps, NULL );
PutText(ddcaps.dwAlignBoun
PutText(ddcaps.dwAlignBoun
PutText(ddcaps.dwAlignSize
PutText(ddcaps.dwAlignSize
PutText(ddcaps.dwMaxVisibl
PutText(ddcaps.dwVidMemTot
PutText(ddcaps.dwCurrVisib
And my function PutText works of course. the video memory displayed is something like 1700000 so it shows everything works here, however all the other values returned are 0. does this mean my hardware is too bad to display overlays.
Finally everything crashes when i put CreateSurface.
I would really need overlays, so i would be disppointed if i learnt that it only works with very good hardware. my graphic card is not that good however not that bad too!! it's a s3 i think, with 2 mb. it must have 3 years.
The game i want to create is an action-rpg like Zelda, so of course i inspire myself of nitendo games, where i know everything is done with overlays. there are 6 on the super nes!! so i don't see why my computer shouldn't work if the super nes does. thank you very much bye! Any help will surely be graded A because i will appreciate it soooo much!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
DirectX does not support software emulation of Overlays according to the DirectX documentation. Use DX6 help and query "Step 2: Testing for Hardware Overlay Support".
ASKER
Thank you however for the book.
Bye!
PS: do you know if Overlays are software-emulated in directx 6.0?