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