MCPcopy Create free account
hub / github.com/JHRobotics/softgpu / process_install

Function process_install

softgpu.c:526–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526static void process_install()
527{
528 setInstallPath(pathinput);
529
530 if(isSettingSet(CHBX_GL95))
531 {
532 action_create("OpenGL95 installation", gl95_start, NULL, NULL);
533 }
534
535 if(isSettingSet(CHBX_DOTCOM))
536 {
537 action_create(".COM installation", dotcom_start, NULL, NULL);
538 }
539
540 if(isSettingSet(CHBX_WS2))
541 {
542 action_create("WS2 installation", ws2_start, NULL, NULL);
543 }
544
545 if(isSettingSet(CHBX_MSCRT))
546 {
547 action_create("MSVCRT installation", mscv_start, proc_wait, setup_end);
548 }
549
550 setTrayPath(iniValue("[softgpu]", "drvpath.mmx"));
551
552 action_create("stop Tray3D", kill_tray, proc_wait, setup_end);
553
554 if(isSettingSet(CHBX_DX))
555 {
556 if(version_compare(&sysver, &WINVER98SE) >= 0 && hasP2)
557 {
558 setDXpath(iniValue("[softgpu]", "dx9path"));
559 }
560 else if(version_compare(&sysver, &WINVER98) >= 0 && hasP2)
561 {
562 setDXpath(iniValue("[softgpu]", "dx9path.fe"));
563 }
564 else
565 {
566 setDXpath(iniValue("[softgpu]", "dx8path"));
567 }
568
569 action_create("DX installation", dx_start, proc_wait, setup_end);
570 }
571
572 if(isSettingSet(RAD_SSE4))
573 {
574 setInstallSrc(iniValue("[softgpu]", "drvpath.sse4"));
575 }
576 else if(isSettingSet(RAD_SSE))
577 {
578 setInstallSrc(iniValue("[softgpu]", "drvpath.sse3"));
579 }
580 else
581 {
582 setInstallSrc(iniValue("[softgpu]", "drvpath.mmx"));
583 }

Callers 1

softgpuWndProcFunction · 0.85

Calls 9

setInstallPathFunction · 0.85
isSettingSetFunction · 0.85
action_createFunction · 0.85
setTrayPathFunction · 0.85
iniValueFunction · 0.85
version_compareFunction · 0.85
setDXpathFunction · 0.85
setInstallSrcFunction · 0.85
installable_statusFunction · 0.85

Tested by

no test coverage detected