mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
Triforce v0.8.5
A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
@@ -106,9 +106,14 @@ def emit_print(cls):
|
||||
|
||||
def lift_print(cls):
|
||||
"""(Triforce) What a worker's emit and texts are made of: emit_print, and the same for the lifter's dead_flags and for the
|
||||
translator (a64emit.translate) and a64_lift.op_text, which a worker now calls itself (run_texts)"""
|
||||
translator (a64emit.translate) and a64_lift.op_text, which a worker now calls itself (run_texts). (11-27) And for the kit's
|
||||
vectorize_fcmp, which op_text reaches by its name in the module (nx2/local_flags.py wraps it), and the flags' form as this
|
||||
process reads it (a64_lift.local_flags, nx2/local_flags.py's rule in its place): a worker that read it otherwise would write
|
||||
the other form, and the lift's process the other a64_fpx.h"""
|
||||
import a64emit
|
||||
return [emit_print(cls), chain(getattr(cls, "dead_flags", None)), chain(a64emit.translate), chain(a64_lift.op_text)]
|
||||
flags = ["%s (%s)" % ("as locals" if a64_lift.local_flags() else "in the context", " over ".join(chain(a64_lift.local_flags)))]
|
||||
return [emit_print(cls), chain(getattr(cls, "dead_flags", None)), chain(a64emit.translate), chain(a64_lift.op_text),
|
||||
chain(a64_lift.vectorize_fcmp), flags]
|
||||
|
||||
|
||||
def chain(f):
|
||||
@@ -190,10 +195,13 @@ def _start(blob):
|
||||
f()
|
||||
got = lift_print(cls)
|
||||
for what, mine, theirs in zip(("the lifter's emit_function", "the lifter's dead_flags", "the translator (a64emit.translate)",
|
||||
"a64_lift.op_text"), got, want):
|
||||
"a64_lift.op_text", "a64_lift.vectorize_fcmp", "the flags (a64_lift.local_flags)"), got, want):
|
||||
if mine != theirs:
|
||||
raise RuntimeError("%s here is %s, the lift's process has %s: what set it up there must be named in `setup` "
|
||||
"(nx2/chunks.py write)" % (what, " over ".join(mine), " over ".join(theirs)))
|
||||
why = "what set it up there must be named in `setup` (nx2/chunks.py write)"
|
||||
if what.startswith("the flags"): # (the switch as this process's environment has it, or no install() here)
|
||||
why = "this process's A64_LOCAL_FLAGS is not the lift's, or " + why
|
||||
raise RuntimeError("%s here is %s, the lift's process has %s: %s"
|
||||
% (what, " over ".join(mine), " over ".join(theirs), why))
|
||||
L = cls.__new__(cls)
|
||||
vars(L).update(state)
|
||||
_mine = (L, [vars(L)[k] if m == "L" else getattr(importlib.import_module(m), k) for m, k in counters])
|
||||
|
||||
Reference in New Issue
Block a user