Originally Posted By: JustSid
You guys know that A8 also uses an object oriented way, right? Its okay if you write only procedural code in Lite-C but still, A8 uses an OOP approach.


Yeah, the engine uses objects with data structures consisting of data fields, but there are no encapsulated methods, no data abstraction, no polymorphism and no inheritance.

There are tricks you could use to implement class-like behaviour (for example, polymorphism through a struct full of function pointers) but these won't be strictly type-checked. And good luck implementing inheritance through custom vtables.

C, or better Lite-C, is procedure-oriented programming.

[EDIT] I would like to see a real OOP C++ or C# SDK in the feature for A9 or so for Visual Studio, with a wrapper, that exports the functional behavior, so that it is still compatible to Lite-C. And I don't mean a wrapper that adapts on the current engine interface (like that from Stromausfall), I mean a rewrite and a wrapper for Lite-C.

Last edited by HeelX; 09/03/11 13:50.