Repository navigation
Releases
Releases · EnotCoder/CYS
Cut scene Release
Full Changelog: 0.1.1...0.1.2
New year Release
Beta release
test: cover level 1 pure logic (A*, ndc_to_world, tokens, categories) 14 new unit tests in src/tests/mod.rs, no production code changes. A* pathfinding: optimality on open field (length == manhattan+1), start/goal adjacency, unreachable goal and out-of-bounds start, world<->cell snapping round-trip across a 25x25 grid. core::util: ndc_to_world maps window centre exactly onto the camera across four zoom levels and flips the Y axis; ease_out_back is clamped and overshoots exactly once; inventory_index rows are flipped so the grid fills bottom-up without gaps; ui_fit_scale stays inside [0.30, 1.0]. Sprite::split_sized_path: last '@' wins, zero/negative/malformed footprints fall back to atlas mode. token_to_texture: every token in the match table x all 4 seasons resolves to an in-bounds atlas frame and an existing file. is_inside uses exclusive bounds. Category predicates agree with their backing lists and the four inventory tabs stay pairwise disjoint. Every catalog object has a resolvable icon; the shop catalogue matches ALL_OBJECTS minus SHOP_EXEMPT. BalanceConfig defaults keep day/night phases ordered and the dawn fade inside the cycle. Three initial failures were wrong assumptions about the game, not defects: map_size is a zoom (larger = closer, not wider), from_world rounds half-up so -0.5 maps to cell 0, and `table` is intentionally absent from SHOP_EXEMPT. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>