mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
- first part of CIntObject API clean-up.
- - mostly remove usage of (de)activateSomething functions - - CIntObject's can be safely deleted in active state or without removing from parent first - - Added CWindowObject to use as base of all windows (will be required for such features as shadows) Report any crashes or glitches - it should not cause any issues apart from more console output. TODO: - remove redundant (de)activate and show(All) calls - decrease usage of blitAtLoc\printAtLoc methods - switch all windows to new base
This commit is contained in:
@ -128,8 +128,6 @@ CPlayerInterface::~CPlayerInterface()
|
||||
adventureInt = NULL;
|
||||
}
|
||||
|
||||
if(cingconsole->active) //TODO
|
||||
cingconsole->deactivate();
|
||||
delete cingconsole;
|
||||
|
||||
LOCPLINT = NULL;
|
||||
|
Reference in New Issue
Block a user