Well, classes are a C++ construction.. Rom is not a C++ program. That's
probably why it uses structs instead of classes. In terms of speed and memory
efficiency... that is implementation dependant for the most part though often
times there is actually more of a performance hit (albeit a small one) with
classes than with structs. The real advantages to using classes is the
modularity and flexibility which comes with an OO Design.

~Kender

The modularity and flexibility is something I was looking for, although I do not mind using the current struct setup. I have programmed mods for Half-Life and other such games before.. and thinking of their class setups, was wondering if it was worth the time to go through the code changing the structs slowly over to a class system. If performance would be the same (or even better), I would surely take the time, although I would not obsess with it, ignoring actual game play that needs to be programmed in.
--
kevin


Reply via email to