Holy fucking shit I don't want to work on this. Sibly, you son of a ...
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "resource.h"
|
||||
#include "blitzide.h"
|
||||
#include "mainframe.h"
|
||||
#include "prefs.h"
|
||||
#include "about.h"
|
||||
#include "libs.h"
|
||||
|
||||
BlitzIDE blitzIDE;
|
||||
|
||||
BOOL BlitzIDE::InitInstance(){
|
||||
|
||||
#ifdef _DEBUG
|
||||
AfxEnableMemoryTracking( true );
|
||||
#endif
|
||||
|
||||
AfxInitRichEdit();
|
||||
|
||||
prefs.open();
|
||||
|
||||
initLibs();
|
||||
|
||||
mainFrame=new MainFrame();
|
||||
m_pMainWnd = mainFrame;
|
||||
|
||||
#ifdef DEMO
|
||||
aboutBlitz( true );
|
||||
#endif
|
||||
|
||||
mainFrame->LoadFrame( IDR_MAINFRAME );
|
||||
mainFrame->MoveWindow( CRect( prefs.win_rect ) );
|
||||
mainFrame->ShowWindow( m_nCmdShow );
|
||||
mainFrame->UpdateWindow();
|
||||
|
||||
if( prefs.win_maximized ) mainFrame->ShowWindow( SW_SHOWMAXIMIZED );
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int BlitzIDE::ExitInstance(){
|
||||
|
||||
prefs.close();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user