|
2 | 2 | -- Part of Live Simulator: 2
|
3 | 3 | -- See copyright notice in main.lua
|
4 | 4 |
|
5 |
| --- luacheck: read_globals DEPLS_VERSION |
6 |
| --- luacheck: read_globals DEPLS_VERSION_NUMBER |
| 5 | +-- luacheck: read_globals DEPLS_VERSION DEPLS_VERSION_NUMBER DEPLS_VERSION_CODENAME |
7 | 6 |
|
8 | 7 | local love = require("love")
|
9 | 8 | local color = require("color")
|
|
102 | 101 | end
|
103 | 102 | elseif ver.dwMajorVersion == 5 then
|
104 | 103 | if ver.dwMinorVersion == 2 then
|
| 104 | + -- Probably not |
105 | 105 | osVersionString = string.format("OS: Windows XP Professional 64-bit (%s)", build)
|
106 | 106 | elseif ver.dwMinorVersion == 1 then
|
107 | 107 | osVersionString = string.format("OS: Windows XP (%s)", build)
|
@@ -134,7 +134,8 @@ local function buildTextString()
|
134 | 134 | local sb = {
|
135 | 135 | "Before reporting bug, please screenshot this window",
|
136 | 136 | "",
|
137 |
| - string.format("Live Simulator: 2 v%s -- %08d", DEPLS_VERSION, DEPLS_VERSION_NUMBER), |
| 137 | + string.format("Live Simulator: 2 v%s \"%s\" %08d", DEPLS_VERSION, DEPLS_VERSION_CODENAME, DEPLS_VERSION_NUMBER), |
| 138 | + string.format("LOVE %d.%d.%d \"%s\"", love.getVersion()) |
138 | 139 | }
|
139 | 140 |
|
140 | 141 | do
|
@@ -237,9 +238,9 @@ function sysInfo:load()
|
237 | 238 | for i = 0, 360, 45 do
|
238 | 239 | local mag = i % 90 == 0 and 1 or math.sqrt(2)
|
239 | 240 | local x, y = mag * math.cos(math.rad(i)), mag * math.sin(math.rad(i))
|
240 |
| - self.data.text:addf({color.black, textString}, 950, "left", 2 + x, 60 + y) |
| 241 | + self.data.text:addf({color.black, textString}, 956, "left", 2 + x, 50 + y) |
241 | 242 | end
|
242 |
| - self.data.text:addf({color.white, textString}, 950, "left", 2, 60) |
| 243 | + self.data.text:addf({color.white, textString}, 956, "left", 2, 50) |
243 | 244 | end
|
244 | 245 | glow.addFixedElement(self.data.back, 0, 0)
|
245 | 246 | end
|
|
0 commit comments