Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / link error using dbColorAmbientLight

Author
Message
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 13th Dec 2005 16:15
Hi,

I'm getting this link error when trying to use dbColorAmbientLight :



I've tried changing the definition at DarkSDKLight.h to:


but it still crashes
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 13th Dec 2005 18:48
Yes, does seem to be totally missing.

Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 13th Dec 2005 19:34
Shot in the dark: try the english spelling of Colour. Could have they renamed it?
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 13th Dec 2005 19:57
After checking it out, it seems lke they have ... but not deliberately.

Try using this prototype and function name instead:
void dbtColorAmbientLight(unsigned long);

Or, you could use the dbColorLight with a light number of 0.

For free Plug-ins and source code http://www.matrix1.demon.co.uk
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 14th Dec 2005 13:23
Ian, that prototype works! Good work. How did you find out that?

On the other side, light 0 and ambient light are different lights in my experience.

Thank you very much.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Dec 2005 17:39
Quote: "How did you find out that?"


I'm just *that* good!

... either that, or I took a look at the contents of Light.lib

For free Plug-ins and source code http://www.matrix1.demon.co.uk
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 14th Dec 2005 18:54
I have to try that one of these days.

Login to post a reply

Server time is: 2024-11-19 03:40:59
Your offset time is: 2024-11-19 03:40:59