GPWiki.org
GPWiki.org
It is currently Thu May 23, 2013 3:10 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Tue Jan 08, 2008 7:00 pm 
Bytewise

Joined: Sun Jun 25, 2006 1:20 pm
Posts: 271
May be nothing but I was looking at a DX7 windowed thingie
http://gpwiki.org/index.php/DirectX:Dir ... rid_Engine

It says
Primary.s.Blt DestRect, RenderTarget.s, SrcRect, DDBLTFAST_WAIT

Should it be BltFast or DDBLT_WAIT ?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 09, 2008 12:29 pm 
Sir Postalot
User avatar

Joined: Thu Aug 26, 2004 4:34 am
Posts: 2498
Probably DDBLT_WAIT. I can't say for certain though, I haven't touched VB or DX in many years.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 09, 2008 6:24 pm 
Babirusa
User avatar

Joined: Thu Aug 19, 2004 2:55 pm
Posts: 9241
Location: The Netherlands
wouldn't be surprised if they have the same value, do not have VB here installed or the DX headers though.

_________________
Serious game developer

http://www.persistentrealities.com
http://www.persistentrealities.com/vbfibre
http://www.ambiances.nl


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 09, 2008 9:19 pm 
Sir Postalot
User avatar

Joined: Thu Aug 26, 2004 4:34 am
Posts: 2498
They should have the same value. There's rarely a good reason to have two enums with the almost-the same name and the same function and not the same value.


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 09, 2008 10:39 pm 
411 Operator

Joined: Tue Feb 21, 2006 12:32 am
Posts: 481
Location: California, USA
Gonzo wrote:
May be nothing but I was looking at a DX7 windowed thingie
http://gpwiki.org/index.php/DirectX:Dir ... rid_Engine

It says
Primary.s.Blt DestRect, RenderTarget.s, SrcRect, DDBLTFAST_WAIT

Should it be BltFast or DDBLT_WAIT ?


That looks like a typo.

I don't even think there is a DDBLTFAST_WAIT enum in DirectDraw7 and if there is, it's for the BltFast() method, not the Blt() method.

_________________
The only difference between genius and psychosis is that society accepts the genius.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jan 10, 2008 7:28 am 
Babirusa
User avatar

Joined: Thu Aug 19, 2004 2:55 pm
Posts: 9241
Location: The Netherlands
Well, I do have the SDK here at work ofcourse, so here we go:

#define DDBLT_WAIT 0x01000000l
#define DDBLTFAST_WAIT 0x00000010
#define DDFLIP_WAIT 0x00000001L
(ddraw.h)


Which awfully looks to me as 'not the same values'. I really expected that the top two were/should have been the same.

_________________
Serious game developer

http://www.persistentrealities.com
http://www.persistentrealities.com/vbfibre
http://www.ambiances.nl


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jan 11, 2008 6:21 am 
Sir Postalot
User avatar

Joined: Thu Aug 26, 2004 4:34 am
Posts: 2498
Thank you Microsoft. You're always there to beat the crap out of us if we even consider to make a logical assumption. :D


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jan 11, 2008 8:34 am 
Technomaniac

Joined: Sun Dec 05, 2004 11:27 am
Posts: 3249
Location: Sydney, Australia
ViX44 wrote:
Thank you Microsoft. You're always there to beat the crap out of us if we even consider to make a logical assumption. :D

How is it a logical assumption that passing a flag clearly marked for one function should give you sane behaviour when you pass it into a totally different function?

_________________
Trying is the first step towards failure
b


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group