MakeColor()?
Displaying 1-6 of 6 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Overkill

So, the other day, for my widget project, I made a nice little slider functionality, and wanted to make the function that affects the resultant color to be called MakeColor. But it turns out this is a reserved function name, and does the EXACT same thing as RGB(). So just wondering, is there a list of some other reserved hidden keywords and other VC function aliases out there?

Posted on 2005-10-17 16:30:42

vecna

In the xerxes engine, which is what most of my projects use including V3, it was always "MakeColor", and it was MakeColor in the first alpha versions of verge3. I decided to rename it to RGB because thats what it was in the various hicolor versions of V2 and because it seemed shorter and more intuitive. But I had already written a bunch of programs myself that used MakeColor and was too lazy to search/replace them, so I left it in as an alias.

I don't think there are really any other functions like that. SuperSecretThingy() is probably the only other "hidden" function.

Posted on 2005-11-09 20:21:49

Omni

Does this mean we can access internal Xerxes functions from within Verge3? EDIT: Nevermind

Posted on 2005-11-10 13:43:01 (last edited on 2005-11-10 13:43:40)

pthaloearth

I found one. Sleep() it takes a variable in and other than that I haven't messed with it. What does it do?

Posted on 2005-11-13 16:24:56

Overkill

It waits the duration of time specified, and lowers CPU consumption. It's undocumented, I see, but it's basically:
void Sleep (int duration)

Posted on 2005-11-15 14:12:03

Omni

That would be incredibly handy.

Posted on 2005-11-15 15:23:17


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.