Game Development Community

dev|Pro Game Development Curriculum

Plan for Charlie Malbaurn

by Charlie Malbaurn · 12/18/2004 (9:59 am) · 0 comments

Hi all,

It's been awhile since I made a plan so I figured it was due.

I have been working on about a billion things lately--mostly just trying to keep my head up.

Within the last six months I found out about 2/3 of my family are probably not going to be around much longer-- my mother, father, grandmother and grandfather.

With this kind of stuff, I've been spending almost all of my free time with my daughter. I guess when mortality stops becoming an afterthought and instead becomes your primary thought, you cling on to the people around you.

Anyway. I have started back on my script editor. I had originally planned to hand-create a file to keep track of all functions and classes for the IntelliSense and AutoComplete functions but I wanted to pull the information from the console dumps. That way if anyone had programmed in there own classes they would have them as a drop down option while scripting.

The problem with this is that the console dump is not very descriptive. I've thought about using Doxygen and writing a parser to pull the information from there. The only problem being that it would force others to install Doxygen and I'm pretty much against that.

I will probably go with the hand writing of the functions and then create some sort of updater to look online when ever there is a new release. Then create a tool that will allow people to add there own custom functions to the program.

Maybe, if people upload there resources, they can include a list of those functions that the program will just read it in.

That seems like a cheap way of going about it though... So I really don't know yet. All I know is that the rest of my work balances around getting this part done and I am stumped.

IntelliSense will be a wonderful thing but man is it hard to get down and dirty with.
Here are the things that I have to keep in mind while creating it:

1) It needs to know if it's function scope. When a function is created it needs to be added to the hierarchy and act the way it's supposed to. So later someone can do the objectwhatever.DoSomething

2) It needs to know its hierarchy. If something is lower on the hierarchy, it needs to know all the objects above it and react accordingly.

3) It needs to be able to keep track of the objects named. That way when you create an object named foo, the editor needs to know to keep track of foo.whatever, foo:whatever, object.whatver, etc..

And many many more things that I won't go into now

I will be creating a post throwing around some concepts . I really want some outside ideas to go about doing some of the things that I want to do.

If anyone has a fresh idea about how I can go about pulling all the function, classes and descriptions out of torque without using Doxygen, please let me
know.

Edit: I think I figured out how to pull the information out of Torque.
I can scan through the source code to look for the same words that Torque uses to register classes, functions and methods to the console.DECLARE_CONOBJECt, etc...

Yay for me!