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.

Author
Message
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th Apr 2003 19:01
i'm pretty sure the functions that use Memory pointer, probably won't work - cause i doubt i coded it right...

but i had 5mins just now


this should explain vectors ALOT easier than the help - cause this shows you exactly what is going on
Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 4th Apr 2003 19:42
Anything is better than the help...

Anyway, thanks for the snippet, I'll have to take a look when I have a minute

But at a glance I don't see any comments and such... it's a good idea for those who can't read code well.

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th Apr 2003 20:54
to be honest if you still can't understand the functions without comments at this level, then vectors are something you shouldn't be touching as its all cut down to its rudementary mathematics

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
BoB Vila
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United States
Posted: 4th Apr 2003 22:35
I took a look at that, and my Brain Farted.

Who am I? Where am I? Why does my breath smell like catfood?

Bobvila.com made me take off my avatar! (dunno how they found out)
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Apr 2003 23:11
Umm, (slowly sidles up to Raven) do you want me to get that code to actually compile and work? (duck and cover).

Where's that 'scared' smiley when you need it?
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 5th Apr 2003 02:15
if you could code it in a way i'd work that'd be cool - i've been working in C++ all blasted week and i just can't get the hang of how backward i have to code in DarkBasic Pro ... i mean all the calculations there are actual functions within DBpro itself (can be found in 3DMaths)

its more of a learning aid for others, but working learning aids probably would help eh
i'd suggest to anyone who wants to understand them, copy&paste it to DBpro then just take note of the math going on - its pretty simplistic stuff, would be much better if i could pass types (HINT-HINT!!) ... but ho hum, which i just could get the hang of the memory and pointers stuff in dbpro.

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 16th Apr 2003 01:53
I've replaced all memory allocation with a single block allocation at the start - this way, no memory leaks
Currently defined to have vectors 1 to 256 available but is expandable to as many as you require - vector 0 is used if you specify an invalid vector number.

Have a play and let me know what you think
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 16th Apr 2003 02:42
cool i like that... was thinking of doing something similar but just not used to pointers yet - in either C or DBpro

think i can work with this to some good effect

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 1st Jun 2003 14:34
This code reminds me of when I was just starting to program. *Stares at the screen for an hour*

Heh heh... Mule...
http://www.stellarblue.vze.com/
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 1st Jun 2003 20:57
Well, I *think* it's supposed to be *something*. Maybe the black screen counts.



--Mouse

Famous Fighting Furball
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 1st Jun 2003 21:35
Doh! You Guys!

It's easy really ... Um ... *Stares at screen* ... yeah ... did I write that?

Ahh, yes. It's all coming back now
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 2nd Jun 2003 04:48
lol i'm not sure Ian... i don't think this was yours, i mean your post has yours

my code shouldn't work off the bat anyways there isn't any line concantation lol

Within the Epic battle of the fates the Shadow and the Angel will meet. With it will harbinger the very fight of good vs evil!

Login to post a reply

Server time is: 2026-07-12 00:48:48
Your offset time is: 2026-07-12 00:48:48