mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-21 05:12:32 -05:00
ccb6223d70
* mxdirectdraw: no need to explicitly add a terminating '\0' in C * mxstopwatch must include LIMITS.H for ULONG_MAX * Add Config app * 88.78% * style fixes * Test more CONFIG things * Add a few assertions on MFC classes * reformat * actionSSSSSSSSSSSSSSS * actions again * decomplint needed a shebang * Fix annotations of Message Map entries * ci: We're building CONFIG.EXE, not CONFIG.DLL * remove ninja.exe * Fix CAboutDialog::GetMessageMap annotation * format reloaded * Fix global CConfigApp object annotation * trigger worflows * ci: request at least python 3 * oops :) * curl CONFIGPROGRESS-OLD.TXT will fail * Forget about actions/setup-python (for now) * Annotation fixes * Config tweaks and MxDirect3d annotations * It's important to compare against the correct file * Introduce common CDialog parent for CAboutDialog and CMainDialog * format * Remove CSerializer --------- Co-authored-by: disinvite <disinvite@users.noreply.github.com>
22 lines
513 B
C++
22 lines
513 B
C++
#include "ConfigCommandLineInfo.h"
|
|
|
|
#include "decomp.h"
|
|
|
|
DECOMP_SIZE_ASSERT(CCommandLineInfo, 0x24)
|
|
DECOMP_SIZE_ASSERT(CConfigCommandLineInfo, 0x24)
|
|
|
|
// FUNCTION: CONFIG 0x00403b10
|
|
CConfigCommandLineInfo::CConfigCommandLineInfo()
|
|
{
|
|
currentConfigApp->m_run_config_dialog = FALSE;
|
|
}
|
|
|
|
// FUNCTION: CONFIG 0x00403bf0
|
|
void CConfigCommandLineInfo::ParseParam(LPCSTR pszParam, BOOL bFlag, BOOL bLast)
|
|
{
|
|
if (bFlag) {
|
|
if (lstrcmpiA(pszParam, "config") == 0) {
|
|
currentConfigApp->m_run_config_dialog = TRUE;
|
|
}
|
|
}
|
|
}
|