F3: client Godot minimo, replay dei comandi e collaudi automatici
- Client Godot 4.7 .NET (Godot.NET.Sdk 4.7.2): menu, collegamento, partita locale con server figlio; mappa con terreno (fasce, ombreggiatura, rive curve con shader, curve di livello), opere, entità, alberi, treni interpolati con fumo; strumenti binari con profilo, stazione, deposito, segnali, demolizione; pannelli treni, linee, mercato, finanze, schede; barra superiore, minimappa, notiziario; italiano e inglese. - Pilota automatico del client e scripts/client-autopilot.sh: partita locale, linea con ponte, treni in moto e schermate (docs/screenshots). - Registro dei comandi del server (--record) e viaferrea-tools replay. - PROTOCOL.md normativo, ADR 0009, ARCHITECTURE, STATE e README aggiornati. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0191R7vXgtbAvSV4V8tj8uzL
This commit is contained in:
97 files changed
+5151
-96
No files matched your search
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://ctn3r3irayxtn"
|
||||
path="res://.godot/imported/BigShouldersDisplay-ExtraBold.ttf-06ad0a7babb718d5a091c8ed4e7073f9.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/BigShouldersDisplay-ExtraBold.ttf"
|
||||
dest_files=["res://.godot/imported/BigShouldersDisplay-ExtraBold.ttf-06ad0a7babb718d5a091c8ed4e7073f9.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://dmgv5ntajuive"
|
||||
path="res://.godot/imported/IBMPlexSans-Regular.ttf-196fcb82807990841fe9b17f1801fc73.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/IBMPlexSans-Regular.ttf"
|
||||
dest_files=["res://.godot/imported/IBMPlexSans-Regular.ttf-196fcb82807990841fe9b17f1801fc73.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://div2g0y3mai1g"
|
||||
path="res://.godot/imported/IBMPlexSans-SemiBold.ttf-f99727d7fe8b757844d4be5f9599636c.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/IBMPlexSans-SemiBold.ttf"
|
||||
dest_files=["res://.godot/imported/IBMPlexSans-SemiBold.ttf-f99727d7fe8b757844d4be5f9599636c.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
@@ -0,0 +1,94 @@
|
||||
Big Shoulders Display: Copyright 2019 The Big Shoulders Project Authors (https://github.com/xotypeco/big_shoulders)
|
||||
IBM Plex Sans: Copyright 2019 IBM Corp. All rights reserved. (Reserved Font Name "Plex")
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://openfontlicense.org
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) and the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,130 @@
|
||||
keys,it,en
|
||||
Abitanti,,Population
|
||||
Ambra,,Amber
|
||||
Annulla,,Cancel
|
||||
Anteprima non disponibile: ,,Preview unavailable:
|
||||
Assegna,,Assign
|
||||
Attendi il pieno alla prima fermata (max 2 giorni),,Wait for full load at the first stop (max 2 days)
|
||||
Avvio del server locale…,,Starting the local server…
|
||||
Binari,,Track
|
||||
Binari di stazione,,Platforms
|
||||
Blu,,Blue
|
||||
Cantiere,,Construction
|
||||
Carico,,Load
|
||||
Cassa,,Cash
|
||||
Celeste,,Light blue
|
||||
Chiedi il prestito,,Request loan
|
||||
Chiusa,,Closed
|
||||
Classe,,Class
|
||||
Clic su un binario per posare un segnale di blocco: divide l'arco in sezioni e aumenta la capacità della linea.,,Click a track to place a block signal: it splits the edge into sections and raises line capacity.
|
||||
"Clic su una stazione, un deposito o un binario libero per demolirlo; si recupera una parte del costo.",,"Click a station, depot or free track to demolish it; part of the cost is refunded."
|
||||
"Clic sulla mappa per i punti del tracciato (Maiusc: senza scatto a 45°), Invio per costruire, tasto destro per annullare.",,"Click the map to place route points (Shift: no 45° snap), Enter to build, right click to cancel."
|
||||
"Clic sulla mappa vicino a un binario, poi raccordalo con lo strumento Binari. Nel deposito si comprano i veicoli e si compongono i treni.",,"Click the map near a track, then connect it with the Track tool. Vehicles are bought and trains composed in the depot."
|
||||
Clic sulla mappa: la stazione si aggancia al binario vicino o nasce come capolinea. Il cerchio è il bacino di utenza.,,Click the map: the station attaches to the nearby track or becomes a terminus. The circle is the catchment area.
|
||||
Clic sulle stazioni della mappa per aggiungere le fermate in ordine; la linea torna alla prima.,,Click stations on the map to add stops in order; the line returns to the first.
|
||||
Collegamento in corso…,,Connecting…
|
||||
Collegamento non riuscito,,Connection failed
|
||||
Collegati,,Connect
|
||||
Collegati a un server,,Connect to a server
|
||||
Componi,,Compose
|
||||
Compra veicoli,,Buy vehicles
|
||||
Condizione,,Condition
|
||||
Connessione persa,,Connection lost
|
||||
Consuma,,Consumes
|
||||
Costo,,Cost
|
||||
Costruisci,,Build
|
||||
Crea linea,,Create line
|
||||
Dati del gioco non trovati o non validi.,,Game data missing or invalid.
|
||||
Demolisci,,Demolish
|
||||
Deposito,,Depot
|
||||
Disconnesso,,Disconnected
|
||||
Doppio binario,,Double track
|
||||
Efficienza,,Efficiency
|
||||
Elettrificato,,Electrified
|
||||
Esci,,Quit
|
||||
Finanze,,Finance
|
||||
Galleria,,Tunnel
|
||||
Gallerie,,Tunnels
|
||||
Gestionale ferroviario dall'alto,,Top-down railway management
|
||||
Grano,,Wheat
|
||||
Il server non risponde più. La partita continua sul server.,,The server is not responding. The game goes on on the server.
|
||||
Impianti,,Plant
|
||||
Indica l'indirizzo del server,,Enter the server address
|
||||
Indietro,,Back
|
||||
Indirizzo (host:porta),,Address (host:port)
|
||||
Indirizzo non valido,,Invalid address
|
||||
La connessione non è cifrata: per Internet usa un reverse proxy con TLS (wss://).,,The connection is not encrypted: over the Internet use a TLS reverse proxy (wss://).
|
||||
Linea,,Line
|
||||
Linee,,Lines
|
||||
Linee della compagnia,,Company lines
|
||||
Livello,,Level
|
||||
Locomotiva,,Locomotive
|
||||
Lunghezza,,Length
|
||||
Manda al deposito,,Send to depot
|
||||
Mercato,,Market
|
||||
Merci e passeggeri in attesa,,Waiting goods and passengers
|
||||
Minimappa,,Minimap
|
||||
Nel bacino,,In the catchment
|
||||
Nessun tracciato,,No route
|
||||
Nessuna linea,,No line
|
||||
Nome automatico,,Automatic name
|
||||
Nome del treno,,Train name
|
||||
Nome della linea,,Line name
|
||||
Notizie,,News
|
||||
Partita locale,,Local game
|
||||
Partita locale non avviata,,Local game not started
|
||||
Patrimonio netto,,Net worth
|
||||
Pausa,,Pause
|
||||
Pendenza massima,,Max gradient
|
||||
Ponte,,Bridge
|
||||
Ponti,,Bridges
|
||||
Prestito,,Loan
|
||||
Prezzi globali di oggi (la borsa arriva in seguito).,,Today's global prices (the stock market comes later).
|
||||
Produce,,Produces
|
||||
Quota rispetto al terreno,,Height above ground
|
||||
Raggio minimo,,Min radius
|
||||
Rating,,Rating
|
||||
Regione di,,Region of
|
||||
Rilevato,,Embankment
|
||||
Rosso coppo,,Tile red
|
||||
"Scegli uno strumento a sinistra oppure fai clic su un treno, una stazione, un'industria o una città per vederne la scheda.",,"Pick a tool on the left or click a train, station, industry or town to see its card."
|
||||
Segnali,,Signals
|
||||
Seleziona i veicoli da comporre,,Select the vehicles to compose
|
||||
Seleziona un treno,,Select a train
|
||||
Seleziona un treno e un deposito,,Select a train and a depot
|
||||
Serve un deposito,,A depot is required
|
||||
Server locale non trovato: compila src/ViaFerrea.Server o imposta VF_SERVER_PATH.,,Local server not found: build src/ViaFerrea.Server or set VF_SERVER_PATH.
|
||||
Servizi,,Services
|
||||
Servono almeno due fermate,,At least two stops are needed
|
||||
Soddisfazione,,Satisfaction
|
||||
Stazione,,Station
|
||||
Svuota,,Clear
|
||||
Token,,Token
|
||||
Token del server,,Server token
|
||||
Torna al menu,,Back to menu
|
||||
Treni,,Trains
|
||||
Treni della compagnia,,Company trains
|
||||
Trincea,,Cutting
|
||||
Veicoli,,Vehicles
|
||||
"Veicoli liberi nel deposito (selezione multipla, in ordine)",,"Free vehicles in the depot (multiple selection, in order)"
|
||||
Velocità,,Speed
|
||||
Verde,,Green
|
||||
Via Ferrea,,Via Ferrea
|
||||
abitanti,,inhabitants
|
||||
attendi il pieno,,wait for full load
|
||||
carica,,load
|
||||
fermo in salita,,stalled on grade
|
||||
giorni,,days
|
||||
guasto,,broken down
|
||||
hub mercato mondiale,,world market hub
|
||||
in attesa di via libera,,waiting for clearance
|
||||
in deposito,,in depot
|
||||
in marcia,,running
|
||||
in stazione,,at station
|
||||
large,Grande,Large
|
||||
medium,Medio,Medium
|
||||
scarica,,unload
|
||||
senza linea,,no line
|
||||
senza percorso,,no route
|
||||
small,Piccolo,Small
|
||||
treni,,trains
|
||||
|
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="csv_translation"
|
||||
type="Translation"
|
||||
uid="uid://b3f81cstnijyn"
|
||||
|
||||
[deps]
|
||||
|
||||
files=["res://assets/i18n/strings.it.translation", "res://assets/i18n/strings.en.translation"]
|
||||
|
||||
source_file="res://assets/i18n/strings.csv"
|
||||
dest_files=["res://assets/i18n/strings.it.translation", "res://assets/i18n/strings.en.translation"]
|
||||
|
||||
[params]
|
||||
|
||||
compress=1
|
||||
delimiter=0
|
||||
unescape_keys=false
|
||||
unescape_translations=true
|
||||
@@ -0,0 +1,15 @@
|
||||
// Terreno: l'alfa della texture è il campo dell'acqua interpolato tra i centri delle celle.
|
||||
// La soglia a 0,5 dà rive curve e nette a ogni zoom; tra 0,3 e 0,5 la fascia chiara delle sponde.
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform vec4 bank_color : source_color = vec4(0.725, 0.749, 0.612, 1.0);
|
||||
|
||||
void fragment() {
|
||||
vec4 t = texture(TEXTURE, UV);
|
||||
float w = t.a;
|
||||
float aa = fwidth(w) * 0.8 + 0.002;
|
||||
float water = smoothstep(0.5 - aa, 0.5 + aa, w);
|
||||
float bank = smoothstep(0.28 - aa, 0.28 + aa, w) * (1.0 - water);
|
||||
vec3 land = mix(t.rgb, bank_color.rgb, bank);
|
||||
COLOR = vec4(mix(land, t.rgb, water), 1.0);
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
uid://d18pluemvpfne
|
||||
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128">
|
||||
<rect width="128" height="128" rx="20" fill="#11181c"/>
|
||||
<circle cx="64" cy="64" r="38" fill="none" stroke="#e0a526" stroke-width="8"/>
|
||||
<path d="M26 64h76M64 26v76" stroke="#e0a526" stroke-width="8"/>
|
||||
<circle cx="64" cy="64" r="10" fill="#e0a526"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 351 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c4uc2gnb3ehdx"
|
||||
path="res://.godot/imported/icon.svg-a9d7d51f2e724465af4bd29137d7fb03.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/theme/icon.svg"
|
||||
dest_files=["res://.godot/imported/icon.svg-a9d7d51f2e724465af4bd29137d7fb03.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
Reference in new issue
Block a user