shithub: cstory

Download patch

ref: e1af3336aaa15b55801196a6f4a10c24d1f9b884
parent: 496a50c272e2531938af873c177eab4338d2778d
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun May 3 18:05:39 EDT 2020

Fix compilation

--- a/src/Ending.cpp
+++ b/src/Ending.cpp
@@ -52,6 +52,9 @@
 static STRIP Strip[MAX_STRIP];
 static ILLUSTRATION Illust;
 
+static int GetScriptNumber(const char *text);
+static void ActionCredit_Read(void);
+
 // Update casts
 void ActionStripper(void)
 {
--- a/src/Ending.h
+++ b/src/Ending.h
@@ -17,8 +17,6 @@
 void ReleaseCreditScript(void);
 BOOL StartCreditScript(void);
 void ActionCredit(void);
-void ActionCredit_Read(void);
-int GetScriptNumber(const char *text);
 void SetCreditIllust(int a);
 void CutCreditIllust(void);
 int Scene_DownIsland(HWND hWnd, int mode);
--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -23,6 +23,7 @@
 #include "Triangle.h"
 
 LRESULT CALLBACK WindowProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
+static unsigned long CountFramePerSecound(void);
 
 char gModulePath[MAX_PATH];
 char gDataPath[MAX_PATH];
--- a/src/Main.h
+++ b/src/Main.h
@@ -12,6 +12,5 @@
 extern int gJoystickButtonTable[8];
 
 void PutFramePerSecound(void);
-unsigned long CountFramePerSecound(void);
 
 BOOL SystemTask(void);