Functions to get DX objects.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Functions to get DX objects.

Post by Hroudtwolf »

Hi,

Nice (windows only) features would be, to have official functions for fetching DirectX objects, in all the dx libraries in pb.
(Keyboard, Sprite, Joystick....)

Examples:

Code: Select all

*Object0.IDirectInputDevice7A = GetKeyboardObject ()
*Object1.IDirectInputDevice7A = GetJoystickObject ()
*Object2.IDirectSoundBuffer = GetSoundBufferObject ()
...
(I know the cheats with internals already.)

Best regards

Wolf