J
Jeff Ross
At work I'm using a custom game scripting language, and it's gotten to
be quite bloated. It's fairly similar to Java in that it supports a
lot of class extension.
What I've done so far with Perl is traverse the game tree, found all
the script files, parsed the necessary lines, and now I have an array
that contains hundreds of elements similar to this:
"Class WeaponBaseClass ExtendsFrom GameObject"
"Class StreetLamp ExtendsFrom LightCastera"
"Class AssaultRifle ExtendsFrom WeaponBaseClass"
"Class MoneyClip ExtendsFrom InventoryManager"
"Class GameObject ExtendsFrom BaseGOBJ"
"Class Hud ExtendsFrom RenderMan"
and so on...
Unfortunately, these aren't in any real order..
Since my intention is to thoroughly understand this spaghetti code
system, or at the very least be able to step through the hierarchy
more easily, I would like to find a solution that clearly displays the
parent/child relationships.
I've staged the data so I can easily prepare it for whatever tool or
method I wind up using. Of course it would be ideal to build a UML or
other hyperlinkable visual system.
Any suggestions?
Thanks in advance
be quite bloated. It's fairly similar to Java in that it supports a
lot of class extension.
What I've done so far with Perl is traverse the game tree, found all
the script files, parsed the necessary lines, and now I have an array
that contains hundreds of elements similar to this:
"Class WeaponBaseClass ExtendsFrom GameObject"
"Class StreetLamp ExtendsFrom LightCastera"
"Class AssaultRifle ExtendsFrom WeaponBaseClass"
"Class MoneyClip ExtendsFrom InventoryManager"
"Class GameObject ExtendsFrom BaseGOBJ"
"Class Hud ExtendsFrom RenderMan"
and so on...
Unfortunately, these aren't in any real order..
Since my intention is to thoroughly understand this spaghetti code
system, or at the very least be able to step through the hierarchy
more easily, I would like to find a solution that clearly displays the
parent/child relationships.
I've staged the data so I can easily prepare it for whatever tool or
method I wind up using. Of course it would be ideal to build a UML or
other hyperlinkable visual system.
Any suggestions?
Thanks in advance