Skip to content

fix: resolve roadside shop detection, modernize 640x480 templates, and restore upstream V-swipe - #13

Open
52191314 wants to merge 1 commit into
mainfrom
fix/market-templates-and-vswipe
Open

fix: resolve roadside shop detection, modernize 640x480 templates, and restore upstream V-swipe#13
52191314 wants to merge 1 commit into
mainfrom
fix/market-templates-and-vswipe

Conversation

@52191314

Copy link
Copy Markdown
Owner

Overview

This PR fixes Roadside Shop false-positive detection, updates all 640x480 crop and market UI templates to pixel-perfect fidelity, restores upstream deterministic V-swipe motion, and improves GUI window resizing and MSVC build toolchain.


Key Changes

  1. Roadside Shop Detection & HUD Boundary Rejection:

    • Replaced legacy \shop.png\ with native 640x480 Roadside Shop building canopy (1.0000 match score).
    • Added HUD boundary rejection (\y > screen.rows - 90) in \FindShopIconPreferCache()\ to reject false positive taps on the Friends (573, 426) and Cash Register (39, 444) HUD buttons.
  2. Pixel-Perfect 640x480 Template Modernization:

    • Seeds: \wheat.png, \corn.png, \carrot.png, \soybean.png, \sugarcane.png\ calibrated to 1.0000 match scores.
    • Market UI: \shop_crate.png, \Roadside_Shop.png, \market_close_cross.png, \wheat_shop.png, \plus.png, \create_sale.png, \createad.png, \silo_market.png, \�arn_market.png\ calibrated to 1.0000 match scores.
    • Fixed Silo-Full recovery multi-fallback banner & cross popup detection.
  3. Restored Upstream Deterministic V-Swipe:

    • Reverted artificial random micro-jitter and variable sleep delays.
    • Restored pure linear 2-finger interpolation at a stable 20ms frame rate with strict 640x480 screen bounds clamping.
  4. GUI & Build Configuration:

    • Added native Win32 window resizing and border hit-testing (\WM_NCHITTEST) with cursor adaptation (\↔, \↕, \⤡, \⤢) in \premium gui.cpp.
    • Updated \�ot.vcxproj\ to MSVC toolset \�143\ (Visual Studio 2022) and automated runtime DLL deployment via \HaydayVcpkgRoot.
  5. Tooling & Skills:

    • Added automated \hayday-zoom-injector\ skill and tooling scripts.

…d restore upstream V-swipe

- Replaced legacy shop.png with native 640x480 Roadside Shop awning template and added HUD rejection (y > screen.rows - 90) to prevent false-positive taps on Friends/Shop HUD buttons.
- Updated and calibrated all 640x480 seed templates (wheat, corn, carrot, soybean, sugarcane) and market UI templates (shop_crate, Roadside_Shop, market_close_cross, plus, create_sale, createad, silo_market, barn_market) to 1.0000 match scores.
- Restored original deterministic 2-finger linear V-swipe gesture with clamped screen bounds.
- Enabled native Win32 window resizing and border hit-testing (WM_NCHITTEST) in premium gui.
- Updated bot.vcxproj to toolset v143 and automated runtime DLL deployment with HaydayVcpkgRoot.
- Added automated hayday-zoom-injector tool, skill, and build environment automation scripts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant