* feat(server.game): route events through a InterestManager * docs: explain the InterestManager and when to use it * fix(login): carry the authenticated account to the game server so players get distinct characters * fix(protocols.game): decode entity move from capture at opcode 0xE4 with little-endian ids and 16-bit coords * feat(game): make the server authoritative over movement and broadcast steps and turns to nearby players * refactor(game): drop the unused broadcastExcept and isOnline methods
31 lines
744 B
JavaScript
31 lines
744 B
JavaScript
// @ts-check
|
|
import { defineConfig } from "astro/config";
|
|
import starlight from "@astrojs/starlight";
|
|
|
|
const canonical = process.env.READTHEDOCS_CANONICAL_URL;
|
|
const url = canonical ? new URL(canonical) : undefined;
|
|
|
|
export default defineConfig({
|
|
site: url?.origin,
|
|
base: url?.pathname,
|
|
integrations: [
|
|
starlight({
|
|
title: "OpenMMO",
|
|
social: [
|
|
{
|
|
icon: "github",
|
|
label: "GitHub",
|
|
href: "https://github.com/openmmo-org/OpenMMO",
|
|
},
|
|
],
|
|
sidebar: [
|
|
{
|
|
label: "Concepts",
|
|
items: [{ autogenerate: { directory: "concepts" } }],
|
|
},
|
|
{ label: "Guides", items: [{ autogenerate: { directory: "guides" } }] },
|
|
],
|
|
}),
|
|
],
|
|
});
|