2026-04-10 01:22:47 -07:00
|
|
|
pub mod calendar;
|
|
|
|
|
pub mod campaign_exe;
|
2026-04-17 11:49:20 -07:00
|
|
|
pub mod economy;
|
2026-04-10 01:22:47 -07:00
|
|
|
pub mod import;
|
|
|
|
|
pub mod persistence;
|
|
|
|
|
pub mod pk4;
|
|
|
|
|
pub mod runtime;
|
|
|
|
|
pub mod smp;
|
|
|
|
|
pub mod step;
|
|
|
|
|
pub mod summary;
|
|
|
|
|
pub mod win;
|
|
|
|
|
|
|
|
|
|
pub use calendar::{CalendarPoint, MONTH_SLOTS_PER_YEAR, PHASE_SLOTS_PER_MONTH, TICKS_PER_PHASE};
|
|
|
|
|
pub use campaign_exe::{
|
|
|
|
|
CAMPAIGN_SCENARIO_COUNT, CampaignExeInspectionReport, CampaignPageBand, CampaignScenarioEntry,
|
|
|
|
|
OBSERVED_CAMPAIGN_SCENARIO_NAMES, inspect_campaign_exe_bytes, inspect_campaign_exe_file,
|
|
|
|
|
};
|
2026-04-17 11:49:20 -07:00
|
|
|
pub use economy::{
|
2026-04-17 12:02:59 -07:00
|
|
|
CARGO_TYPE_MAGIC, CargoEconomySourceReport, CargoLiveRegistryEntry, CargoNameToken,
|
|
|
|
|
CargoRegistrySourceKind, CargoSelectorEntry, CargoSelectorReport, CargoSkinDescriptorEntry,
|
2026-04-17 11:49:20 -07:00
|
|
|
CargoSkinInspectionReport, CargoTypeEntry, CargoTypeInspectionReport,
|
|
|
|
|
NAMED_CARGO_PRICE_DESCRIPTOR_ROW_COUNT, NAMED_CARGO_PRODUCTION_DESCRIPTOR_ROW_COUNT,
|
2026-04-17 12:02:59 -07:00
|
|
|
inspect_cargo_economy_sources, inspect_cargo_economy_sources_with_bindings,
|
|
|
|
|
inspect_cargo_skin_pk4, inspect_cargo_types_dir,
|
2026-04-17 11:49:20 -07:00
|
|
|
};
|
2026-04-10 01:22:47 -07:00
|
|
|
pub use import::{
|
2026-04-14 21:19:08 -07:00
|
|
|
OVERLAY_IMPORT_DOCUMENT_FORMAT_VERSION, RuntimeOverlayImportDocument,
|
|
|
|
|
RuntimeOverlayImportDocumentSource, RuntimeSaveSliceDocument, RuntimeSaveSliceDocumentSource,
|
|
|
|
|
RuntimeStateDumpDocument, RuntimeStateDumpSource, RuntimeStateImport,
|
|
|
|
|
SAVE_SLICE_DOCUMENT_FORMAT_VERSION, STATE_DUMP_FORMAT_VERSION,
|
|
|
|
|
load_runtime_overlay_import_document, load_runtime_save_slice_document,
|
|
|
|
|
load_runtime_state_import, project_save_slice_overlay_to_runtime_state_import,
|
|
|
|
|
project_save_slice_to_runtime_state_import, save_runtime_overlay_import_document,
|
|
|
|
|
save_runtime_save_slice_document, validate_runtime_overlay_import_document,
|
2026-04-14 20:51:27 -07:00
|
|
|
validate_runtime_save_slice_document, validate_runtime_state_dump_document,
|
2026-04-10 01:22:47 -07:00
|
|
|
};
|
|
|
|
|
pub use persistence::{
|
|
|
|
|
RuntimeSnapshotDocument, RuntimeSnapshotSource, SNAPSHOT_FORMAT_VERSION,
|
|
|
|
|
load_runtime_snapshot_document, save_runtime_snapshot_document,
|
|
|
|
|
validate_runtime_snapshot_document,
|
|
|
|
|
};
|
|
|
|
|
pub use pk4::{
|
|
|
|
|
PK4_DIRECTORY_ENTRY_STRIDE, PK4_MAGIC, Pk4Entry, Pk4ExtractionReport, Pk4InspectionReport,
|
|
|
|
|
extract_pk4_entry_bytes, extract_pk4_entry_file, inspect_pk4_bytes, inspect_pk4_file,
|
|
|
|
|
};
|
2026-04-11 18:12:25 -07:00
|
|
|
pub use runtime::{
|
2026-04-17 21:24:53 -07:00
|
|
|
RUNTIME_COMPANY_STAT_FAMILY_CONTROL_TRANSFER, RUNTIME_COMPANY_STAT_SLOT_BOOK_VALUE_PER_SHARE,
|
2026-04-17 22:14:08 -07:00
|
|
|
RUNTIME_COMPANY_STAT_SLOT_CURRENT_CASH, RUNTIME_WORLD_ISSUE_CREDIT_MARKET,
|
|
|
|
|
RUNTIME_WORLD_ISSUE_INVESTOR_CONFIDENCE, RUNTIME_WORLD_ISSUE_MANAGEMENT_ATTITUDE,
|
|
|
|
|
RUNTIME_WORLD_ISSUE_PRIME_RATE,
|
2026-04-16 21:42:20 -07:00
|
|
|
RuntimeCargoCatalogEntry, RuntimeCargoClass, RuntimeCargoPriceTarget,
|
|
|
|
|
RuntimeCargoProductionTarget, RuntimeChairmanMetric, RuntimeChairmanProfile,
|
2026-04-17 20:58:41 -07:00
|
|
|
RuntimeChairmanTarget, RuntimeCompany, RuntimeCompanyAnnualFinanceState,
|
2026-04-17 21:04:23 -07:00
|
|
|
RuntimeCompanyConditionTestScope, RuntimeCompanyControllerKind, RuntimeCompanyMarketMetric,
|
|
|
|
|
RuntimeCompanyMarketState, RuntimeCompanyMetric, RuntimeCompanyStatBandCandidate,
|
|
|
|
|
RuntimeCompanyStatSelector, RuntimeCompanyTarget, RuntimeCompanyTerritoryAccess,
|
|
|
|
|
RuntimeCompanyTerritoryTrackPieceCount, RuntimeCondition, RuntimeConditionComparator,
|
2026-04-17 21:24:53 -07:00
|
|
|
RuntimeEffect, RuntimeEventRecord, RuntimeEventRecordTemplate, RuntimeLocomotiveCatalogEntry,
|
|
|
|
|
RuntimePackedEventCollectionSummary, RuntimePackedEventCompactControlSummary,
|
|
|
|
|
RuntimePackedEventConditionRowSummary, RuntimePackedEventGroupedEffectRowSummary,
|
|
|
|
|
RuntimePackedEventNegativeSentinelScopeSummary, RuntimePackedEventRecordSummary,
|
|
|
|
|
RuntimePackedEventTextBandSummary, RuntimePlayer, RuntimePlayerConditionTestScope,
|
|
|
|
|
RuntimePlayerTarget, RuntimeSaveProfileState, RuntimeServiceState, RuntimeState,
|
|
|
|
|
RuntimeTerritory, RuntimeTerritoryMetric, RuntimeTerritoryTarget, RuntimeTrackMetric,
|
|
|
|
|
RuntimeTrackPieceCounts, RuntimeTrain, RuntimeWorldFinanceNeighborhoodCandidate,
|
|
|
|
|
RuntimeWorldIssueState, RuntimeWorldRestoreState, runtime_company_annual_finance_state,
|
|
|
|
|
runtime_company_assigned_share_pool, runtime_company_market_value, runtime_company_stat_value,
|
2026-04-17 21:04:23 -07:00
|
|
|
runtime_company_unassigned_share_pool, runtime_world_issue_state,
|
2026-04-11 18:12:25 -07:00
|
|
|
};
|
2026-04-10 01:22:47 -07:00
|
|
|
pub use smp::{
|
2026-04-11 18:12:25 -07:00
|
|
|
SMP_FOUR_SIDECAR_BYTE_PLANES_MIN_BUNDLE_VERSION, SmpAlignedRuntimeRuleBandLane,
|
|
|
|
|
SmpAlignedRuntimeRuleBandProbe, SmpAsciiPreview, SmpClassicPackedProfileBlock,
|
2026-04-10 01:22:47 -07:00
|
|
|
SmpClassicRehydrateProfileProbe, SmpContainerProfile, SmpEarlyContentProbe,
|
2026-04-11 18:12:25 -07:00
|
|
|
SmpHeaderVariantProbe, SmpInspectionReport, SmpKnownTagHit,
|
2026-04-16 14:47:38 -07:00
|
|
|
SmpLoadedCandidateAvailabilityTable, SmpLoadedCargoCatalog, SmpLoadedCargoCatalogEntry,
|
2026-04-16 17:08:03 -07:00
|
|
|
SmpLoadedChairmanProfileEntry, SmpLoadedChairmanProfileTable, SmpLoadedCompanyRoster,
|
|
|
|
|
SmpLoadedCompanyRosterEntry, SmpLoadedEventRuntimeCollectionSummary,
|
|
|
|
|
SmpLoadedNamedLocomotiveAvailabilityTable, SmpLoadedPackedEventCompactControlSummary,
|
|
|
|
|
SmpLoadedPackedEventConditionRowSummary, SmpLoadedPackedEventGroupedEffectRowSummary,
|
|
|
|
|
SmpLoadedPackedEventNegativeSentinelScopeSummary, SmpLoadedPackedEventRecordSummary,
|
|
|
|
|
SmpLoadedPackedEventTextBandSummary, SmpLoadedProfile, SmpLoadedSaveSlice,
|
2026-04-17 20:26:29 -07:00
|
|
|
SmpLoadedSpecialConditionsTable, SmpLoadedWorldEconomicTuningState,
|
|
|
|
|
SmpLoadedWorldFinanceNeighborhoodState, SmpLoadedWorldIssue37State,
|
2026-04-17 18:00:35 -07:00
|
|
|
SmpLocomotivePolicyFieldObservation, SmpLocomotivePolicyFloatAlignmentCandidate,
|
|
|
|
|
SmpLocomotivePolicyNeighborhoodProbe, SmpPackedProfileWordLane,
|
|
|
|
|
SmpPostSpecialConditionsScalarLane, SmpPostSpecialConditionsScalarProbe,
|
|
|
|
|
SmpPostTextFieldNeighborhoodProbe, SmpPostTextFloatAlignmentCandidate,
|
|
|
|
|
SmpPostTextGroundedFieldObservation, SmpPreRecipeScalarPlateauLane,
|
|
|
|
|
SmpPreRecipeScalarPlateauProbe, SmpPreamble, SmpPreambleWord, SmpRecipeBookLineSummary,
|
|
|
|
|
SmpRecipeBookSummaryBook, SmpRecipeBookSummaryProbe, SmpRt3105PackedProfileBlock,
|
|
|
|
|
SmpRt3105PackedProfileProbe, SmpRt3105PostSpanBridgeProbe, SmpRt3105SaveBridgePayloadProbe,
|
|
|
|
|
SmpRt3105SaveNameTableEntry, SmpRt3105SaveNameTableProbe, SmpRuntimeAnchorCycleBlock,
|
|
|
|
|
SmpRuntimePostSpanHeaderCandidate, SmpRuntimePostSpanProbe, SmpRuntimeTrailerBlock,
|
|
|
|
|
SmpSaveAnchorRunBlock, SmpSaveBootstrapBlock, SmpSaveChairmanRecordAnalysisEntry,
|
|
|
|
|
SmpSaveCompanyChairmanAnalysisReport, SmpSaveCompanyRecordAnalysisEntry, SmpSaveDwordCandidate,
|
|
|
|
|
SmpSaveLoadCandidateTableSummary, SmpSaveLoadSummary, SmpSaveScalarCandidate,
|
2026-04-17 20:26:29 -07:00
|
|
|
SmpSaveTaggedCollectionHeaderProbe, SmpSaveWorldEconomicTuningProbe,
|
|
|
|
|
SmpSaveWorldFinanceNeighborhoodProbe, SmpSaveWorldIssue37Probe,
|
2026-04-17 18:00:35 -07:00
|
|
|
SmpSaveWorldSelectionRoleAnalysis, SmpSaveWorldSelectionRoleAnalysisEntry,
|
|
|
|
|
SmpSecondaryVariantProbe, SmpSharedHeader, SmpSpecialConditionEntry, SmpSpecialConditionsProbe,
|
2026-04-17 14:56:41 -07:00
|
|
|
inspect_save_company_and_chairman_analysis_bytes,
|
|
|
|
|
inspect_save_company_and_chairman_analysis_file, inspect_smp_bytes, inspect_smp_file,
|
|
|
|
|
load_save_slice_file, load_save_slice_from_report,
|
2026-04-10 01:22:47 -07:00
|
|
|
};
|
|
|
|
|
pub use step::{BoundaryEvent, ServiceEvent, StepCommand, StepResult, execute_step_command};
|
|
|
|
|
pub use summary::RuntimeSummary;
|
|
|
|
|
pub use win::{
|
|
|
|
|
WinAnonymousSelectorRecord, WinHeaderWord, WinInspectionReport, WinReferenceDeltaFrequency,
|
|
|
|
|
WinResourceRecordSample, WinResourceReference, WinResourceSelectorRecord, inspect_win_bytes,
|
|
|
|
|
inspect_win_file,
|
|
|
|
|
};
|