build(repo): make source comments and build tools self-contained

This commit is contained in:
N0VAN0M4LY committed 2026-11-29 08:46:08 +08:00
1 parent 5b5c59ab08
commit 44190e4544
106 files changed
+152 -183

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
/**
* Squadron (clan) membership and squadron vehicle research fields in `profile.blk`
* (implementation notes; aces.exe 0x91fa31..0x91fd00 and 0x906790..0x906ac5).
* (aces.exe 0x91fa31..0x91fd00 and 0x906790..0x906ac5).
*/
import { ensureBlock, findBlock, setParam, type BlkBlock } from '@wto/blk';
import { int64Field, intField, removeParam, stringField } from './blk-fields.ts';
@@ -1,6 +1,5 @@
/**
* Crew skills, skill points, specializations, and Expert-to-Ace RP inside a crew block
*:
* Crew skills, skill points, specializations, and Expert-to-Ace RP inside a crew block:
*
* crews{
* c0{
+2 -3
View File
@@ -1,13 +1,12 @@
/**
* The player's money in the profile (implementation notes; read by aces.exe 2.61.0.37
* The player's money in the profile (read by aces.exe 2.61.0.37
* 0x919060):
*
* warpointsPos:i64 silver lions earned in total
* warpointsNeg:i64 silver lions spent in total
* goldBalance:i golden eagles (read and written as a 32-bit integer, 0x91b570 / 0x91b5cb)
* gjnBalanceCents:i64 GJN balance in hundredths (GJN prices have two decimals, like the USD
* price they equal); offline store and market only (implementation notes section
* 5.1), the client ignores it
* price they equal); offline store and market only, the client ignores it
*
* The silver lion balance is warpointsPos - warpointsNeg; setting it keeps the amount spent
* and adjusts the amount earned.
@@ -1,5 +1,5 @@
/**
* Entitlements and Premium Account in the profile (implementation notes; read by aces.exe
* Entitlements and Premium Account in the profile (read by aces.exe
* 2.61.0.37 0x91daf0..0x91e474, has_entitlement 0x179ec70, entitlement_expires_in 0x179ed60):
*
* entitlementsInfo{
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* The player's classic items in the profile (implementation notes; ItemStorage, aces.exe
* The player's classic items in the profile (ItemStorage, aces.exe
* 2.61.0.37 0x8f2de0):
*
* items{
@@ -1,6 +1,5 @@
/**
* Vehicle Research Bonus battles used today, per country and vehicle type (research/
* research-efficiency.ts). Kept in a block of the local server's own; the client's profile
* Vehicle Research Bonus battles used today, per country and vehicle type (research/research-efficiency.ts). Kept in a block of the local server's own; the client's profile
* parser ignores it:
*
* wtoResearchBonus{ day:i=<days since 1970-01-01 UTC> country_usa{ Tank:i=2 } }
@@ -1,6 +1,6 @@
/**
* Current research target, just-finished research vehicle, and banked excess RP per country
* and vehicle type (implementation notes; `aces.exe` `0x930150`):
* and vehicle type (`aces.exe` `0x930150`):
*
* researchUnits{
* country_usa{