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 #390003 is a reply to message #389951] Wed, 10 June 2009 15:05 Go to previous messageGo to previous message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma:
General (1 Star)
Omar007 wrote on Wed, 10 June 2009 13:58

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


But it won't work because the Delay Load settings would be wrong. It was setup to always trigger if the SDK version was different because you can only build versions of shaders.dll that match the version of the SDK installed.
 
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:01:35 MST 2024

Total time taken to generate the page: 0.00807 seconds