diff --git a/.vs/Speedy-Eggbert-2-Source-Code-Decomp/v17/.wsuo b/.vs/Speedy-Eggbert-2-Source-Code-Decomp/v17/.wsuo index d1adb7e..4f94bf5 100644 Binary files a/.vs/Speedy-Eggbert-2-Source-Code-Decomp/v17/.wsuo and b/.vs/Speedy-Eggbert-2-Source-Code-Decomp/v17/.wsuo differ diff --git a/.vs/Speedy-Eggbert-2-Source-Code-Decomp/v17/Browse.VC.db b/.vs/Speedy-Eggbert-2-Source-Code-Decomp/v17/Browse.VC.db index f385fc8..f3591f3 100644 Binary files a/.vs/Speedy-Eggbert-2-Source-Code-Decomp/v17/Browse.VC.db and b/.vs/Speedy-Eggbert-2-Source-Code-Decomp/v17/Browse.VC.db differ diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json index 002918b..2c4bc34 100644 --- a/.vs/VSWorkspaceState.json +++ b/.vs/VSWorkspaceState.json @@ -2,6 +2,6 @@ "ExpandedNodes": [ "" ], - "SelectedNode": "\\jauge.cpp", + "SelectedNode": "\\event.cpp", "PreviewInSolutionExplorer": false } \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index c22bbc4..8e651a1 100644 Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ diff --git a/event.cpp b/event.cpp index 6d15660..b955c25 100644 --- a/event.cpp +++ b/event.cpp @@ -32,6 +32,10 @@ typedef struct short reserve1[9]; short exercice; // exercice en cours (0..n) short mission; // mission en cours (0..n) + short multi; + short lives; + short bHiliInfoButton; + short pPlayerName; short speed; short bMovie; short maxMission; // derni�re mission effectu�e (0..n) @@ -1476,6 +1480,7 @@ CEvent::CEvent() m_bWaitMouse = FALSE; m_bHideMouse = FALSE; m_bShowMouse = FALSE; + m_tryPhase = 0; m_rankCheat = -1; m_posCheat = 0; m_speed = 1; @@ -1495,6 +1500,7 @@ CEvent::CEvent() m_pDemoBuffer = NULL; m_demoTime = 0; m_bCtrlDown = FALSE; + m_input = 0; for ( i=0 ; iGetSkill(); + + info.audioVolume = m_pSound->GetAudioVolume(); + info.midiVolume = m_pSound->GetMidiVolume(); + + nb = fwrite(&info, sizeof(DescInfo), 1, file); + if (nb < 1) goto error; + + fclose(file); + return TRUE; + +error: + if (file != NULL) fclose(file); + return FALSE; +} \ No newline at end of file diff --git a/event.h b/event.h index db82343..95df165 100644 --- a/event.h +++ b/event.h @@ -52,6 +52,8 @@ public: CEvent(); ~CEvent(); + + void OutputNetDebug(char* str); POINT GetMousePos(); void Create(HINSTANCE hInstance, HWND hWnd, CPixmap *pPixmap, CDecor *pDecor, CSound *pSound, CMovie *pMovie, CNetwork *pNetwork); void SetFullScreen(BOOL bFullScreen);