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 / What is globstruct for?

Author
Message
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 13th May 2009 02:43
Someone told me to look into it but nothing else. What exactly is it?
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 13th May 2009 03:29 Edited at: 13th May 2009 03:33
A set of functions which can be included by using #include <globstruct.h>

The functions can be accessed by using the g_pGlob pointer once the header file is included.

The functions are about DarkGDK internal stuff.

Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 13th May 2009 04:13
Oh, I thought it was for windows GUI or something, my bad.
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 13th May 2009 04:46
Actually it doesn't contain functions--at least not that I know of. Rather it contains the global variables used internally by DGDK/DBP such as the window handle, the handle to the application instance, handles to the various modules such as Basic3D, Input, Basic2D, etc if you're using DBP, and so on and so forth. It's used mostly in the creation of plugins.

i like orange
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 13th May 2009 05:00
Oh ok, thank you very much for clearing that up.

Login to post a reply

Server time is: 2024-10-01 01:15:23
Your offset time is: 2024-10-01 01:15:23