This commit is contained in:
parent
9f418eda9b
commit
37711218d7
|
|
@ -49,7 +49,8 @@ class Window_SaveFile < Window_Base
|
||||||
# If save file exists
|
# If save file exists
|
||||||
if @file_exist
|
if @file_exist
|
||||||
# Draw character
|
# Draw character
|
||||||
for i in 0...@characters.size
|
#for i in 0...@characters.size
|
||||||
|
(0...@characters.size).each do |i|
|
||||||
bitmap = RPG::Cache.character(@characters[i][0], @characters[i][1])
|
bitmap = RPG::Cache.character(@characters[i][0], @characters[i][1])
|
||||||
cw = bitmap.rect.width / 4
|
cw = bitmap.rect.width / 4
|
||||||
ch = bitmap.rect.height / 4
|
ch = bitmap.rect.height / 4
|
||||||
|
|
|
||||||
|
|
@ -150,9 +150,6 @@ static void setupWindowIcon(const Config &conf, SDL_Window *win){
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]){
|
int main(int argc, char *argv[]){
|
||||||
//I WANT FUCKING OPTIMIZE EVERYFING IN THIS BULLSHIT
|
|
||||||
std::ios::sync_with_stdio(false);
|
|
||||||
std::cin.tie(nullptr);
|
|
||||||
startTime = boost::chrono::high_resolution_clock::now();
|
startTime = boost::chrono::high_resolution_clock::now();
|
||||||
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
|
||||||
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
|
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue