shithub: cstory

Download patch

ref: af7d8222a8d3b316e257b86492f98fff7b841cb0
parent: a394f7a6115653b70987ee7ac208ea3c2f0f8bc0
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Sep 5 12:42:16 EDT 2019

The EXE now has its functions in the exact same order as the original

This is crazy. So, MSVC2003 always links the source files in
alphabetical order, but for some reason the original EXE ends with
the NPC and boss files.

Cucky figured out why: Pixel used folders in his Visual Studio
project - one for NPC code, and one for boss code.

With this, the built EXE now has its functions in the exact same
order as the original. Hell yeah. I guess now we just have to figure
out how to get the variables in the correct order.

--- a/CSE2.vcproj
+++ b/CSE2.vcproj
@@ -230,39 +230,6 @@
 				RelativePath="src\Back.cpp">
 			</File>
 			<File
-				RelativePath="src\Boss.cpp">
-			</File>
-			<File
-				RelativePath="src\BossAlmo1.cpp">
-			</File>
-			<File
-				RelativePath="src\BossAlmo2.cpp">
-			</File>
-			<File
-				RelativePath="src\BossBallos.cpp">
-			</File>
-			<File
-				RelativePath="src\BossFrog.cpp">
-			</File>
-			<File
-				RelativePath="src\BossIronH.cpp">
-			</File>
-			<File
-				RelativePath="src\BossLife.cpp">
-			</File>
-			<File
-				RelativePath="src\BossOhm.cpp">
-			</File>
-			<File
-				RelativePath="src\BossPress.cpp">
-			</File>
-			<File
-				RelativePath="src\BossTwinD.cpp">
-			</File>
-			<File
-				RelativePath="src\BossX.cpp">
-			</File>
-			<File
 				RelativePath="src\BulHit.cpp">
 			</File>
 			<File
@@ -335,69 +302,6 @@
 				RelativePath="src\MycParam.cpp">
 			</File>
 			<File
-				RelativePath="src\NpcAct000.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct020.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct040.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct060.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct080.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct100.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct120.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct140.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct160.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct180.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct200.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct220.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct240.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct260.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct280.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct300.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct320.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcAct340.cpp">
-			</File>
-			<File
-				RelativePath="src\NpChar.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcHit.cpp">
-			</File>
-			<File
-				RelativePath="src\NpcTbl.cpp">
-			</File>
-			<File
 				RelativePath="src\Organya.cpp">
 			</File>
 			<File
@@ -430,6 +334,110 @@
 			<File
 				RelativePath="src\ValueView.cpp">
 			</File>
+			<Filter
+				Name="NPC"
+				Filter="">
+				<File
+					RelativePath="src\NpcAct000.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct020.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct040.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct060.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct080.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct100.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct120.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct140.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct160.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct180.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct200.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct220.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct240.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct260.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct280.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct300.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct320.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcAct340.cpp">
+				</File>
+				<File
+					RelativePath="src\NpChar.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcHit.cpp">
+				</File>
+				<File
+					RelativePath="src\NpcTbl.cpp">
+				</File>
+			</Filter>
+			<Filter
+				Name="Boss"
+				Filter="">
+				<File
+					RelativePath="src\Boss.cpp">
+				</File>
+				<File
+					RelativePath="src\BossAlmo1.cpp">
+				</File>
+				<File
+					RelativePath="src\BossAlmo2.cpp">
+				</File>
+				<File
+					RelativePath="src\BossBallos.cpp">
+				</File>
+				<File
+					RelativePath="src\BossFrog.cpp">
+				</File>
+				<File
+					RelativePath="src\BossIronH.cpp">
+				</File>
+				<File
+					RelativePath="src\BossLife.cpp">
+				</File>
+				<File
+					RelativePath="src\BossOhm.cpp">
+				</File>
+				<File
+					RelativePath="src\BossPress.cpp">
+				</File>
+				<File
+					RelativePath="src\BossTwinD.cpp">
+				</File>
+				<File
+					RelativePath="src\BossX.cpp">
+				</File>
+			</Filter>
 		</Filter>
 		<Filter
 			Name="Header Files"