CEED on C++

Forum for support and development discussion regarding the python based unified editor tool for CEGUI, known as CEED.

Moderators: CEGUI MVP, CEGUI Team

niello
Not too shy to talk
Not too shy to talk
Posts: 37
Joined: Tue May 24, 2011 05:54
Contact:

CEED on C++

Postby niello » Sat Mar 09, 2019 17:01

Hi.

I migrated my engine to CEGUI default branch. Prebuilt CEED snapshot 11 has problems with it. It doesn't support fonts format v4 and saves strange (v0-8?) properties to widgets so that the game crashes with the 'unknown property' exception.
Building CEED for Windows turned out to be so much pain that I gave up.
Also the layout editor itself requires some improvements to become really convenient (or I just use it wrong).
There is a v0-8-cpp branch but all files are just empty autogenerated stubs and the last commit was in 2017.

The question is: will it be useful if I will port CEED to Qt 5 C++ and the latest CEGUI data? Doesn't someone do the same thing right now?
I can't promise the exact matching but can do something that is better than nothing. I planned to implement Qt-based game editor anyway.

User avatar
Ident
CEGUI Team
Posts: 1931
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: CEED on C++

Postby Ident » Sat Mar 09, 2019 19:15

niello wrote:I migrated my engine to CEGUI default branch. Prebuilt CEED snapshot 11 has problems with it. It doesn't support fonts format v4 and saves strange (v0-8?) properties to widgets so that the game crashes with the 'unknown property' exception.
Building CEED for Windows turned out to be so much pain that I gave up.
Also the layout editor itself requires some improvements to become really convenient (or I just use it wrong).

That sucks, unfortunately I have no idea about the issues you mentioned but it is likely that there are differences between CEED based on CEGUI v0-8 as compared to CEED based on CEGUI default branch.

niello wrote:There is a v0-8-cpp branch but all files are just empty autogenerated stubs and the last commit was in 2017.

The question is: will it be useful if I will port CEED to Qt 5 C++ and the latest CEGUI data? Doesn't someone do the same thing right now?
I can't promise the exact matching but can do something that is better than nothing. I planned to implement Qt-based game editor anyway.

Porting CEED's QT core to C++ would be very valuable and currently no one is doing it. The v0-8-cpp branch of CEED is there for this reason but we got stuck on it very early, shame on us (especially me) and it is not being worked on atm.

I have some files lying around for that branch that were WIP but I do not fully understand what I was doing there. I think the next steps were to rename existing python files to header/cpp files and start converting code. The sooner we can get anything to build and run in C++ the better, then the rest can be migrated on top of that step by step.

CEED default branch should be ignored for now, only v0-8 is important and if you look at the history you will see that default became v0-8 and then default only got merges from v0-8, nothing particular happened on default branch.

So yes v0-8-cpp is the way to go. And it will make the whole process of compiling CEED much much much less annoying. There is some magic involved in PyCegui based CEED currently that only Kulik knows about.

If you are willing to progress with v0-8-cpp I will support you as much as you can. Keep in mind that this is a big task.
CrazyEddie: "I don't like GUIs"

niello
Not too shy to talk
Not too shy to talk
Posts: 37
Joined: Tue May 24, 2011 05:54
Contact:

Re: CEED on C++

Postby niello » Sun Mar 10, 2019 06:39

Then I will try to accomplish it) This will be an interesting experience.
I started working on editor a couple of days ago locally, and I personally prefer git over hg, but it doesn't make the code itself better or worse. As soon as I have something roughly working I'll share the repo with you and we'll see what to do with it. I'm working in a Qt Creator 4.8.2 (Qt 5.12) to minimize developer setup required. Hope it works on other OS'es as good as it does on Windows.
Any help will be greatly appreciated, and twice as much will be the help with CMake setup, testing on non-Windows platforms and design/code reviewing.
If there is any developer chat active I can join it for runtime discussions, forum is a slow place for this.

niello
Not too shy to talk
Not too shy to talk
Posts: 37
Joined: Tue May 24, 2011 05:54
Contact:

Re: CEED on C++

Postby niello » Thu Mar 28, 2019 18:54

Just for information. I started porting CEED here:
https://github.com/niello/ceed-cpp

There is still much work to do. I will post here when it's done.

User avatar
Ident
CEGUI Team
Posts: 1931
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: CEED on C++

Postby Ident » Fri Mar 29, 2019 07:11

Great, I hope this will be a success
CrazyEddie: "I don't like GUIs"


Return to “Official Unified CEGUI Editor Tool (CEED)”

Who is online

Users browsing this forum: No registered users and 0 guests