Starting b10
This commit is contained in:
parent
ed1ed67292
commit
f9b2be5a2e
5 changed files with 16 additions and 9 deletions
|
@ -42,3 +42,5 @@ git clone https://github.com/raspberrypi/tools.git
|
|||
wget https://raw.githubusercontent.com/riscv/riscv-poky/master/scripts/sysroot-relativelinks.py
|
||||
chmod +x sysroot-relativelinks.py
|
||||
./sysroot-relativelinks.py buster/
|
||||
|
||||
sudo apt-get install lib32z1
|
||||
|
|
|
@ -119,9 +119,14 @@ void showUsage(char *name, char *message) {
|
|||
|
||||
// Extract any missing support files. We do this here so they're not generated if launched from a front end.
|
||||
if (!utilPathExists("Singe")) utilMkDirP("Singe", 0777);
|
||||
// Singe/Framework.singe
|
||||
temp = utilCreateString("Singe%cFramework.singe", utilGetPathSeparator());
|
||||
extractFile(temp, Framework_singe, Framework_singe_len);
|
||||
free(temp);
|
||||
// Singe/controls.cfg.example
|
||||
temp = utilCreateString("Singe%ccontrols.cfg.example", utilGetPathSeparator());
|
||||
extractFile(temp, controls_cfg, controls_cfg_len);
|
||||
free(temp);
|
||||
temp = NULL;
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -2143,15 +2143,15 @@ void processKey(bool down, int32_t keysym, int32_t scancode) {
|
|||
_requestScreenShot = true;
|
||||
}
|
||||
}
|
||||
callLua(down ? "onInputPressed" : "onInputReleased", "ii", move, NOMOUSE);
|
||||
callLua(down ? "onInputPressed" : "onInputReleased", "i", move);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Full keyboard
|
||||
callLua(down ? "onInputPressed" : "onInputReleased", "ii", keysym, NOMOUSE);
|
||||
callLua(down ? "onKeyPressed" : "onKeyReleased", "i", scancode);
|
||||
callLua(down ? "onInputPressed" : "onInputReleased", "i", keysym);
|
||||
callLua(down ? "onKeyPressed" : "onKeyReleased", "ii", keysym, scancode);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2553,7 +2553,7 @@ void singe(SDL_Window *window, SDL_Renderer *renderer) {
|
|||
y = (int32_t)(event.motion.y * _overlayScaleY);
|
||||
xr = (int32_t)(event.motion.xrel * _overlayScaleX);
|
||||
yr = (int32_t)(event.motion.yrel * _overlayScaleY);
|
||||
callLua("onMouseMoved", "iiiii", x, y, xr, yr, NOMOUSE);
|
||||
callLua("onMouseMoved", "iiiii", x, y, xr, yr, 0);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
// Don't forget to update singe.rc!
|
||||
#define SINGE_VERSION 2.00
|
||||
#define VERSION_STRING "v2.00b9"
|
||||
#define VERSION_STRING "v2.00b10"
|
||||
#define COPYRIGHT_END_YEAR "2020"
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
101 ICON "/tmp/icon.ico"
|
||||
1 VERSIONINFO
|
||||
FILEVERSION 2,0,0,9
|
||||
PRODUCTVERSION 2,0,0,9
|
||||
FILEVERSION 2,0,0,10
|
||||
PRODUCTVERSION 2,0,0,10
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
|
@ -9,12 +9,12 @@ BEGIN
|
|||
BEGIN
|
||||
VALUE "CompanyName", "Kangaroo Punch Studios"
|
||||
VALUE "FileDescription", "Somewhat Interactive Nostalgic Game Engine"
|
||||
VALUE "FileVersion", "2.00b9"
|
||||
VALUE "FileVersion", "2.00b10"
|
||||
VALUE "InternalName", "Singe"
|
||||
VALUE "LegalCopyright", "Copyright 2006-2020 Scott C. Duensing"
|
||||
VALUE "OriginalFilename", "singe.exe"
|
||||
VALUE "ProductName", "Singe"
|
||||
VALUE "ProductVersion", "2.00b9"
|
||||
VALUE "ProductVersion", "2.00b10"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
Loading…
Add table
Reference in a new issue