Commit Graph

  • 09e88f0376 sab evan-sab2 evanpelle 2025-12-02 14:01:55 -08:00
  • 997cfea730 Fixes lobby team preview: clan players aren't assigned a team + add nation count + other small fixes (#2536) VariableVince 2025-12-02 05:44:07 +01:00
  • 96cf177a5f Add the Lisbon Map and Credit Copernicus DEM (#2545) jachisc 2025-12-01 20:05:47 -03:30
  • fe8c0f961a Fix clients able to join above max players (#2547) Lavodan 2025-12-02 00:33:24 +01:00
  • 8f3e09c6a3 Add Gulf of St. Lawrence Map and Related Flags (#2524) jachisc 2025-12-01 00:47:29 -03:30
  • 55e413c528 Fix Territory Skins option (#2538) Lavodan 2025-12-01 04:38:35 +01:00
  • 5d513dfe5d Remove border around in game time (#2544) Roan 2025-12-01 03:00:36 +00:00
  • fc74b4f31b Merge branch 'main' into test-reload-mobile test-reload-mobile VariableVince 2025-11-29 22:56:42 +01:00
  • 33ea33d4df test replayspeed scamiv 2025-11-29 12:25:07 +01:00
  • 318e4210ba Merge branch 'main' into canbuildtransport-perf VariableVince 2025-11-29 11:12:46 +01:00
  • 95519ce5cc update comment scamiv 2025-11-28 20:52:22 +01:00
  • a15fcdf132 Update WebGL status message scamiv 2025-11-28 20:04:37 +01:00
  • ff4d8c9d6f Implement territory defense and relation management in GameMap and renderers; update WebGL shader scamiv 2025-11-28 19:20:32 +01:00
  • a9c1c408ca Update GameRenderer and TerritoryLayer for improved performance profiling; adjust minimum FPS and enhance layer profiling with new profileName method. Refactor rendering logic in Canvas and WebGL territory renderers . scamiv 2025-11-28 18:40:16 +01:00
  • 8077008ceb Refactor TerritoryLayer to use a strategy pattern for territory rendering; remove unused ToggleTerritoryWebGLDebugBordersEvent and BorderRenderer interface. Update imports and rendering logic to accommodate new CanvasTerritoryRenderer and WebglTerritoryRenderer classes. scamiv 2025-11-28 17:52:38 +01:00
  • fb30bf8f69 Remove unused HoverTargetResolver and TerritoryBorderWebGL files; update imports in PlayerInfoOverlay, TerritoryLayer, and other files to use new HoverTarget module. scamiv 2025-11-28 17:04:16 +01:00
  • 990b698845 fixes scamiv 2025-11-28 14:34:37 +01:00
  • a9a29614ea territory scamiv 2025-11-28 05:27:19 +01:00
  • aba4030b6d Merge branch 'sab' into webgl-territory-worker scamiv 2025-11-28 04:21:59 +01:00
  • 2b606f280b Fix: 'Mini Map' to 'Compact Map' for Private Lobby Modal (#2520) v0.27.2 VariableVince 2025-11-26 22:09:52 +01:00
  • 38145254af Alliance icon does no longer stretch/disappear 🖌️ (#2527) FloPinguin 2025-11-27 04:50:58 +01:00
  • ab53ee687f Alliance icon does no longer stretch/disappear 🖌️ (#2527) FloPinguin 2025-11-27 04:50:58 +01:00
  • 41deef9e96 Nations no longer send random boats to their bordering enemies 🚢 (#2526) FloPinguin 2025-11-27 04:42:50 +01:00
  • d694f61517 Add factory & train emojis (#2522) DevelopingTom 2025-11-27 01:39:52 +01:00
  • c38c25ab1e Add factory & train emojis (#2522) DevelopingTom 2025-11-27 01:39:52 +01:00
  • 8f53785a80 BUG FIX: Gold double deduction + Rmoval of UnitType.Construction (#2378) CrackeRR11 2025-11-26 23:45:14 +01:00
  • c341aafaf9 Fix: 'Mini Map' to 'Compact Map' for Private Lobby Modal (#2520) VariableVince 2025-11-26 22:09:52 +01:00
  • 1e3d2e10f3 overflows field now acts as a bool scamiv 2025-11-26 22:02:12 +01:00
  • 7e2784eee2 refactored loadTerrainMap to reuse the existing canUseSharedBuffers scamiv 2025-11-26 21:55:37 +01:00
  • 81b0d36c38 disable TerrainMapData cache for SAB path scamiv 2025-11-26 21:53:49 +01:00
  • c1bc4a7d1c removed console.log scamiv 2025-11-26 20:57:36 +01:00
  • 75a9465f5a Size SAB ring buffer by world tile count scamiv 2025-11-26 18:41:47 +01:00
  • 5a8c0b636d Use dirty flags to coalesce tile updates in SAB ring scamiv 2025-11-26 17:31:36 +01:00
  • 02db840d3c Revert "dedup tileRef for tileUpdateSink(tileRef)" scamiv 2025-11-26 17:12:24 +01:00
  • 45971d3c36 dedup tileRef for tileUpdateSink(tileRef) scamiv 2025-11-26 16:41:27 +01:00
  • 40e7394e58 fix performance overlay scamiv 2025-11-26 15:56:34 +01:00
  • 8d72632f79 fix sab detection scamiv 2025-11-26 15:22:34 +01:00
  • 43774615f0 mergeGameUpdates fix batch.length === 0 return case scamiv 2025-11-26 14:57:52 +01:00
  • e4178d3dc6 add more stats to perf overlay scamiv 2025-11-26 14:46:05 +01:00
  • 1f655618ff Change the ring buffer to Uint32Array Store only TileRef instead of packed tile+state values scamiv 2025-11-26 14:36:11 +01:00
  • 15531806fa Use SharedArrayBuffer tile state and ring buffer for worker updates scamiv 2025-11-26 00:45:06 +01:00
  • fa6d445f46 SAB+Atomics refactor scamiv 2025-11-25 21:22:13 +01:00
  • e74dbe64fa Add performance metrics for worker and render ticks scamiv 2025-11-25 19:21:33 +01:00
  • 59ff42e52b Refactor rendering and throttle based on backlog scamiv 2025-11-25 18:46:25 +01:00
  • f0e05c66b8 add "ticks per render" metric scamiv 2025-11-25 17:44:54 +01:00
  • d501d0e2d9 remove redundant logic scamiv 2025-11-25 17:40:39 +01:00
  • 73f47fe997 ClientGameRunner: simplify catch-up loop with indexed queue scamiv 2025-11-24 22:54:09 +01:00
  • 5c99ef5092 Refactor slice budget calculation in ClientGameRunner to improve backlog handling. Introduced dynamic slice budget scaling based on backlog size, allowing for longer processing times when necessary while maintaining UI responsiveness. scamiv 2025-11-24 19:59:10 +01:00
  • 3cc6243bf4 Implemented time-sliced catch-up on the main thread to keep input responsive. src/client/ClientGameRunner.ts now drains pending game updates in small chunks (max 100 updates or ~8ms per slice) via requestAnimationFrame, merging and rendering per slice, and only clears the processing flag when the queue is empty. scamiv 2025-11-24 17:40:11 +01:00
  • 8e0a42c513 Clean up previous implementations scamiv 2025-11-24 15:01:17 +01:00
  • dcd5b550cf Worker now self-clocks; no heartbeats needed scamiv 2025-11-23 21:03:22 +01:00
  • b6515d4366 frameskip scamiv 2025-11-23 21:02:22 +01:00
  • d5f53af3da Batch worker updates in client catch-up mode to reduce render cost scamiv 2025-11-23 19:28:34 +01:00
  • e31ac7f2cc Add client catch-up mode scamiv 2025-11-23 14:07:12 +01:00
  • 5d3884eb22 Merge branch 'sab' into Atomic-SAB Atomic-SAB scamiv 2025-11-26 20:58:23 +01:00
  • 4fd3ed5b28 removed console.log scamiv 2025-11-26 20:57:36 +01:00
  • c4779ad100 Merge branch 'sab' into Atomic-SAB scamiv 2025-11-26 18:42:54 +01:00
  • ea7d5089b8 Size SAB ring buffer by world tile count scamiv 2025-11-26 18:41:47 +01:00
  • 30c3a20cb8 Merge branch 'sab' into Atomic-SAB scamiv 2025-11-26 17:47:35 +01:00
  • ecabf3577e Use dirty flags to coalesce tile updates in SAB ring scamiv 2025-11-26 17:31:36 +01:00
  • 7b969a7231 Revert "dedup tileRef for tileUpdateSink(tileRef)" scamiv 2025-11-26 17:12:24 +01:00
  • 75d7b09ea5 Revert "Merge branch 'sab' into Atomic-SAB" scamiv 2025-11-26 17:03:17 +01:00
  • d61046c3aa Merge branch 'sab' into Atomic-SAB scamiv 2025-11-26 16:44:44 +01:00
  • 08a2ff906b dedup tileRef for tileUpdateSink(tileRef) scamiv 2025-11-26 16:41:27 +01:00
  • a839cedfc3 Merge branch 'sab' into Atomic-SAB scamiv 2025-11-26 15:57:33 +01:00
  • 6793871cf3 fix performance overlay scamiv 2025-11-26 15:56:34 +01:00
  • 905e42d34d test debug logging scamiv 2025-11-26 15:45:12 +01:00
  • 0fe4a5e004 Merge branch 'sab' into Atomic-SAB scamiv 2025-11-26 15:23:59 +01:00
  • 0983b17acb fix sab detection scamiv 2025-11-26 15:22:34 +01:00
  • 5d13ce1abb Merge branch 'sab' into Atomic-SAB scamiv 2025-11-26 15:00:33 +01:00
  • bb16333801 mergeGameUpdates fix batch.length === 0 return case scamiv 2025-11-26 14:57:52 +01:00
  • 540663cd56 Merge branch 'sab' into Atomic-SAB scamiv 2025-11-26 14:48:59 +01:00
  • ff0533fd1b add more stats to perf overlay scamiv 2025-11-26 14:46:05 +01:00
  • 8159222612 Change the ring buffer to Uint32Array Store only TileRef instead of packed tile+state values scamiv 2025-11-26 14:36:11 +01:00
  • e99bf6360c Fix: prevent desync after clan team assignment for profane username (#2511) VariableVince 2025-11-26 05:08:30 +01:00
  • 7d8c1c2822 Fix: prevent desync after clan team assignment for profane username (#2511) VariableVince 2025-11-26 05:08:30 +01:00
  • 69354be8cc Merge branch 'sab' into Atomic-SAB scamiv 2025-11-26 00:48:36 +01:00
  • c8fb8e7f04 record stats for factory build and capture evanpelle 2025-11-25 15:47:12 -08:00
  • a2a89aa981 Use SharedArrayBuffer tile state and ring buffer for worker updates scamiv 2025-11-26 00:45:06 +01:00
  • bb28f4c0c9 Merge branch 'sab' into Atomic-SAB scamiv 2025-11-25 21:41:41 +01:00
  • cb7c94efb8 SAB+Atomics refactor scamiv 2025-11-25 21:22:13 +01:00
  • 86ead90022 Merge branch 'catchUpMode' into self-clocked-worker-frame-skip-backlog self-clocked-worker-frame-skip-backlog scamiv 2025-11-25 19:22:49 +01:00
  • 97e7dfc0f2 Add performance metrics for worker and render ticks scamiv 2025-11-25 19:21:33 +01:00
  • a199ed29a1 testing scamiv 2025-11-25 18:53:18 +01:00
  • 1bbef43975 Merge branch 'catchUpMode' into self-clocked-worker-frame-skip-backlog scamiv 2025-11-25 18:47:22 +01:00
  • 7cf024fb6e Refactor rendering and throttle based on backlog scamiv 2025-11-25 18:46:25 +01:00
  • 46d09eb614 throttle renderGame() based on the current backlog (again) scamiv 2025-11-25 18:44:31 +01:00
  • 0b0753d5e1 Refactor rendering and metrics emission in ClientGameRunner to ensure updates occur only after all processing is complete. scamiv 2025-11-25 18:31:08 +01:00
  • 85ad3b1997 testing scamiv 2025-11-25 18:00:30 +01:00
  • dd64fd7a39 Merge branch 'catchUpMode' into self-clocked-worker-frame-skip-backlog scamiv 2025-11-25 17:50:27 +01:00
  • 6ab7136c3c add "ticks per render" metric scamiv 2025-11-25 17:44:54 +01:00
  • a21f066700 remove redundant logic scamiv 2025-11-25 17:40:39 +01:00
  • cb68b26915 feat(ping): implement ping communication and visual enhancements pings_2 Restart2008 2025-11-24 22:35:56 -08:00
  • 25af663730 feat(ping): implement ping communication and visual enhancements Restart2008 2025-11-24 19:43:24 -08:00
  • 60e08dc94b feat(ping): implement ping communication and visual enhancements Restart2008 2025-11-24 16:59:59 -08:00
  • 1255f197a9 add giantworldmap to test maps to fix AStarPerf.ts evanpelle 2025-11-24 15:28:43 -08:00
  • f7ef7fb1c6 Merge branch 'catchUpMode' into self-clocked-worker-frame-skip-backlog scamiv 2025-11-24 22:55:07 +01:00
  • 4268f9019f ClientGameRunner: simplify catch-up loop with indexed queue scamiv 2025-11-24 22:54:09 +01:00
  • f228f6b1bb Workflows: better message for missing PR Milestone (#2510) VariableVince 2025-11-24 21:16:59 +01:00
  • dc1ddfbeee testing values scamiv 2025-11-24 20:35:49 +01:00