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.

DarkBASIC Professional Discussion / Who else would like to see more of the internal structures exposed ?

Author
Message
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Dec 2002 15:44
Aside from me, who else would like to see more of the DBPro structures (for sprites etc) exposed - it has been said that if more people want it, they might look into it.
Good news everyone! I really am THAT good...
Oh my, yes...
haggisman
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Dec 2002 15:57
what could you do if they were exposed?

Specs:- 1GHZ athlon, Radeon8500, 192mb ram, winxp
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Dec 2002 16:03
Aside from writing your own scaling/moving routines, you could (theoretically at the moment), have an interrupt-driven sprite movement routine, which, being independent of the main program, wouldn't slow it down.

You could write your own 2D/3D collision routines...

The list is endless...

Good news everyone! I really am THAT good...
Oh my, yes...
haggisman
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Dec 2002 16:25
sounds good

Specs:- 1GHZ athlon, Radeon8500, 192mb ram, winxp
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Dec 2002 16:27
Yes, it does...

Good news everyone! I really am THAT good...
Oh my, yes...
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Dec 2002 16:28
Hopefully more people would be interested...

Good news everyone! I really am THAT good...
Oh my, yes...
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 24th Dec 2002 17:44
Can already do most of it - there's a lot more exposed than you'd think.

Give me a couple of weeks to iron things out, and I'll be shipping code that will allow you to interface to sprite,objects,bitmaps,images,input ... you name it.
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Dec 2002 18:09
Well, if you can get hold of all the structures - that would be useful.

Good news everyone! I really am THAT good...
Oh my, yes...
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Dec 2002 18:25
I doubt it will be easy...

Good news everyone! I really am THAT good...
Oh my, yes...
levent
21
Years of Service
User Offline
Joined: 2nd Nov 2002
Location: United States
Posted: 25th Dec 2002 08:04
Some already exposed. Check out the file globstruct.h in the TESTCOMMANDS2 folder. There is a structure named GlobStruct which contains many handles to the internal data.

-levent

MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Dec 2002 10:12
Yes, but it doesn't have any sprite/bitmap/image/sound information - hence the need to expose more.

Good news everyone! I really am THAT good...
Oh my, yes...
Puffy
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 25th Dec 2002 13:09
(mouth waters...) i want those commands... or i could just do what i want in c++ O_O or ASM...

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Dec 2002 13:27
Trouble with doing that is that your DX layer would have no interaction with DBPro's DX - its easy enough to create your own sprites etc...

Good news everyone! I really am THAT good...
Oh my, yes...
levent
21
Years of Service
User Offline
Joined: 2nd Nov 2002
Location: United States
Posted: 25th Dec 2002 21:57
MrTAToad: I see DLL handles to sprites, images, sound, etc in the globstructs.h file. However, there is no documentation how to use them ;(

-levent.

MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Dec 2002 22:25
whereabouts?

Good news everyone! I really am THAT good...
Oh my, yes...
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Dec 2002 22:31
never mind - the info isnt exposed though - and info is needed on that

Good news everyone! I really am THAT good...
Oh my, yes...
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Dec 2002 00:56
It ain't that hard to work it out - I've done it.
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 26th Dec 2002 01:00
So are you going to show us the sprite structures then ?

Good news everyone! I really am THAT good...
Oh my, yes...
ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 26th Dec 2002 15:16
:-|
Rodro
21
Years of Service
User Offline
Joined: 17th Sep 2002
Location:
Posted: 27th Dec 2002 03:51
I'm in favor!! the more the programmer can get to (ie. no restrictions) the better. The reason C became popular.

Hey!! You talking to me?

Login to post a reply

Server time is: 2024-05-17 06:37:37
Your offset time is: 2024-05-17 06:37:37