Ctor-based add() API, font by string, asset by string in Ctor
- Change
Node::add<T>(args)toadd(Ctor{}, args)usingCtor::Talias - All node
Ctorstructs now carryusing T = NodeTypefor type deduction - Separate node-specific
Ctorfrom positionalNode3d/NodeUi::Ctorargs Mesh::CtorandSkMesh::Ctornow take asset as stringLabel::CtorandMenuItem::Ctornow take font as stringFpsLabelno longer requiresFontreference in constructorBaseSlot::Ctorseparated fromSlot<I>::CtorwithNodeUi::Ctoras argInvUi::Ctorcarries Items reference instead of passing via constructor- All node registrators updated to use new
add(Ctor{})pattern - Fix
TileViewscrollmax: use(size-1)/nColinstead of(size-nCol+1)/nCol - Update all slot, loot, player, mob constructors to new pattern
- Update icon assets for equipment and weapon slots