Structure support! Hooray!
Displaying 1-6 of 6 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
specplosive

That will help...a lot...now will we ever see multi-dimensionnal arrays implemented?



Posted on 2000-11-26 13:16:18

Devlyn

int blah[X*Y+Y] works fine with me...



-Devlyn (theshiningsource.cjb.net ) "I'm not dumb, I merely suffer from periodical intellect."

Posted on 2000-11-26 16:12:59

FireMoth

Just a day or two ago there was a vc discussion on the same thing. The implementation of multi-dimensionnal arrays is easiest done in VC itself. Just make an array [The ideas discussed here are not my own, the code however is]:

int array[dimension1max*dimension2max];

Then use these two functions:

void SetValue(int x, int y, int value)
{
array[x*dimension1max+y]=value;
}

int GetValue(int x, int y)
{
return array[x*dimension1max+y];
}

simple enough, eh?



You say America is the home of the free. No man is free if he restricts others. You say America is the home of the brave. When was the last war we fought considered bravery? You say everything is free in America yet you let companies over-advertise till t

Posted on 2000-11-26 16:58:22

Hatchet

Using functions is slower than direct access, although it would only be really noticable in loops. But thats when arrays are generally used anyways. ;)

And it's annoying to have to make functions for each different array you make. Multi-dim arrays are more convenient. Especially when you want more than 2 dimensions.



-Hatchet

Posted on 2000-11-26 22:25:14

Praetor

So what if v2.6 isn't even out yet? In the words of the_Speed_Bump it will be little more than a windows port with a bunch of bug-fixes.

So he and the others working on it (myself included) are saving all the new cool stuff for v2.7 so that you guys won't have to wait another year for a windows version of VERGE.

Anyway, some features to expect are:
-Full Structure Support
-"Safe" Pointer System
-Floats
-Multi-Dimensional Arrays
-Better array support (i.e. not restricted to being globally declared)

It's quite possible that some of those won't actually make it, and it's also quite possible that other stuff would make it instead, only time will tell. However, I'm optimistic.

However, this probably won't show up for quite some time...a few of those features (Structs and Full Array Support) require completely revamping the Engine and completely re-writing the compiler, so no promises as of yet.

Anyway, let it suffice to say that it's being worked on so fear not...(also, don't halt production on any games waiting for the features...if you do I will personally kill you and rape your next of kin... ^_^)

Oh well, that said... adieu...



Praetor - Strong enough for a man, but made for a woman.

Posted on 2000-11-27 00:14:00

rucekid

Chalk up another one for team VERGE!



--ßruceKid

"Use of funny quotes is mandatory in this state."

Posted on 2000-11-27 11:49:00


Displaying 1-6 of 6 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.