Commit Graph

  • 9892537a08 removed console.log scamiv 2025-11-26 20:57:36 +01:00
  • fad87a9b75 Size SAB ring buffer by world tile count scamiv 2025-11-26 18:41:47 +01:00
  • 430d856f6b Use dirty flags to coalesce tile updates in SAB ring scamiv 2025-11-26 17:31:36 +01:00
  • 99b01d8580 Revert "dedup tileRef for tileUpdateSink(tileRef)" scamiv 2025-11-26 17:12:24 +01:00
  • e387820eee dedup tileRef for tileUpdateSink(tileRef) scamiv 2025-11-26 16:41:27 +01:00
  • 09afa11a3e fix performance overlay scamiv 2025-11-26 15:56:34 +01:00
  • b312aa3df2 fix sab detection scamiv 2025-11-26 15:22:34 +01:00
  • 19e50465cc mergeGameUpdates fix batch.length === 0 return case scamiv 2025-11-26 14:57:52 +01:00
  • 0da975f615 add more stats to perf overlay scamiv 2025-11-26 14:46:05 +01:00
  • 37315e5fa5 Change the ring buffer to Uint32Array Store only TileRef instead of packed tile+state values scamiv 2025-11-26 14:36:11 +01:00
  • 314d8ef25a Use SharedArrayBuffer tile state and ring buffer for worker updates scamiv 2025-11-26 00:45:06 +01:00
  • 05181d7479 SAB+Atomics refactor scamiv 2025-11-25 21:22:13 +01:00
  • 2f2a12eefa Add performance metrics for worker and render ticks scamiv 2025-11-25 19:21:33 +01:00
  • 391f19d061 Refactor rendering and throttle based on backlog scamiv 2025-11-25 18:46:25 +01:00
  • 2dde26223c add "ticks per render" metric scamiv 2025-11-25 17:44:54 +01:00
  • 0ffe9c39ad remove redundant logic scamiv 2025-11-25 17:40:39 +01:00
  • bd6dbd3f4b ClientGameRunner: simplify catch-up loop with indexed queue scamiv 2025-11-24 22:54:09 +01:00
  • a04abbec53 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
  • bd300708c7 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
  • f710c78dcf Clean up previous implementations scamiv 2025-11-24 15:01:17 +01:00
  • 7e6717c1b8 Worker now self-clocks; no heartbeats needed scamiv 2025-11-23 21:03:22 +01:00
  • e3a6e0bfcc frameskip scamiv 2025-11-23 21:02:22 +01:00
  • a31a6a04a9 Batch worker updates in client catch-up mode to reduce render cost scamiv 2025-11-23 19:28:34 +01:00
  • 5e264a54bc Add client catch-up mode scamiv 2025-11-23 14:07:12 +01:00
  • 8dde30ebb6 Update game timer UI (#2577) Roan 2025-12-10 22:51:14 +00:00
  • ae884cb902 Add New York City Map (#2542) Aaron Tidwell 2025-12-10 15:30:19 -05:00
  • 75f0228e6f Merge branch 'main' into canbuildtransport-perf canbuildtransport-perf VariableVince 2025-12-10 21:08:31 +01:00
  • d4dd9ccd74 UI Improvement: Add rank to stats modal in the lobby for clarity (#2562) Henry 2025-12-10 13:33:15 -05:00
  • 121e45d5d2 Block UI actions while GameStartingModal is visible (#2587) (#2596) Luis Leiva 2025-12-10 13:22:07 -05:00
  • afe072f7d0 Add map-generator --maps flag to process a subset of maps (#2595) Aaron Tidwell 2025-12-10 13:23:39 -05:00
  • 2bfe245a72 Add format:map-generator command (#2563) Aaron Tidwell 2025-12-09 22:46:13 -05:00
  • 089d9ab402 Fix: update renderSprites based on user settings in SpriteFactory (#2574) Aotumuri 2025-12-10 12:43:48 +09:00
  • e104614a85 Consistent border radius and padding from edge of screen for in game UI (#2576) Roan 2025-12-10 03:37:52 +00:00
  • 0861bbfad5 Enhance: missile silo shows SAM previews (#2578) bibizu 2025-12-09 19:26:12 -05:00
  • f0feabfb13 Fix: Filter out in construction buildings for totalunitlevels (#2580) VariableVince 2025-12-10 01:14:25 +01:00
  • 9f44d990af mls (v4.10) (#2581) Aotumuri 2025-12-10 09:13:29 +09:00
  • 29a895ab35 Remove unused strings from en.json (#2582) Aotumuri 2025-12-10 09:12:25 +09:00
  • 327d425fd5 Fix obvious typos (#2585) Ahmet Dedeler 2025-12-10 03:12:00 +03:00
  • 18efa4cd73 Load env vars before server config init (#2586) Ahmet Dedeler 2025-12-10 03:10:53 +03:00
  • 5e95ba8da5 Lobby team size (#2591) scamiv 2025-12-10 01:10:21 +01:00
  • 1d7685a5bf Merge branch 'v27' evanpelle 2025-12-09 15:39:49 -08:00
  • 73be130916 print and alert cloudflare turnstile error callback evanpelle 2025-12-09 14:30:32 -08:00
  • 50fe3581cc bugfix: only prefetch turnstile token once to prevent multiple checkboxes v0.27.6 evanpelle 2025-12-09 07:54:22 -08:00
  • e3cf09ea2f Updated localization entries in en.json to improve readability by rephrasing team size descriptions. Changed "Duos (teams of 2)" to "of 2 (Duos)", and similarly for Trios and Quads. Adjusted "Players per team" to "of {num}" for consistency. Lobby-team-size scamiv 2025-12-09 16:23:21 +01:00
  • e011c4927d readability scamiv 2025-12-09 15:39:05 +01:00
  • 40f9e017ed Changed "Players per Team" to "Players per team" for consistency in capitalization. scamiv 2025-12-09 15:14:27 +01:00
  • f34545ddc6 Add team size details to Public Lobby UI scamiv 2025-12-09 15:05:07 +01:00
  • afa3e70b62 Check if turnstile is defined v0.27.5 evanpelle 2025-12-08 18:08:23 -08:00
  • 335a371fdb bugfix: singleplayer not starting (#2589) v0.27.4 Evan 2025-12-08 16:42:29 -08:00
  • 3314ca16ce Turnstile: require token before joining a multiplayer game (#2572) Evan 2025-12-08 16:16:31 -08:00
  • 075c232d8a improve game websockt (re)connection (#2584) Evan 2025-12-08 14:07:07 -08:00
  • 23dc072df7 Enhance shared tile ring initialization in Worker.worker.ts you-want-this scamiv 2025-12-04 16:42:13 +01:00
  • a4ed429f94 Refactor GameImpl and GameView methods to remove unnecessary return statements scamiv 2025-12-04 16:36:57 +01:00
  • 1024be0d59 add comment to unused labelUpload method and clean up removeUnit ordering - Move unitGrid.removeUnit() call to beginning of removeUnit method for cleaner code organization scamiv 2025-12-04 16:33:15 +01:00
  • bc9f915638 Removed legacy border color texture and all related plumbing scamiv 2025-12-04 03:20:10 +01:00
  • b3ba0bfbe5 Removed old per-tile relation handling; relations are now handled via the u_relations texture in TerritoryWebGLRenderer scamiv 2025-12-04 02:57:06 +01:00
  • 8ff480457d Refactor territory defense management in GameImpl and CanvasTerritoryRenderer scamiv 2025-12-04 00:46:38 +01:00
  • 45927631ef Move relationship calculation (for borders) into the shader. scamiv 2025-12-03 20:01:43 +01:00
  • b06752b208 fix TerritoryWebGLRenderer premultiplied alpha scamiv 2025-12-03 18:05:57 +01:00
  • d06c656329 Revert "test replayspeed" scamiv 2025-12-02 16:46:28 +01:00
  • c580737fa9 unify flood-fill and neighbor callbacks in PlayerExecution scamiv 2025-12-01 21:43:32 +01:00
  • aecf00d451 Use game-scoped generational visited buffer in PlayerExecution scamiv 2025-12-01 18:37:24 +01:00
  • 24eabb0ecc perf: Optimize cluster calculation with DFS and zero-allocation patterns scamiv 2025-11-29 15:28:08 +01:00
  • 906f3e7950 test replayspeed scamiv 2025-11-29 12:25:07 +01:00
  • e002509b3d update comment scamiv 2025-11-28 20:52:22 +01:00
  • 1948d07db5 Update WebGL status message scamiv 2025-11-28 20:04:37 +01:00
  • eb1421bf55 quick push scamiv 2025-11-28 19:54:00 +01:00
  • a9d01efc5a Use overlay texture for capture blending webgl-inter-t2 scamiv 2025-12-06 16:01:48 +01:00
  • aab4141e8d Enhance capture ownership management in Worker.worker.ts scamiv 2025-12-06 15:59:41 +01:00
  • 1c0661e439 Implement shared draw phase buffer and time base in game rendering scamiv 2025-12-05 17:59:55 +01:00
  • bcdb487429 Refactor TerritoryLayer to streamline border redraw logic scamiv 2025-12-08 18:57:07 +01:00
  • a386187342 fix: Resolve async initialization and asset loading errors nuke_effect Restart2008 2025-12-07 21:47:19 -08:00
  • b9979c6b81 feat: Integrate PNGs with canvas drawing for detailed nuke designs Restart2008 2025-12-07 21:37:45 -08:00
  • 6677d38315 feat: Integrate PNGs into nuke designs with detailed 2D artwork Restart2008 2025-12-07 21:24:35 -08:00
  • b6f27c08f0 feat: Enhance Christmas-themed nuke designs with highly detailed 2D artwork Restart2008 2025-12-07 19:06:08 -08:00
  • 315c7209db feat: Refine Christmas-themed nuke designs with intricate 2D artwork Restart2008 2025-12-07 18:40:38 -08:00
  • a74a80dad8 feat: Redesign Christmas-themed nukes to be more intricate and directional Restart2008 2025-12-07 18:22:14 -08:00
  • e4d7de9303 feat: Implement Christmas-themed nuke designs and increase Node.js memory Restart2008 2025-12-07 18:10:44 -08:00
  • 7658c67662 optimize(RailroadLayer): throttle color scans, cull blits, and remove (#2565) nuke_effect_test Wraith 2025-12-07 22:35:07 +03:00
  • 97e6c1cd77 feat: Nuke Trajectory SAM intercept prediction (#2541) bibizu 2025-12-06 14:21:44 -05:00
  • cb4cf091ff update ads v0.27.3 evanpelle 2025-12-05 08:47:48 -08:00
  • a91e82b162 test webgl-inter-t1 scamiv 2025-12-05 14:45:01 +01:00
  • abe62e27da Add tick interpolation support to TerritoryLayer and WebGLRenderer scamiv 2025-12-05 13:52:28 +01:00
  • f42e2a9574 Add tick interpolation support to TerritoryLayer and WebGLRenderer webgl-interpolate-t1 scamiv 2025-12-05 13:52:28 +01:00
  • 6ca81211ea Alert frame: add to in-game settings, orange for attack instead of red (#2561) patterns_codex homepage_2 VariableVince 2025-12-04 22:26:55 +01:00
  • 5ce27d28c9 Enhance shared tile ring initialization in Worker.worker.ts scamiv 2025-12-04 16:42:13 +01:00
  • 0d1769fc92 Refactor GameImpl and GameView methods to remove unnecessary return statements scamiv 2025-12-04 16:36:57 +01:00
  • 8752642e46 add comment to unused labelUpload method and clean up removeUnit ordering - Move unitGrid.removeUnit() call to beginning of removeUnit method for cleaner code organization scamiv 2025-12-04 16:33:15 +01:00
  • 84bb2e0e65 Removed legacy border color texture and all related plumbing scamiv 2025-12-04 03:20:10 +01:00
  • 84bcf6fb55 Removed old per-tile relation handling; relations are now handled via the u_relations texture in TerritoryWebGLRenderer scamiv 2025-12-04 02:57:06 +01:00
  • ec0bf079ef Fix spacing in player team label display (#2560) VariableVince 2025-12-04 01:37:17 +01:00
  • 8f32746bb2 Special bot names (#2552) VariableVince 2025-12-04 01:01:05 +01:00
  • bbf768025e Refactor territory defense management in GameImpl and CanvasTerritoryRenderer scamiv 2025-12-04 00:46:38 +01:00
  • 4ff2ca3315 Fix: firefox back button not working (#2557) Lavodan 2025-12-04 00:41:58 +01:00
  • 673b5245c5 fix failing nationNameLength test (#2556) Lavodan 2025-12-04 00:40:53 +01:00
  • a8d9189c70 Correct Gulf of St. Lawrence map (#2555) jachisc 2025-12-03 20:10:16 -03:30
  • 8752d55817 Move relationship calculation (for borders) into the shader. scamiv 2025-12-03 20:01:43 +01:00
  • 99b7c54c93 fix TerritoryWebGLRenderer premultiplied alpha scamiv 2025-12-03 18:05:57 +01:00
  • ad2a96cbbe Revert "test replayspeed" scamiv 2025-12-03 17:49:23 +01:00
  • 5397b0ace2 Merge branch 'sab' into sab-021225 sab-021225 scamiv 2025-12-02 23:50:28 +01:00