feat: converter keeps layers of screens and camera, perspective, matrix calls; That New Teacher runs its own text-tag libraries
onlayer on show/hide/call screen and `camera <layer>` reach the player, `perspective` is an ATL property now, RotateMatrix/OffsetMatrix/ScaleMatrix, Text.set_text and renpy.fetch are accepted. The text-effect modules of That New Teacher are no longer skipped (only the shader-based wave tag is). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7652f7d010
commit
5da7ab1a90
6 files changed
+36
-14
No files matched your search
@@ -199,7 +199,7 @@ METHODS |= NATIVE_METHODS
|
||||
# Methods of generators made by `renpy.random.Random()` / `random.Random()`
|
||||
METHODS |= {"send", "_duplicate", "_unique", "set_child", "get_placement", "subsurface", "update_state",
|
||||
"adjusted_times", "get_range", "interpolate", "from_iterable", "itermonthdays", "isnumeric", "isdecimal", "add_style_property", "add_prefix_style_property", "add_pattern", "get_context", "read", "readlines", "close", "sub", "subn", "search", "match", "findall", "finditer", "split", "time", "_clear", "Enable", "Disable", "Toggle", "encode", "blit", "subpixel_blit", "fill", "canvas", "get_size", "add_shader", "add_uniform", "add_property",
|
||||
"add_focus", "circle", "rect", "line", "lines", "polygon"}
|
||||
"add_focus", "circle", "rect", "line", "lines", "polygon", "set_text"}
|
||||
METHODS |= {"fullmatch", "hexdigest", "randint", "randrange", "random", "choice", "choices", "sample", "shuffle", "uniform"}
|
||||
|
||||
|
||||
@@ -370,8 +370,10 @@ ENGINE_LABELS = {"main_menu_screen", "_main_menu_screen", "main_menu"}
|
||||
|
||||
# Calls that make the player wait; Python containing them runs on the player's generator interpreter
|
||||
BLOCKING_BUILTINS = {"renpy.input", "renpy.say", "renpy.pause", "renpy.display_menu", "renpy.with_statement",
|
||||
"renpy.call_screen", "renpy.movie_cutscene", "ui.interact"}
|
||||
"renpy.call_screen", "renpy.movie_cutscene", "renpy.fetch", "ui.interact"}
|
||||
CALLS |= {"renpy.free_memory", "achievement.clear_all", "renpy.image", "ImageReference", "SetMixer"}
|
||||
# Geometry matrices of `matrixtransform` (frontend/src/player/rendertransform.ts)
|
||||
CALLS |= {"RotateMatrix", "OffsetMatrix", "ScaleMatrix"}
|
||||
CALLS |= BLOCKING_BUILTINS | {"renpy.show", "renpy.hide", "renpy.scene", "Borders", "renpy.set_tag_attributes",
|
||||
"eval", "exec", "Replay", "EndReplay", "renpy.end_replay",
|
||||
"renpy.get_showing_tags", "renpy.run", "renpy.pop_call",
|
||||
|
||||
Reference in new issue
Block a user