feat: rename to blitzrinth

This commit is contained in:
TrèsAbhi committed 2024-04-20 12:00:48 -05:00
1 parent 0fd17d9c96
commit c2b936c925
213 files changed
+314 -307

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import { clamp } from 'lodash';
import { degToRad } from 'three/src/math/MathUtils';
import { PitchLimits, YawLimits } from '../blitzkrieg/modelDefinitions';
import { PitchLimits, YawLimits } from '../blitzrinth/modelDefinitions';
import { normalizeAngleRad } from '../math/normalizeAngleRad';
export function applyPitchYawLimits(
+1 -1
View File
@@ -1,4 +1,4 @@
import { ShellDefinition } from '../blitzkrieg/tankDefinitions';
import { ShellDefinition } from '../blitzrinth/tankDefinitions';
export function canRicochet(
type: ShellDefinition['type'],
+1 -1
View File
@@ -1,4 +1,4 @@
import { ShellDefinition } from '../blitzkrieg/tankDefinitions';
import { ShellDefinition } from '../blitzrinth/tankDefinitions';
export function canSplash(type: ShellDefinition['type']): type is 'he' {
return type === 'he';
+2 -2
View File
@@ -2,8 +2,8 @@ import { Document, Material, Node, Scene } from '@gltf-transform/core';
import { times } from 'lodash';
import { dirname } from 'path';
import { Matrix4, Quaternion, Vector3, Vector4Tuple } from 'three';
import { readTexture } from '../../blitzkrieg/readTexture';
import { TextureMutation } from '../../blitzkrieg/readTexture/constants';
import { readTexture } from '../../blitzrinth/readTexture';
import { TextureMutation } from '../../blitzrinth/readTexture/constants';
import { Hierarchy, Sc2ReadStream, Textures } from '../../streams/sc2';
import { ScgReadStream } from '../../streams/scg';
import { VertexAttribute } from '../../streams/scpg';
+1 -1
View File
@@ -1,6 +1,6 @@
import { Region } from '../../constants/regions';
import { WARGAMING_APPLICATION_ID } from '../../constants/wargamingApplicationID';
import { patientFetch } from '../blitzkrieg/patientFetch';
import { patientFetch } from '../blitzrinth/patientFetch';
type BlitzResponse<Data extends object> =
| {
+2 -2
View File
@@ -1,7 +1,7 @@
import { RatingInfo } from '../../commands/ratingLeaderboard';
import { Region } from '../../constants/regions';
import { context } from '../blitzkrieg/context';
import { patientFetch } from '../blitzkrieg/patientFetch';
import { context } from '../blitzrinth/context';
import { patientFetch } from '../blitzrinth/patientFetch';
import regionToRegionSubdomain from './regionToRegionSubdomain';
const cache: Partial<Record<Region, RatingInfo>> = {};
+2 -2
View File
@@ -1,7 +1,7 @@
import { LeagueTop, RatingPlayer } from '../../commands/ratingLeaderboard';
import { Region } from '../../constants/regions';
import { context } from '../blitzkrieg/context';
import { patientFetch } from '../blitzkrieg/patientFetch';
import { context } from '../blitzrinth/context';
import { patientFetch } from '../blitzrinth/patientFetch';
import regionToRegionSubdomain from './regionToRegionSubdomain';
export async function getRatingLeague(
+2 -2
View File
@@ -1,7 +1,7 @@
import { RatingNeighbors } from '../../commands/ratingLeaderboard';
import { Region } from '../../constants/regions';
import { patientFetch } from '../blitzkrieg/patientFetch';
import { withCORSProxy } from '../blitzkrieg/withCORSProxy';
import { patientFetch } from '../blitzrinth/patientFetch';
import { withCORSProxy } from '../blitzrinth/withCORSProxy';
import regionToRegionSubdomain from './regionToRegionSubdomain';
export async function getRatingNeighbors(
+1 -1
View File
@@ -1,4 +1,4 @@
import { ShellDefinition } from '../blitzkrieg/tankDefinitions';
import { ShellDefinition } from '../blitzrinth/tankDefinitions';
export function isExplosive(
type: ShellDefinition['type'],
+1 -1
View File
@@ -2,7 +2,7 @@ import { Locale } from 'discord.js';
import { go } from 'fuzzysort';
import markdownEscape from 'markdown-escape';
import { UserError } from '../../hooks/userError';
import { tankDefinitions, tankNames } from '../blitzkrieg/tankDefinitions';
import { tankDefinitions, tankNames } from '../blitzrinth/tankDefinitions';
import { tankNamesTechTreeOnly } from '../discord/autocompleteTanks';
import { translator } from '../localization/translator';
+1 -1
View File
@@ -1,5 +1,5 @@
import { Region } from '../../constants/regions';
import { context } from '../blitzkrieg/context';
import { context } from '../blitzrinth/context';
import regionToRegionSubdomain from './regionToRegionSubdomain';
type CurrentRatingPlayerSearch = Record<