Bugfixes and refactoring
* Fixed history screen crash * Changed default renderer to GL2 * Updated whitespace calculations file * Updated minimum Ren'py version requirement
This commit is contained in:
parent
a2ba831e9f
commit
abaecc4c7f
File diff suppressed because it is too large
Load Diff
@ -26,7 +26,7 @@ screen history():
|
|||||||
default last_who = None
|
default last_who = None
|
||||||
|
|
||||||
# Group consecutive entries by same character (convert to list to avoid multiple enumeration problems)
|
# Group consecutive entries by same character (convert to list to avoid multiple enumeration problems)
|
||||||
default groups = [(k, list(g)) for k, g in itertools.groupby(_history_list, key=lambda h: h.who or h.show_args.get("icon", None))]
|
default groups = [(k, list(g)) for k, g in itertools.groupby(_history_list, lambda x: x.who or x.show_args.get("icon", None))]
|
||||||
|
|
||||||
for k, g in groups:
|
for k, g in groups:
|
||||||
vbox:
|
vbox:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
default preferences.text_cps = 40
|
default preferences.text_cps = 40
|
||||||
default preferences.afm_time = 15
|
default preferences.afm_time = 15
|
||||||
default preferences.pad_enabled = False
|
default preferences.pad_enabled = False
|
||||||
default preferences.renderer = "angle2" if renpy.windows else "gl2"
|
default preferences.renderer = "gl2"
|
||||||
default preferences.gl_powersave = False
|
default preferences.gl_powersave = False
|
||||||
|
|
||||||
python early:
|
python early:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
init python early:
|
init python early:
|
||||||
if renpy.version_tuple < (7,4,0,1006):
|
if renpy.version_tuple < (7,5,0,22061501):
|
||||||
raise RuntimeWarning("Your Ren'Py launcher is outdated, the current minimal requirement is 7.4.0.1006+\nPlease perform an update and try launching the game again.")
|
raise RuntimeWarning("Your Ren'Py launcher is outdated, the current minimal requirement is 7.4.0.1006+\nPlease perform an update and try launching the game again.")
|
||||||
|
|
||||||
from renpy.uguu import glGetString, GL_VENDOR, GL_RENDERER, GL_VERSION
|
from renpy.uguu import glGetString, GL_VENDOR, GL_RENDERER, GL_VERSION
|
||||||
@ -38,13 +38,11 @@ init -1 python:
|
|||||||
raise IOError("Missing image: {}".format(path))
|
raise IOError("Missing image: {}".format(path))
|
||||||
return Image("images/blank.webp")
|
return Image("images/blank.webp")
|
||||||
|
|
||||||
|
|
||||||
def missing_label_func(name):
|
def missing_label_func(name):
|
||||||
global systemerror
|
global systemerror
|
||||||
systemerror = ["Missing label", name]
|
systemerror = ["Missing label", name]
|
||||||
return "missing_label"
|
return "missing_label"
|
||||||
|
|
||||||
|
|
||||||
def TBA_message(msg="Currently unavailable, check in later versions of the game."):
|
def TBA_message(msg="Currently unavailable, check in later versions of the game."):
|
||||||
renpy.show_screen("blktone")
|
renpy.show_screen("blktone")
|
||||||
renpy.with_statement(d3)
|
renpy.with_statement(d3)
|
||||||
|
Loading…
Reference in New Issue
Block a user