Page 1 of 2

CEGUI C#/Managed

Posted: Wed Jan 30, 2013 08:55
by xdinos
Hello, I was wondering if there any plans/thoughts to port/adapt CEGUI to C#

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 10:31
by Kulik
I don't know about any. Though there is some demand for C# CEGUI as far as I know.

As I am mostly GNU/Linux bound I am unlikely to help in this area :-)

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 10:32
by CrazyEddie
As you likely already know, there used to be CEGUI#, which I believe is pretty much defunct right now - this was an officially endorsed C# port of the library, although CEGUI devs were not part of the team that ran that project (although I did contribute some code now and then).

There have been a couple of guys who came to IRC last year IIRC with an interest in doing either a wrapper or another complete port - I believe they decided to wait for the long delayed CEGUI 1.0 release, and I have no further information beyond that.

As far as the core CEGUI devs creating and maintaining a port, this is unlikely to happen. The team currently consists of two guys doing this in their free time, and the fact that CEGUI 1.0 is much delayed should indicate that free time is a little thin on the ground, so we're not looking to take on any more major efforts related to the CEGUI project at this time.

Hope this answers your question.

CE

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 11:15
by xdinos
Thanks for your replay.

As you correctly guested I'm aware of CEGUI#, and that is pretty much defunct.
I was wondering if you mind if I would try to port/adapt CEGUI to C#

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 12:19
by CrazyEddie
I don't mind at all - if you're insane enough to give it a try! :D

What I would recommend is that if you're going to do this, that all other people interested in the development of another port (or wrapper, or whatever you decide) should get involved here in this topic in order that there could be a single concentrated effort to make this happen rather than different guys going it alone and coming up with nothing :) Also, consider whether the existing CEGUI# code could be of use in any way at all - starting with something is easier than starting with nothing.

If you intend to wrap or closely follow the cegui API, it is strongly suggested that you do that for the default mercurial code that will become CEGUI 1.0. The moment CEGUI 1.0 is released later this year all previous versions will be 'obsolete' in our eyes - so you'll want your work to be current and not obsoleted overnight :)

Finally, I would suggest moving this topic to the development forum, since I think it's more useful there - especially if other people might get involved, let me know if you agree with that.

CE.

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 12:22
by Kulik
Also keep in mind that it is highly recommended to make some sort of a binding generator. Hand created bindings are almost impossible to support in the long run.

It would be awesome if we could somehow support both .NET and Mono at the same time but I am unsure whether that's feasible.

Good luck with the project! :-)

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 12:52
by Ident
do you want to port it by keeping the main cegui in c++ and work with managed/unmanaged code to create bindings for C# or do you wanna rewrite it all in C# completely?

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 13:26
by xdinos
I was thinking to rewrite it all in C# with some adaptations on the events, and the properties system

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 14:03
by Ident
that will be a lot of work for 1 person, the cegui codebase is huge. Also how do u keep up with the updates, so you dont miss any fix?

whats cool is that if you keep the xml syntaxes the same (which i guess you will), programs like CEED can still be used to create layouts, imagesets etc.

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 14:12
by xdinos
Ident wrote:that will be a lot of work for 1 person, the cegui codebase is huge.

yes I know... we will see...

Ident wrote:Also how do u keep up with the updates, so you dont miss any fix?

I'm thinking to port on releases i will start with the current one 0.7.9 and then go on, something like that I think...

Ident wrote:whats cool is that if you keep the xml syntaxes the same (which i guess you will), programs like CEED can still be used to create layouts, imagesets etc.

that's the idea

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 14:36
by Ident
porting only stable release is a good idea

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 15:18
by CrazyEddie
xdinos wrote:I'm thinking to port on releases i will start with the current one 0.7.9 and then go on, something like that I think...

While you are free to proceed as you see fit, IMO that's a mistake. When 1.0 is released, the changes from 0.7.x are immense - not impossible to update to, but immense effort would be required. Why not start with the code that will be 1.0 and perhaps by the time you have something ready, CEGUI 1.0 will be released? This is as opposed to doing 0.7.9 and by the time you have it ready it's old and obsolete and 100% incompatible with a "just released" CEGUI 1.0.

It is still your choice, of course - just wanted to be sure you're aware of the situation as regards to the coming 1.0 release and those that went before.

CE.

Re: CEGUI C#/Managed

Posted: Wed Jan 30, 2013 16:21
by xdinos
thanks for the heads up

Re: CEGUI C#/Managed

Posted: Thu Jan 31, 2013 09:11
by xdinos
I have downloaded a snapshot version fron bitbacket and I'll start with this one
If you want to move this thread go ahead.
Thanks

Re: CEGUI C#/Managed

Posted: Wed Jul 31, 2013 14:48
by xdinos