ref: 0531a2c4824b9e44bd28a7e54ff443d16d288725
parent: 0424c3e275810b04599f9f2d50d9426d13fe798b
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Sep 4 09:54:19 EDT 2019
Remove the Windows-style path separators There, *now* the game runs on Linux
--- a/src/Draw.cpp
+++ b/src/Draw.cpp
@@ -248,7 +248,7 @@
BOOL MakeSurface_File(const char *name, SurfaceID surf_no)
{
char path[MAX_PATH];
- sprintf(path, "%s\\%s.pbm", gDataPath, name);
+ sprintf(path, "%s/%s.pbm", gDataPath, name);
if (!IsEnableBitmap(path))
{
@@ -328,7 +328,7 @@
BOOL ReloadBitmap_File(const char *name, SurfaceID surf_no)
{
char path[MAX_PATH];
- sprintf(path, "%s\\%s.pbm", gDataPath, name);
+ sprintf(path, "%s/%s.pbm", gDataPath, name);
if (!IsEnableBitmap(path))
{
--- a/src/Sound.cpp
+++ b/src/Sound.cpp
@@ -39,7 +39,7 @@
for (i = 0; i < SE_MAX; i++)
lpSECONDARYBUFFER[i] = NULL;
- StartOrganya("Org\\Wave.dat");
+ StartOrganya("Org/Wave.dat");
return TRUE;
}
--
⑨