inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
11 stars 1 forks source link

Core Initialization Routine #368

Closed Fohlen closed 7 years ago

Fohlen commented 7 years ago

As described in #354 splitting core and flex will need changes on the core side as well. The startup routine for the core should therefore look like

Tasks

Additionally we will benefit from a new clean initialization and shutdown routine as far as that we can more clearly determine when libCEF has to be started and terminated, as well as making it easier to work on #321

The TODO for the next major release is:

aschaeffer commented 7 years ago

Hmm, this is a duplicate of #354 ? What you described is the main intention of #354.

Fohlen commented 7 years ago

It is the copy list for the corresponding C++ implementation. Just to keep that in mind.

aschaeffer commented 7 years ago

Ok, the C++ implementation details / progress goes here.

Yes we can and have to hold back SDL2 initialization until the Inexor Tree is fully initialized.

The main difficulty is that the current implementation of the C++ sub modules cannot be initialized with arguments and we have to pass the instance id/port to the RPC sub module.

Another difficult issue is, that Inexor Flex will populate parts of the tree and Inexor Core will populate other parts of the tree. We have to care about priorities during initialization.

aschaeffer commented 7 years ago

Moved the remaining tasks to #427