mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 22:49:16 +01:00
fix the Windows-only sources and the resource encoding
LPT.cpp and PoKeys55.cpp never imported the modules holding WriteLog, ToLower and contains. Neither file is compiled on Linux, so nothing had caught it; Console.cpp, which is built the same way, already had its imports. eu07.rc.in was stored in CP1250 - the o-acute in "pojazdow" is a single 0xF3 byte. rc.exe guessed a codepage, llvm-rc refuses to. Re-encoded as UTF-8 with a BOM, which both recognise.
This commit is contained in:
@@ -3,6 +3,7 @@ module;
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
module eu07.console.lpt;
|
module eu07.console.lpt;
|
||||||
|
import eu07.utilities.logs; // WriteLog
|
||||||
/*
|
/*
|
||||||
This Source Code Form is subject to the
|
This Source Code Form is subject to the
|
||||||
terms of the Mozilla Public License, v.
|
terms of the Mozilla Public License, v.
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ module;
|
|||||||
#include "utilities/utilities_macros.h"
|
#include "utilities/utilities_macros.h"
|
||||||
|
|
||||||
module eu07.console.pokeys55;
|
module eu07.console.pokeys55;
|
||||||
|
import eu07.utilities.utilities; // ToLower, contains
|
||||||
/*
|
/*
|
||||||
This Source Code Form is subject to the
|
This Source Code Form is subject to the
|
||||||
terms of the Mozilla Public License, v.
|
terms of the Mozilla Public License, v.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
IDI_ICON1 ICON "eu07.ico"
|
IDI_ICON1 ICON "eu07.ico"
|
||||||
GLFW_ICON ICON "eu07.ico"
|
GLFW_ICON ICON "eu07.ico"
|
||||||
@@ -17,7 +17,7 @@ BEGIN
|
|||||||
BLOCK "040904b0"
|
BLOCK "040904b0"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "eu07.pl\0"
|
VALUE "CompanyName", "eu07.pl\0"
|
||||||
VALUE "FileDescription", "MaSzyna - Symulator pojazdów szynowych\0"
|
VALUE "FileDescription", "MaSzyna - Symulator pojazdów szynowych\0"
|
||||||
VALUE "FileVersion", "@VERSION_STRING@\0"
|
VALUE "FileVersion", "@VERSION_STRING@\0"
|
||||||
VALUE "ProductName", "MaSzyna\0"
|
VALUE "ProductName", "MaSzyna\0"
|
||||||
VALUE "ProductVersion", "@VERSION_STRING@\0"
|
VALUE "ProductVersion", "@VERSION_STRING@\0"
|
||||||
|
|||||||
Reference in New Issue
Block a user