Scrollbar, TileView template, InvItemTile, uiMode to Scene

  • Add Scrollbar node with track/thumb/arrow shader and assets
  • Templatize TileView<ItemT, TileT>
  • Replace TileViewItem with InvItemTile (hover highlight, click cb)
  • Add onTileClick callback to TileView
  • Move uiMode state from gameplay local variable into Scene
  • Add Player::toggleInv to show/hide inventory and toggle uiMode
  • Separate HUD and inventory into distinct NodeUi nodes in Player
  • Move items ownership to Player; TileView takes items by reference
  • Rename img-uivs.sc to common-uivs.sc; update all asset paths
  • Add isVisible check to Node::prepareRenderData
  • Consolidate isVisible into Node base class; remove duplicates
  • Replace lastMotion with mouseCapture in scene editor
  • Remove alive field
  • Add left mouse button UI handling in gameplay
  • Gate mouse wheel events behind uiMode check
  • Remove debug LOG from mouse wheel handler

Next - Previous