summaryrefslogtreecommitdiffhomepage
path: root/Starshatter/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Starshatter/Main.cpp')
-rw-r--r--Starshatter/Main.cpp21
1 files changed, 9 insertions, 12 deletions
diff --git a/Starshatter/Main.cpp b/Starshatter/Main.cpp
index f2417e9..beda5d0 100644
--- a/Starshatter/Main.cpp
+++ b/Starshatter/Main.cpp
@@ -6,6 +6,7 @@
AUTHOR: John DiCamillo
*/
+#include <InfoEx.h>
#include "Starshatter.h"
#include "HUDView.h"
@@ -21,7 +22,6 @@
#include "Color.h"
#include "DataLoader.h"
#include "Pcx.h"
-#include "MachineInfo.h"
#include "Encrypt.h"
#include "FormatUtil.h"
#include "Panic.h"
@@ -29,23 +29,22 @@
#include "Random.h"
#include "VersionInfo.h"
-// +--------------------------------------------------------------------+
-// WinMain
-// +--------------------------------------------------------------------+
-extern int VD3D_describe_things;
-int dump_missions = 0;
+extern int VD3D_describe_things;
+int dump_missions = 0;
-static void PrintLogHeader()
+
+static void
+PrintLogHeader()
{
Text sTime = FormatTimeString();
-
Print("+====================================================================+\n");
Print("| STARSHATTER %-25s%29s |\n", versionInfo, sTime.data());
-
- MachineInfo::DescribeMachine();
+ Print("+====================================================================+\n\n");
+ Print("%s\n\n", InfoEx::LongDescription().data());
}
+
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
@@ -125,5 +124,3 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
return result;
}
-
-