Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood), 1,268 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 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 | chip programmers | 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