mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 04:44:33 +01:00
WAVE: el ser mientras la tabla de fábrica no está decodificada; ui_test mira también la corona de ADD
vx_wave devuelve 0 si el primer cuadro no está (la parte recién pasada a WAVE, el test sin audio): vx_draw dibuja el ser en vez de un panel vacío (ui_test: SCOPE OFF, la criatura cruzando el medio). ADD vuelve a la lista de motores con criatura. Slot 9052 B libres, c2 80 B libres. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
3 files changed
+9
-9
No files matched your search
@@ -2345,7 +2345,7 @@ static C2_IN int vx_wvf(const track_t *t, uint32_t h, int32_t pq, int8_t *F)
|
||||
* back (B), each up and to the right; hidden lines by a horizon (front to back, a line seen only above what is
|
||||
* before it). The frame at POS now (a voice's, the modulation's; else the knob's) bright on them, yellow at A .. pink
|
||||
* at B; the rail on the right with POS's dot. WARP not drawn. In the second segment, the main loop's only */
|
||||
static C2_FN void vx_wave(const track_t *t, const int32_t *A)
|
||||
static C2_FN int vx_wave(const track_t *t, const int32_t *A)
|
||||
{
|
||||
int8_t F[WV_FN], G[WV_FN];
|
||||
int16_t hz[80];
|
||||
@@ -2362,7 +2362,7 @@ static C2_FN void vx_wave(const track_t *t, const int32_t *A)
|
||||
uint16_t c = k < 8 ? heat_col(72 - k * 6) : heat_col(184 - pos * 92 / 32512);
|
||||
d = k < 8 ? k << 8 : pos * 7 / 127; /* (its depth, Q8 frames) */
|
||||
if (!vx_wvf(t, 0, pq, F))
|
||||
return;
|
||||
return k; /* (a factory table not decoded yet: the being meanwhile) */
|
||||
if (mx && vx_wvf(t, 1, pq, G))
|
||||
for (i = 0; i < (int32_t)WV_FN; i++) F[i] = (int8_t)(F[i] + (G[i] - F[i]) * mx / 127);
|
||||
for (i = 0; i <= 64; i += st) {
|
||||
@@ -2384,6 +2384,7 @@ static C2_FN void vx_wave(const track_t *t, const int32_t *A)
|
||||
og_line(VW_X(39 * 16), cy + ((608 * s) >> 8), VW_X(60 * 16), cy + (((608 - 896) * s) >> 8), T_LINE);
|
||||
og_node(VW_X(39 * 16 + d * 48 / 256), cy + (((608 - d / 2) * s) >> 8), s * 3 / 256 + 1, heat_col(128));
|
||||
#undef VW_X
|
||||
return 1;
|
||||
}
|
||||
typedef struct { const engine_t *e; void (*f)(const track_t *, const int32_t *, int32_t); } vxe_t;
|
||||
#if !VX_GX
|
||||
@@ -2415,9 +2416,8 @@ static int vx_draw(const track_t *t, int32_t x, int32_t y, int32_t w, int32_t h,
|
||||
else if (e == &ENG_ADD) /* (V10.8.86) the crown */
|
||||
vx_add(t, A);
|
||||
else if (e == &ENG_WAVE) { /* (V10.8.86) the relief, in the second segment */
|
||||
if (!bt_hw_seg())
|
||||
if (!bt_hw_seg() || !vx_wave(t, A))
|
||||
return 0;
|
||||
vx_wave(t, A);
|
||||
} else { /* (0.9.9-snd5: the creatures drawn the same way, a table) */
|
||||
uint32_t i;
|
||||
#if VX_GX
|
||||
|
||||
+3
-3
@@ -11858,9 +11858,9 @@ static int test_scope(void)
|
||||
for (sk = 0; sk < 1u; sk++) /* the EDIT pages of every engine with a creature */
|
||||
for (e = 0; e < NENGINES; e++) {
|
||||
uint32_t on_tile, on_mid, off_tile, off_mid, gy, chips;
|
||||
if (!eng_ok(e) || e == ENGI_DRUM || e == ENGI_FM6 || eng_gone(e) || str_eq(ENGINES[e]->name, "DIGITAL") || e == ENGI_ADD)
|
||||
continue; /* (DIGITAL, FELUCCA_FM4=1: its OP pages, no creature; V10.7.13+:
|
||||
* ADD neither, it draws the being) */
|
||||
if (!eng_ok(e) || e == ENGI_DRUM || e == ENGI_FM6 || eng_gone(e) || str_eq(ENGINES[e]->name, "DIGITAL"))
|
||||
continue; /* (DIGITAL, FELUCCA_FM4=1: its OP pages, no creature; V10.8.86:
|
||||
* ADD's crown again) */
|
||||
ui_power_on(); set_engine_of(TSEL, e); TSEL->engine = TSEL->eng_req;
|
||||
go_title("EDIT 1"); ui.force = 1; frame(); frame();
|
||||
if (trk_engp(TSEL) == &ENG_FORMANT && TSEL->p[P_VLANG])
|
||||
|
||||
+2
-2
@@ -1906,7 +1906,7 @@ vx_body 130 text vx_blob
|
||||
vx_col 114 text heat_col ux_mix
|
||||
vx_curve 124 text pl_pt vx_bez vx_col
|
||||
vx_dot 92 text og_plot vx_col
|
||||
vx_draw 440 text bt_hw_seg trk_eng trk_engp vx_add vx_animal vx_fit vx_fm6 vx_gx vx_input vx_kit vx_voice vx_wave vx_west
|
||||
vx_draw 448 text bt_hw_seg trk_eng trk_engp vx_add vx_animal vx_fit vx_fm6 vx_gx vx_input vx_kit vx_voice vx_wave vx_west
|
||||
vx_face 178 text vx_arc vx_dot vx_line
|
||||
vx_fall 34 text
|
||||
vx_fit 18 text
|
||||
@@ -1935,7 +1935,7 @@ vx_text 72 text cv_text text_w
|
||||
vx_uf 64 text
|
||||
vx_voice 3108 text memset noise32 og_cos og_sin vh_along vh_curve vh_jaw vh_len vh_line vh_node vh_poly vh_step vh_xf vx_age vx_bez vx_level vx_line vx_voice_target
|
||||
vx_voice_target 710 text sing_phon sing_view
|
||||
vx_wave 814 c2 clamp heat_col og_line og_line_a og_node vx_fit vx_text vx_wvf
|
||||
vx_wave 824 c2 clamp heat_col og_line og_line_a og_node vx_fit vx_text vx_wvf
|
||||
vx_west 978 text str_nth vx_age vx_bface vx_col vx_fall vx_level vx_line vx_poly vx_ring vx_text vx_uf vx_wv
|
||||
vx_wf 62 text og_sin
|
||||
vx_wv 180 text og_sin vx_line
|
||||
|
||||
Reference in new issue
Block a user