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 / Small advice for DGDK beginners

Author
Message
Morcilla
22
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 18th Feb 2008 15:55 Edited at: 18th Feb 2008 16:00
Just point out that, anyone who wants to know how to do this or that with DGDK, should take a look to the Code Snippets and Dark Basic Pro (DBPro) sections of the forum.

Almost all DBPro commands can be translated easily to their corresponding DGDK functions, by just taking out spaces, adding 'db' at the beggining of the command, and using capital characters for the first letter of every word in the command.

That means that all DBPro code and snippets can be used as 'pseudocode'. That is a powerful resource, as there are lots of useful pieces of code around.

Also, don't forget to start with little things...

[Edit: I forgot to mention that the CodeBase section also holds many useful resources for coding.]
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 18th Feb 2008 16:22
Ever since the release of dgdk with c++ vs 2008, the majority of the questions in this forum are more related to c++ and less related to actual dgdk concepts.

I am sure the same will happen when the .net version releases any day now

hopefully Rich makes a new forum to separate dgdk.net from dgdk c++. I have requested it multiple times to him, and he seems ok with the idea, but hasnt done it. Maybe he is waiting for this new release. We'll see

[href]mod2software[/href]
Morcilla
22
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 23rd Feb 2008 17:17
Friendly bump, if you don't mind
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 23rd Feb 2008 17:42
You're not alone CR, I also want both to be separated.

Although both of them do share the same roots, the programming languages are different: While managing strings with C# or VB.NET is basically the same thing, C++ is a totally different nightmare. Not to mention a lot more of examples, like pointers, etc.

That's to say that any .NET language, although having different sintaxes, do share the same classes and have similar capabilities, so they can be on the same forum, especifically for DGDK.NET.

Also, you and me know that DGDK.NET will be different in some way
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 23rd Feb 2008 18:38
Hmmm - I politely disagree. I think People should just Post Thread Titles that prepended with C++ or .Net - because there is so much crossover - But I do understand you reasons as well.

I'd be ok either way - but then its just more area to cover... forum wise - especially since DarkGDK.Net IS DarkGDK inside a ton of wrappers.

KISTech
17
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 26th Feb 2008 17:55
Quote: "especially since DarkGDK.Net IS DarkGDK inside a ton of wrappers."


So how much is that going to affect performance?


Don't think, just code.
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 26th Feb 2008 18:14
Unfortanately we have no real numbers measuring the difference in performance, but I don't think it's huge.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 26th Feb 2008 22:55
I don't think its huge either - but if you want every bit of possible CPU then go C++ - If you like the advantage of rapid development with less chance of mem leaks etc... then .Net is MUCH easier - and frankly - .Net makes it easier to do forms and stuff in windows and have the directx window "on a form" - you can do in C++ also - but most can't figure it out.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 27th Feb 2008 00:15
I wouldnt say "a ton" of wrappers, thats a bit misleading. Iirc its a set of Interfaces to the libs, to one com component, all which is precompiled. So while yes its a thunk layer, its singular and I would think performace differences would be negligible

[href]mod2software[/href]
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 27th Feb 2008 02:11
Sorry - I use the word ton because every single call goes through a wrapper function. No Jump Tables to my knowledge.

Login to post a reply

Server time is: 2025-05-21 07:58:02
Your offset time is: 2025-05-21 07:58:02