Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Shader Plugin / Shader Help
Re: Shader Plugin / Shader Help [message #389951 is a reply to message #389945] Wed, 10 June 2009 10:58 Go to previous messageGo to previous message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma:
General (1 Star)
Saberhawk wrote on Wed, 10 June 2009 19:36

Omar007 wrote on Wed, 10 June 2009 10:50

halo2pac wrote on Wed, 10 June 2009 15:46

Omar007 wrote on Wed, 10 June 2009 05:04


EDIT3: When i change
#if D3DX_SDK_VERSION != 30
to
#if D3DX_SDK_VERSION <= 30
it does seem to compile as it should. This way you should be able to use all version after August 2006.


Um is that a good idea?
and if so .. why not just remove the line instead of adding "<="?

Actually it comes down to the same point as having to change the _MSC_VER_ == 1400 to _MSC_VER_ <= 1400 in engine_common.cpp (or something) to compile scripts on VC2008.

And i think you could delete the line BUT only if you also delete the 2 following lines otherwise it would ALWAYS give the error you have to change the Delay Load DLL.

I just changed it to
#if D3DX_SDK_VERSION <= 30
so i cant use any older SDK than August 2006. If you would use older it would maybe not work because it is to old. This way i eliminate the possibility of using older SDK's than August 2006.



The *reason* for that #if being exactly the way it was is so that the warning always triggers if you don't have the SDK matching that version number installed. If the DLL file says 41, the D3DX_SDK_VERSION is 41 and the line should be changed to read #if D3DX_SDK_VERSION != 41

True but i changed it to <= 30 so even if i get on a PC with a version between 30 and 41 i still can compile it Thumbs Up


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rene cloaking sound
Next Topic: shader edit
Goto Forum:
  


Current Time: Thu Dec 19 09:10:51 MST 2024

Total time taken to generate the page: 0.00923 seconds