Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 14,136 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lite-C: finish d3d9.h #180016
01/26/08 10:35
01/26/08 10:35
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline OP
Expert
Excessus  Offline OP
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
Hi,

Today I wanted to use the LPD3DXEFFECT->SetMatrix() function, but LPD3DXEFFECT yields an undeclared identifier error. I looked in d3d9.h and it says:
Quote:

// To do: all here the function prototypes from
//#include <d3dx9math.h>
//#include <d3dx9core.h>
// "d3dx9xof.h"
//#include <d3dx9mesh.h>
// "d3dx9shader.h"
// "d3dx9effect.h"
// "d3dx9shape.h"
// "d3dx9anim.h"




I tried doing it myself, (I have the directx SDK installed), but I'm getting many syntax errors and I don't know what I'm doing wrong. I'm willing to do this if it isn't too much work, but I don't know how.

I tried copying the ID3DXEffect interface from d3dx9effect.h, but it has many dependencies. For example, it needs D3DXPARAMETER_DESC. So I added that. D3DXPARAMETER_DESC requires D3DXPARAMETER_CLASS which is defined in d3dx9shader.h. But D3DXPARAMETER_CLASS is an enum. Lite-C doesn't support enums, right?

Could this please be added, or explained?

Thanks

Re: Lite-C: finish d3d9.h [Re: Excessus] #180017
01/26/08 14:30
01/26/08 14:30
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline OP
Expert
Excessus  Offline OP
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
Quote:

V7.08.0b beta - in development
The LPD3DXEFFECT interface was added to d3d9.h.




Now that's a fast service! Thanks a lot!


Moderated by  aztec, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1