PhantomGamesDevelopment / Galactic-2D

Open source engine technology created in C++.
1 stars 1 forks source link

Console Pre-Initialization Buffer #15

Open Phantom139 opened 10 years ago

Phantom139 commented 10 years ago

As noted in the latest commit (1e8f4df), there are some error catch instances being performed prior to the Console::init() call in the engine.

It would be beneficial to the engine to establish some kind of global error catching buffer that can be pushed to prior to the initialization of Console that can then be forked over to Console once the instance is created.

Phantom139 commented 9 years ago

Just an update on this issue, It would be entirely possible to simply create a localized char * instance in the GalacticMain class to handle catching these pre-init messages.

The Console::init() call would simply need to be modified to accept this char * as a parameter and then print it out prior to the buffer initializations. This should be a relatively easy thing to pop in when I resume development.