mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Add guild features, fix channel joining, and improve whisper reply
Guild: add disband, leader transfer, public/officer note commands with roster context menu showing rank names and officer notes column. Auto-refresh roster after guild events. Channels: fix city/region channels not working by accepting SMSG_CHANNEL_NOTIFY during ENTERING_WORLD state (server auto-joins before VERIFY_WORLD) and handling PLAYER_ALREADY_MEMBER notification. Whisper: /r now switches to whisper tab and sets target to last sender, matching WoW behavior. Camera: extend WMO collision raycasting to work outside WMOs too.
This commit is contained in:
parent
6dd811a926
commit
0d4a9c38f7
9 changed files with 271 additions and 9 deletions
|
|
@ -955,8 +955,8 @@ void CameraController::update(float deltaTime) {
|
|||
// Find max safe distance using raycast + sphere radius
|
||||
collisionDistance = currentDistance;
|
||||
|
||||
// WMO raycast collision: zoom in when camera would clip through walls
|
||||
if (wmoRenderer && cachedInsideWMO && currentDistance > MIN_DISTANCE) {
|
||||
// WMO raycast collision: zoom in when camera would clip through walls/floors
|
||||
if (wmoRenderer && currentDistance > MIN_DISTANCE) {
|
||||
glm::vec3 camRayOrigin = pivot;
|
||||
glm::vec3 camRayDir = camDir;
|
||||
float wmoHitDist = wmoRenderer->raycastBoundingBoxes(camRayOrigin, camRayDir, currentDistance);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue