Uh, I really hope not.
These are the problems already reported to Mike with examples:
- Ghosting
- Object size
- Fog
- Shadows
- Escapekey
- Sync rate
And these are the ones still pending of examples, if applicable (I had a local copy of the lost topic
):
--------------------------------
1. The header file ‘DarkSDKBasic3D.h’ defines a function called dbTLVertexSystemMemoryAvailable
This function is defined in the lib file as dbTLVertexSystemMemoryAvailableAvailable
--------------------------------
2. Again, same header file, a function called
dbObjectSetDisableTransform,
and yet it’s defined in the Basic3D.lib file as:
dbSetObjectDisableTransform
--------------------------------
3. The function dbWriteToRegistryS defined in ‘DarkSDKInput.h’ has three arguments. The third argument is defined as a DWORD. The lib file expects this to be a char *. Can the header file be corrected to point to a char * please.
--------------------------------
4. In ‘DarkSDKText.h’ defines a function called dbValR. The header defines the argument as char *. The lib file Text.lib is expecting an unsigned long. Can you fix the library please.
--------------------------------
5. Also in ‘DarkSDKText.h’ defines a function called dbCompareCase. The header defines the second argument as a DWORD, yet the library expects a char *. Please fix.
--------------------------------
6. File "Globstruct.h" - This points to a globstruct on Lee's machine (#include "......Dark Basic Pro SDKSharedCoreglobstruct.h").
--------------------------------
7. CallDLL - The function name needs to be a DWORD, for some reason...
--------------------------------
8. dbPositionMouse doesn't always seem to work. The vertical value adds in the title bar height, and possibly the X values takes in the windows horizontal position...
--------------------------------
9. the weird fps speed up (can be seen to coincide with an audio event)
--------------------------------
10. dbSetObjectTransparency(), makes whatever color you set transparent, render with blue edges (backdrop color). And also theres a zdepth problem there, other transparent objects show through closer transparent ones eg, you know with trees, the edge of the leaves will all be blue and you can see background trees through the trunk of a closer one.
--------------------------------
11. atls.lib wasn't it's dependency supposed to of been removed? - express user. (note: what about quartz.lib)
--------------------------------
12. In the file 'DarkSDK.h' can this line:
#define _CRT_SECURE_NO_DEPRECATE
be replaced with this please:
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
If a project has this macro defined in the C++/Preprocessor section, it causes the warning macro redefinition for files that include DarkSDK.h. Please realize that some files in a project may not necessarily include the DGDK header, hence the warning isn't issued when compiling that file.
--------------------------------
From the bugs forum:
--------------------------------
13. dbSaveTerrain crashes : Crashes always (GPF). Tried also to save the advanced terrain sample which comes with DB Pro.
--------------------------------
14. dbColorAmbientLight : In DBPro this command can take a RGB range of 0,0,0 to 255,255,255.
However, in the GSDK there is a colour reset at 127,127,127
So, 128,128,128 appears black, but 127,127,127 is white
--------------------------------
15. dbLoopMusic ( 1 ); do not loop the mp3 music
#include "DarkSDK.h"
void DarkSDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
// Load the music
dbLoadMusic ( "test.mp3", 1 );
dbSetMusicVolume(1,100);
dbLoopMusic(1);
while ( LoopSDK ( ) )
{
if ( dbEscapeKey ( ) )
return;
dbSync ( );
}
}
--------------------------------
16. Limb problem : Another odd problem was with object limbs. If I make an object limb, and then scale the object, the dbLimbOffsetXYZ() commands don't reflect the scaling. I don't know whether or not they're supposed to, but it confused me when I tried it.
void DarkSDK()
{
dbSyncOn();
dbSyncRate(40);
dbAutoCamOff();
dbMakeObjectCube(1,10);
dbPositionObject(1,0,0,0);
dbMakeObjectSphere(2,5);
dbMakeMeshFromObject(1,2);
dbScaleObject(1,50,50,50); // Scale cube
dbAddLimb(1,1,1);
dbLinkLimb(1,0,1);
dbOffsetLimb(1,1,0,10,0);
// Add a spherical limb; it appears at (0,5,0)
dbPositionCamera(0,0,-25);
dbPointCamera(0,0,0);
dbGhostObjectOn(2);
dbPositionObject(2,
dbLimbOffsetX(1,1),
dbLimbOffsetY(1,1),
dbLimbOffsetZ(1,1));
// Big sphere appears above small sphere, at (0,10,0)
while (!dbEscapeKey())
{
dbSync();
}
}
Please report to the community if you send or plan to send any example to Mike, so other people can concentrate in pending issues.
And please remember:
Quote: "Quote: "If anyone else has anything to submit please do so in the next few days"
I think we don't get this proposal very often, so please, everybody review the pending issues!!!"