mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 23:06:18 +00:00
meow
This commit is contained in:
parent
c3d006a505
commit
ce751fef1d
4 changed files with 3 additions and 8 deletions
|
|
@ -14,7 +14,7 @@ class Window_DebugRight < Window_Selectable
|
||||||
# * Object Initialization
|
# * Object Initialization
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
def initialize
|
def initialize
|
||||||
super(192, 0, 448, 352)
|
super(192, 0, 448, Graphics.height)
|
||||||
self.contents = Bitmap.new(width - 32, height - 32)
|
self.contents = Bitmap.new(width - 32, height - 32)
|
||||||
self.index = -1
|
self.index = -1
|
||||||
self.active = false
|
self.active = false
|
||||||
|
|
|
||||||
|
|
@ -101,8 +101,7 @@ void SharedFontState::initFontSetCB(SDL_IOStream* &ops, const std::string &filen
|
||||||
set.other = filename;
|
set.other = filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
TTF_Font *SharedFontState::getFont(std::string family, int size){
|
TTF_Font *SharedFontState::getFont(std::string family, unsigned int size){
|
||||||
char msg[512];
|
|
||||||
if (family.empty())
|
if (family.empty())
|
||||||
family = "Terminus (TTF)"; // terminus hardcoded :3c
|
family = "Terminus (TTF)"; // terminus hardcoded :3c
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -646,10 +646,7 @@ void Input::update(){
|
||||||
p->repeatCount++;
|
p->repeatCount++;
|
||||||
|
|
||||||
bool repeated;
|
bool repeated;
|
||||||
if (rgssVer >= 2)
|
repeated = p->repeatCount >= 15 && ((p->repeatCount+1) % 4) == 0;
|
||||||
repeated = p->repeatCount >= 23 && ((p->repeatCount+1) % 6) == 0;
|
|
||||||
else
|
|
||||||
repeated = p->repeatCount >= 15 && ((p->repeatCount+1) % 4) == 0;
|
|
||||||
|
|
||||||
p->getState(p->repeating).repeated |= repeated;
|
p->getState(p->repeating).repeated |= repeated;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -212,7 +212,6 @@ static void setGamePathInRegistry() {
|
||||||
//TODO handle this for Linux/Mac
|
//TODO handle this for Linux/Mac
|
||||||
}
|
}
|
||||||
int main(int argc, char *argv[]){
|
int main(int argc, char *argv[]){
|
||||||
char msg[512];
|
|
||||||
SecurityManagerInit();
|
SecurityManagerInit();
|
||||||
loadLanguageMetadata(); //there will be a segfault on fclose if I don't move it here
|
loadLanguageMetadata(); //there will be a segfault on fclose if I don't move it here
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue