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 dbSetAmbient

Author
Message
tobi453
19
Years of Service
User Offline
Joined: 28th Apr 2005
Location:
Posted: 28th Apr 2005 23:44
i am using 2003.net and when i try to use the command

void dbSetAmbient( int iID, bool bAmbient )

i get a link-error

does anyone have the same problem?
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 29th Apr 2005 01:47
Yes, indeedly...

Visit http://homepages.nildram.co.uk/~nickk
Calm down dear! Its only an election...
Gervais
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: Canada
Posted: 29th Apr 2005 03:40
It has been replace by

void dbSetAmbienc( int iID, bool bAmbient )

and be careful they have change the wording of a few commands
Gervais
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: Canada
Posted: 29th Apr 2005 21:16
Sorry I forgot the "e" at the end of the command

dbSetAmbience
tobi453
19
Years of Service
User Offline
Joined: 28th Apr 2005
Location:
Posted: 30th Apr 2005 00:22
I donĀ“t mean the command "dbSetAmbience". I mean the command "dbSetObjectAmbient". There is an error in the include file. They have renamed it in "dbSetAmbient" in the include file, but they have forgotten to rename it in the library. I tried to rename it back in the include-file and it does work now.
Smithy
19
Years of Service
User Offline
Joined: 8th Dec 2004
Location: Switzerland
Posted: 5th May 2005 01:09 Edited at: 5th May 2005 01:12
Probably this will be fixed in the "new" 1.1... ?

[Edit]
in <DarkSDKBasic3D.h>
dbSetAmbient

dbSetObjectAmbient

//Pentium IV 3200E/Prescott; 800Mhz FSB; Hyperthreading; WinXP Pro (!XP2); ATI R9700PRO; 1024MB RAM (2x 512MB "DualChanneled"; VC++ 6.0; Delphi; ADSL;
Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 5th May 2005 02:53
It just needs defining in the header file as "void dbSetObjectAmbient ( int iID, bool bAmbient );". This along with other things will be fixed for the update I'm working on.
Smithy
19
Years of Service
User Offline
Joined: 8th Dec 2004
Location: Switzerland
Posted: 5th May 2005 03:16
*down the corridor, echoing in the distance, you can hear a Dark voice speaking* Very well...

//Pentium IV 3200E/Prescott; 800Mhz FSB; Hyperthreading; WinXP Pro (!XP2); ATI R9700PRO; 1024MB RAM (2x 512MB "DualChanneled"; VC++ 6.0; Delphi; ADSL;

Login to post a reply

Server time is: 2024-11-18 23:35:08
Your offset time is: 2024-11-18 23:35:08