That's more or less the idea. It's not possible to do ArrayLists because UT1 doesn't support dynamic arrays (the output is an array from what I've understood). LinkedLists are the next best thing.
It's using same idea as the Inventory list except it's a lot more flexible. The mutator included tests all the operations possible and outputs the results to the log.
There will probably be an update tommorow adding suggestions by Wormbo to add double links and an instance recycler. An Iterator interface will be added later.
Edit: Small correction. ArrayLists in Java use a dynamic array internally. If there's a performance gain to be had, it might be possible to use fixed arrays in unrealscript and chain those together.
__________________
How to feck up a perfectly good game:
UT (1999) = UnbelievableGameSoCoolIMustHelpBringNewPlayers Tournament
UT (2008) = Unreal ThrustMyPrivatePartsInYourFaceBish
And that's probably why UTIII was a relative flop. New game, same sh*thead players ^^.
Last edited by Azura : 31st December, 2008 at 09:23 PM.
|