add dumpswing, fix bug with uint32 instead of int32

This commit is contained in:
2025-02-19 23:07:26 +03:00
parent 1195393fa8
commit 357a0d7e19
10 changed files with 207 additions and 23 deletions

View File

@@ -93,7 +93,7 @@ static void *dumping(void _U_ *u){
}
// calculate
static void runtraectory(traectory_fn *tfn){
static void runtraectory(traectory_fn tfn){
if(!tfn) return;
coords_t telXY, traectXY;
double t0 = sl_dtime();
@@ -128,7 +128,7 @@ int main(int argc, char **argv){
ERRX("Can't open %s", G.coordsoutput);
}else fcoords = stdout;
Config.MountReqInterval = G.reqint;
traectory_fn *tfn = traectory_by_name(G.tfn);
traectory_fn tfn = traectory_by_name(G.tfn);
if(!tfn){
WARNX("Bad traectory name %s, should be one of", G.tfn);
print_tr_names();