}
}
+ // re-create level scores
+
+
ui_resolve( &world.st.world_text );
}
v2_add( center, (v2f){ -0.25f, -0.25f }, p0 );
v2_add( center, (v2f){ 0.25f, -0.25f }, p1 );
-
- if( cell->state & FLAG_FLIP_FLOP )
- render_sprite( k_sprite_flare_y, p1 );
- else
- render_sprite( k_sprite_flare_b, p0 );
+
+ if( cell->state & FLAG_TARGETED )
+ {
+ if( cell->state & FLAG_FLIP_FLOP )
+ render_sprite( k_sprite_flare_y, p1 );
+ else
+ render_sprite( k_sprite_flare_b, p0 );
+ }
+ else
+ render_sprite( k_sprite_flare_w, cell->state &FLAG_FLIP_FLOP? p1: p0 );
}
}
._unlock = 18,
.is_tutorial = 1
- }
+ },
+ {
+ .serial_id = 25,
+ .title = "PRINCIPLE 7",
+ .map_name = "cmp_p7",
+ .description = "Emitters",
+ ._unlock = 26,
+ .is_tutorial = 1
+ }
};
static struct cmp_level cmp_levels_basic[] =
.map_name = "cmp_xor",
.description = "",
- ._unlock = 13,
+ ._unlock = 25,
.achievement = "GRADUATE"
}
};
.serial_id = 23,
.title = "3 BIT BINARY",
.map_name = "cmp_binary",
- .description = "",
+ .description = "convert amount to binary",
+ .strings =
+ {
+ {
+ .placement = k_placement_bottom,
+ .str =
+"\t\t\t\t\t\t\t\t\t\t\x83 \x84\n"
+"\t\t\t\t\t\t\t\t\t\t\x83 \x84 Binary\n"
+"\t\t\t\t\t\t\t\t\t\t\x83 4 2 1 \x84"
+ },
+ {
+ .placement = k_placement_top,
+ .str =
+"\n"
+"\t\t\t\t\t\t\t\t\t\t\t Count"
+ }
+ },
._unlock = 24
},
.serial_id = 25,
.title = "3x3 PLOT",
.map_name = "cmp_plot3x3",
- .description = ""
+ .description = "2 bit x/y",
+
+ .strings =
+ {
+ {
+ .placement = k_placement_top,
+ .str=
+"\t\t\t\t\t\t\t\t\x8A 2 1 \x8B \x8A 2 1 \x8B\n"
+"\t\t\t\t\t\t\t\t\x83 \x84 X Y \x83 \x84\n"
+"\t\t\t\t\t\t\t\t\x83 \x84 \x83 \x84"
+ }
+ }
}
};
#####################;
-########-#-#-########;a:a::,:a:a:a,:::a
+##########-.-.-######;a:a::,:a:a:a,:::a
## ##;
## ##;
## ##;
--- /dev/null
+########;
+##-#####;db
+## ##;
+##### ##;
+### # ##;
+### # ##;
+### # ##;
+###+#*##;a,bd
+########;
## ##;
## ##;
### ###;
-####+###+#+###+#+####;b:b:b:b:b:b,:a::::,a:::a:a:,::a::a:,a:::::
+####+###+.+###+.+####;b:b:b:b:b:b,:a::::,a:::a:a:,::a::a:,a:::::
#####################;
k_sprite_brk_r,
k_sprite_brk_u,
k_sprite_flare_b,
+ k_sprite_flare_w,
k_sprite_flare_y,
k_sprite_jack_1,
k_sprite_jack_2,
{{ 0.468750, 0.000000, 0.156250, 0.156250 }},
{{ 0.625000, 0.000000, 0.125000, 0.125000 }},
{{ 0.750000, 0.000000, 0.125000, 0.125000 }},
- {{ 0.875000, 0.000000, 0.062500, 0.062500 }},
- {{ 0.937500, 0.000000, 0.062500, 0.062500 }},
- {{ 0.875000, 0.062500, 0.062500, 0.062500 }}
+ {{ 0.875000, 0.000000, 0.125000, 0.125000 }},
+ {{ 0.000000, 0.156250, 0.062500, 0.062500 }},
+ {{ 0.062500, 0.156250, 0.062500, 0.062500 }},
+ {{ 0.125000, 0.156250, 0.062500, 0.062500 }}
};
\ No newline at end of file