flat assembler
Message board for the users of flat assembler.

Index > Windows > DirectX includes

Author
Thread Post new topic Reply to topic
Dilshod



Joined: 23 Feb 2005
Posts: 23
Location: Uzbekistan, Tashkent
Dilshod
Hi,
what to use better Dx7,Dx8, or Dx9 ?
what the difference between Dx8 and Dx9 ?
and where can I get Include files for all DirectX Components for FASM 1.58 ?
thanks
Post 03 Aug 2005, 05:49
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Depends what you going to make - if you're doing 2D graphics i would recommend Dx7 or SDL(http://www.libsdl.org/index.php) and for 3D graphics Dx9
Dx9 has more shader support and stuff...so looks nicer if you know how to program them(I don't) and I think Dx9 is faster.

For the includes.
You might need to make them yourself - here's two tools that might be useful. You'll have to find the dlls that dx uses in the windows system directory.

Both are called DLL2INC Smile
http://board.flatassembler.net/topic.php?t=3828 - Mine which is gui though supports command line as well.
http://board.flatassembler.net/topic.php?t=3229 - This is faster but only command line by Reverend.

If you need the parameter count version of my DLL2INC... mail me at tcmreastwood at ntlworld.com.
where 'at' means @

Oh yeah...why FASM 1.58 - FASM 1.63.5 is out Smile
http://flatassembler.net/download.php
Post 03 Aug 2005, 06:22
View user's profile Send private message MSN Messenger Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
and for sure get Direct X SDK (for examples, includes to translate etc.). And DX is bitch, you have to do everything using the way in examples, anything other even if it should work doesn't. and if your app crashes in DX it doesn't even throw error message, it just exits. etc etc, it's really a bitch
Post 03 Aug 2005, 06:58
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Here are some Directx includes that you can use, has Direct3d7, Direct3d8, Direct3d9, DirectInput, DirectSound, DirectDraw, Windows Multimedia.
Post 03 Aug 2005, 08:45
View user's profile Send private message Reply with quote
Dilshod



Joined: 23 Feb 2005
Posts: 23
Location: Uzbekistan, Tashkent
Dilshod
Ok, will use Dx9,
may be any body knows some h2inc translator,
and I will try DLL2INC,
all thanks
Post 03 Aug 2005, 13:04
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
i have also some includes for direct3d at home (interfaces and such), for 7/8/9 and i will post once i het home
Post 03 Aug 2005, 16:48
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
thanks, madmatt for the dx equates Smile
Post 03 Aug 2005, 20:18
View user's profile Send private message MSN Messenger Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
No problem. Glad I could help. Smile
Post 04 Aug 2005, 00:29
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
These are some includes that i made (mostly interface definitions)


Description: Direct3D 9 interfaces
Download
Filename: dx9.inc
Filesize: 11.12 KB
Downloaded: 255 Time(s)

Description: Direct3D 8 interfaces
Download
Filename: dx8.inc
Filesize: 11.65 KB
Downloaded: 208 Time(s)

Description: DirectInput interfaces
Download
Filename: dinput.inc
Filesize: 8.73 KB
Downloaded: 222 Time(s)


_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 04 Aug 2005, 03:54
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Forgot that you'll need this piece of code in your kernel.inc include if you want to use the GUID references.

Code:
struct GUID
       Data1 dd 0
       Data2 dw 0
       Data3 dw 0
       Data4 db 8 dup(0)
ends
    
Post 04 Aug 2005, 05:48
View user's profile Send private message Reply with quote
iklin



Joined: 20 Mar 2004
Posts: 120
Location: Russia, Siberia
iklin
Look at this - http://vertexland.narod.ru/data/fasm.htm - sorry, but this page in only in rusian.
Post 17 Aug 2005, 16:21
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.