删行末空格
This commit is contained in:
12
.github/build/iOS/love.patch
vendored
12
.github/build/iOS/love.patch
vendored
@@ -8,7 +8,7 @@ index c1932555..552e432e 100644
|
||||
**/
|
||||
-void vibrate();
|
||||
+void vibrate(const double seconds);
|
||||
|
||||
|
||||
/**
|
||||
* Enable mix mode (e.g. with background music apps) and playback with a muted device.
|
||||
diff --git a/src/common/ios.mm b/src/common/ios.mm
|
||||
@@ -18,16 +18,16 @@ index 7730991e..4ba8e708 100644
|
||||
@@ -36,6 +36,8 @@
|
||||
#include <SDL_video.h>
|
||||
#include <SDL_syswm.h>
|
||||
|
||||
|
||||
+#include <sys/utsname.h>
|
||||
+
|
||||
static NSArray *getLovesInDocuments();
|
||||
static bool deleteFileInDocuments(NSString *filename);
|
||||
|
||||
|
||||
@@ -391,10 +393,40 @@ std::string getExecutablePath()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-void vibrate()
|
||||
+void vibrate(const double seconds)
|
||||
{
|
||||
@@ -73,7 +73,7 @@ index c8af8596..ae7a5e32 100644
|
||||
@@ -140,6 +140,10 @@ enum DoneAction
|
||||
DONE_RESTART,
|
||||
};
|
||||
|
||||
|
||||
+extern "C" {
|
||||
+ int luaopen_CCloader(lua_State *L);
|
||||
+}
|
||||
@@ -84,7 +84,7 @@ index c8af8596..ae7a5e32 100644
|
||||
@@ -158,6 +162,9 @@ static DoneAction runlove(int argc, char **argv, int &retval)
|
||||
lua_State *L = luaL_newstate();
|
||||
luaL_openlibs(L);
|
||||
|
||||
|
||||
+ // Init CCloader
|
||||
+ luaopen_CCloader(L);
|
||||
+
|
||||
|
||||
1
.github/build/web/game.js
vendored
1
.github/build/web/game.js
vendored
@@ -90,7 +90,6 @@ Module.expectedDataFileDownloads++;
|
||||
function assert(check, msg) {
|
||||
if (!check) throw msg + new Error().stack;
|
||||
}
|
||||
|
||||
|
||||
function DataRequest(start, end, crunched, audio) {
|
||||
this.start = start;
|
||||
|
||||
Submodule Zframework updated: 9ecedcbf7e...b2118b4936
@@ -33,8 +33,8 @@ end
|
||||
|
||||
local function generateGuide(num)
|
||||
local l=#F
|
||||
if l>num then
|
||||
return
|
||||
if l>num then
|
||||
return
|
||||
end
|
||||
for i=l,num do
|
||||
F[i] = {}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- Automatically generated by a Python script, from a markdown source file.
|
||||
-- The script can be found here: https://github.com/user670/techmino-dictionary-converter/blob/master/tool.py
|
||||
-- The script can be found here: https://github.com/user670/techmino-dictionary-converter/blob/master/tool.py
|
||||
return {
|
||||
{"Translator Note 1",
|
||||
"",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- Automatically generated by a Python script, from a markdown source file.
|
||||
-- The script can be found here: https://github.com/user670/techmino-dictionary-converter/blob/master/tool.py
|
||||
-- The script can be found here: https://github.com/user670/techmino-dictionary-converter/blob/master/tool.py
|
||||
return {
|
||||
{"翻訳者からのメッセージ 1",
|
||||
"",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- Automatically generated by a Python script, from a markdown source file.
|
||||
-- The script can be found here: https://github.com/user670/techmino-dictionary-converter/blob/master/tool.py
|
||||
-- The script can be found here: https://github.com/user670/techmino-dictionary-converter/blob/master/tool.py
|
||||
return {
|
||||
{"新人须知",
|
||||
"读我 必读 萌新 xinren new noob readme",
|
||||
|
||||
@@ -1248,7 +1248,7 @@ C. Tay cầm chơi game (Gamepad)
|
||||
"Techmino đã đột ngột dừng lại",
|
||||
-- If you have a real interest in programming, I recommend Lua. Easy installation, simple syntax, and fast execution speed. Stay away from boring school programming (haha)
|
||||
{"Nếu bạn thực sự có hứng thú trong lập trình, tôi đề xuất sử dụng Lua. Dễ xài, cú pháp đơn giản, và tốc độ thực thi nhanh. Rồi tránh xa chương trình học nhàm chán ở trên trường luôn! (haha) - ",C.W,"Z",C.white," said."},
|
||||
-- COLD CLEAR PATH
|
||||
-- COLD CLEAR PATH
|
||||
"Đường dẫn của Cold Clear: "..(
|
||||
SYSTEM=='Windows' and "<root>\\CCloader.dll" or
|
||||
SYSTEM=='Linux' and "<root>/CCloader.so" or
|
||||
@@ -1256,7 +1256,7 @@ C. Tay cầm chơi game (Gamepad)
|
||||
SYSTEM=='OS X' and "<root/CCloader.dylib" or
|
||||
"(… Tui… không biết :3)"
|
||||
),
|
||||
--
|
||||
--
|
||||
-- CHANGELOG
|
||||
{C.lW, "V0.0.091726",": ",C.white, "Đã thêm hệ thống xoay TRS"},
|
||||
{C.lW, "V0.7.9 " ,": ",C.white, "Đã thêm ",C.yellow,"O-spin"},
|
||||
|
||||
@@ -681,7 +681,7 @@ local function _drawMission(curMission,L,missionkill)
|
||||
gc_print("×"..RLEMissions[1][2],98,130)
|
||||
gc_translate(-30,0)
|
||||
end
|
||||
|
||||
|
||||
setFont(35)
|
||||
gc_print(ENUM_MISSION[RLEMissions[1][1]],85,110)
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ local function drawChar(char,x,y,scale,alignLeft)
|
||||
end
|
||||
|
||||
local levels={
|
||||
function()-- 1~3 <+> [,10]
|
||||
function()-- 1~3 <+> [,10]
|
||||
local s=rnd(2,9)
|
||||
local a=rnd(1,s)
|
||||
return a.."+"..s-a,s,function()
|
||||
|
||||
@@ -17,7 +17,7 @@ local lastSearch-- Last searched string
|
||||
local lastSelected -- Last selected item
|
||||
local justSearched -- Just searched or not?
|
||||
|
||||
local currentFontSize=25 -- Current font size, default: 25
|
||||
local currentFontSize=25 -- Current font size, default: 25
|
||||
local showingHelp=false -- Help is triggered or not
|
||||
local zoomWait=0 -- The last time zoom is triggered
|
||||
|
||||
@@ -134,7 +134,7 @@ local function _updateInfoBox(c)
|
||||
CHAR.key.up, CHAR.key.down, CHAR.key.left, CHAR.key.right,
|
||||
CHAR.controller.dpadU,CHAR.controller.dpadD,CHAR.controller.dpadL,CHAR.controller.dpadR,
|
||||
CHAR.controller.xboxX,CHAR.controller.xboxY,CHAR.controller.xboxA,CHAR.controller.xboxB,
|
||||
|
||||
|
||||
CHAR.icon.help,CHAR.icon.copy, CHAR.icon.globe,
|
||||
CHAR.icon.toUp,CHAR.icon.toDown,CHAR.key.winMenu
|
||||
),true
|
||||
@@ -245,7 +245,7 @@ function scene.keyDown(key)
|
||||
-- Switching selected items
|
||||
if key=='up' or key=='down' then
|
||||
if not showingHelp then
|
||||
if love.mouse.isDown(2,3) then
|
||||
if love.mouse.isDown(2,3) then
|
||||
listBox:arrowKey(key)
|
||||
return
|
||||
elseif WIDGET.isFocus(listBox) then
|
||||
@@ -415,7 +415,7 @@ scene.widgetList={
|
||||
infoBox,
|
||||
WIDGET.newKey {name='link', x=1234,y=600,w=60,font=45,fText=CHAR.icon.globe, code=pressKey'application',hideF=function() return not ((not (showingHelp or listBox.selected==0)) and _getList()[listBox.selected].url) end},
|
||||
WIDGET.newKey {name='copy', x=1234,y=670,w=60,font=40,fText=CHAR.icon.copy, code=pressKey'cC'},
|
||||
|
||||
|
||||
WIDGET.newKey {name='openzoom', x=1234,y=300,w=60,font=30,fText="aA", code=function() _openZoom() end,hide=false},
|
||||
WIDGET.newKey {name='resetzoom',x=1234,y=370,w=60,font=25,fText="100%", code=function() _resetZoom() end,hide=false},
|
||||
WIDGET.newKey {name='zoomin', x=1234,y=300,w=60,font=40,fText="A", code=function() _setZoom(5) end,hide=true},
|
||||
|
||||
Reference in New Issue
Block a user