diff --git a/ai_animation/index.html b/ai_animation/index.html index ef84066..7fe3e57 100644 --- a/ai_animation/index.html +++ b/ai_animation/index.html @@ -16,7 +16,6 @@
- diff --git a/ai_animation/src/domElements.ts b/ai_animation/src/domElements.ts index 630a935..0bcc249 100644 --- a/ai_animation/src/domElements.ts +++ b/ai_animation/src/domElements.ts @@ -74,8 +74,6 @@ if (null === leaderboard) throw new Error("Element with ID 'leaderboard' not fou export const standingsBtn = document.getElementById('standings-btn'); if (null === standingsBtn) throw new Error("Element with ID 'standings-btn' not found"); -export const relationshipsBtn = document.getElementById('relationships-btn'); -if (null === relationshipsBtn) throw new Error("Element with ID 'relationships-btn' not found"); // Add roundRect polyfill for browsers that don't support it diff --git a/ai_animation/src/gameState.ts b/ai_animation/src/gameState.ts index eabb631..9719ffb 100644 --- a/ai_animation/src/gameState.ts +++ b/ai_animation/src/gameState.ts @@ -1,6 +1,5 @@ import * as THREE from "three" import { updateRotatingDisplay } from "./components/rotatingDisplay"; -import { updateRelationshipPopup } from "./domElements/relationshipPopup"; import { type CoordinateData, CoordinateDataSchema, PowerENUM } from "./types/map" import type { GameSchemaType } from "./types/gameState"; import { GameSchema } from "./types/gameState"; @@ -265,7 +264,6 @@ class GameState { // Update rotating display and relationship popup with game data if (this.gameData) { updateRotatingDisplay(this.gameData, this.phaseIndex, this.currentPower); - updateRelationshipPopup(); updateGameIdDisplay(); } }) diff --git a/ai_animation/src/main.ts b/ai_animation/src/main.ts index 56472bd..31fa59f 100644 --- a/ai_animation/src/main.ts +++ b/ai_animation/src/main.ts @@ -6,7 +6,6 @@ import { logger } from "./logger"; import { loadBtn, prevBtn, nextBtn, speedSelector, fileInput, playBtn, mapView, loadGameBtnFunction } from "./domElements"; import { updateChatWindows } from "./domElements/chatWindows"; import { initStandingsBoard, hideStandingsBoard, showStandingsBoard } from "./domElements/standingsBoard"; -import { initRelationshipPopup, hideRelationshipPopup, updateRelationshipPopup } from "./domElements/relationshipPopup"; import { displayPhaseWithAnimation, advanceToNextPhase, resetToPhase, nextPhase, previousPhase } from "./phase"; import { config } from "./config"; import { Tween, Group, Easing } from "@tweenjs/tween.js"; @@ -29,9 +28,6 @@ function initScene() { // Initialize standings board initStandingsBoard(); - // Initialize relationship popup - initRelationshipPopup(); - // Load coordinate data, then build the map gameState.loadBoardState().then(() => { initMap(gameState.scene).then(() => { diff --git a/ai_animation/src/phase.ts b/ai_animation/src/phase.ts index ffdd9f4..b445b1d 100644 --- a/ai_animation/src/phase.ts +++ b/ai_animation/src/phase.ts @@ -4,7 +4,6 @@ import { updatePhaseDisplay } from "./domElements"; import { initUnits } from "./units/create"; import { updateSupplyCenterOwnership, updateLeaderboard, updateMapOwnership as _updateMapOwnership } from "./map/state"; import { updateChatWindows, addToNewsBanner } from "./domElements/chatWindows"; -import { updateRelationshipPopup } from "./domElements/relationshipPopup"; import { createAnimationsForNextPhase } from "./units/animate"; import { speakSummary } from "./speech"; import { config } from "./config"; @@ -86,7 +85,6 @@ export function displayPhase(skipMessages = false) { // Update UI elements with smooth transitions updateLeaderboard(currentPhase); _updateMapOwnership(); - updateRelationshipPopup(); // Add phase info to news banner if not already there const phaseBannerText = `Phase: ${currentPhase.name}`;