|
1 registered members (TipmyPip),
18,633
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Functions in structs?
[Re: Excessus]
#179220
01/22/08 13:32
01/22/08 13:32
|
Joined: Jan 2008
Posts: 49 Sweden
Kenchu
OP
Newbie
|
OP
Newbie
Joined: Jan 2008
Posts: 49
Sweden
|
Quote:
Yes it's extremely ugly, that's why I prefer not to use this. As far as I know there is no other way. It has to be done like this to work around the limitations of Lite-C (methods and function pointer members are not implemented in Lite-C).
You'll just have to accept that Lite-C is not object-oriented. That's the way it is, but it doesn't mean you can't program in an object oriented language with gamestudio. You can use the engine in C++, or create plugins in C++. There is also a C# wrapper, I think.
I guess thats fine with me anyways. I just havent programmed big apps in a procedural way before, so Im not sure how to modularize everything.
Are there any open source 3dgs apps out there which you can have a look at? Think that would be awsome.
|
|
|
|
|
|