-
Notifications
You must be signed in to change notification settings - Fork 0
/
SSRv3.bas
3307 lines (3304 loc) · 97.7 KB
/
SSRv3.bas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
!!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SONNENSYSTEMROTATION
+ semper ubique sum +
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
© 2020-23 by Dietmar Gerald Schrausser
!!
_name$="SSR"
_ver$="v3.7.25"
INCLUDE strg_.inc
INCLUDE ssr.inc
SENSORS.OPEN 3 %
SENSORS.OPEN 8 %
GR.OPEN 255,0,0,0,0,-1 %
GR.SCREEN sx,sy
GOSUB global % Globale Variablen
c_m=299792458 % c in m/s (exakt, SI)
au_=149597870700 % AE in m (exakt, quasi SI)
pc_=648000/PI() % pc aus AE (IAU, 2016)
a_=365.25 % Tage pro Jahr
ca_=360/a_ % Korrekturfaktor bei Simulation
GOSUB astroparameter %
!
INCLUDE ssr_globals1.bas % Globale Parameter (NASA)
INCLUDE ssr_globals2.bas % Globale Parameter (CDS SIMBAD)
!
GR.BITMAP.CREATE scrs, sx,sy
pat$="../../SSR/"
!
INCLUDE ssr_ini.bas % ini
GOSUB weitere_ini %
GOSUB zeit:jx=yr % Jahr für Simulation
GOSUB tagnr % Tagnr für Simulation
GOSUB mnt % Monatslängen
GOSUB dialog % Hauptmenü
!
st0: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DO
GR.SET.STROKE skl % 1-5
IF s07=1 % bei Echtzeit
GOSUB zeit % Aktuelle Zeit
!
! % Schaltjahr %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
sj=0
IF Yr/4=INT(Yr/4) THEN sj=1
sj=1
GOSUB tagnr
! % Sommerzeit %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
sz$="":sz=0
IF nt>=mz+29 & nt<or+24
sz$="MSZ":sz=1
ENDIF
!
tg=nt+1 % Tagnummer
tg=tg+10 %
i=((tg/a_)*360)-135 % Tagposition
j=0 % Tagzaehler
jx=yr % Jahr
!
ENDIF
GR.SCREEN sx,sy % Bildschirmformat
mx=sx/2:my=sy/2
IF sx>sy
swbs=0 % Schalter Breitformat
ELSE
swbs=1 % Schalter Hochformat
ENDIF
!
mnc=min/60 % Minutentakt
ae=(sx/2.9)/ed %%%% % Faktor ed zu AE
aed=ae
IF s07=1 THEN v=0 % bei Echtzeit
i=i+v % Tagposition bei Simulation
nt=nt+v/ca_ % Tagnummer bei Simulation
!
GR.CLS
GR.TEXT.SETFONT "courier","",1
GR.TEXT.SIZE txz1
IF u00=1
! % Oortsche Wolke %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
d=100000 %AE
gr1=ed*d
IF u10=1 & ed<50000 & AE<10000000 %
GR.COLOR 45,60,60,60,1
GR.CIRCLE sn,mx,my,ed*d
IF AE<=45000
GR.COLOR cc,0,0,0,1
GR.CIRCLE sn,mx,my,ed*d/2
ENDIF
IF AE>30&AE<45000
GR.COLOR 20,60,60,60,1
GR.CIRCLE sn,mx,my,ed*d/2
ENDIF
IF AE>50&AE<45000
GR.COLOR 15,60,60,60,1
GR.CIRCLE sn,mx,my,ed*d/2
ENDIF
IF u11=1&ae>30000&ae<3000000
GR.TEXT.ALIGN 2
GR.COLOR cc,60,60,60,1
GR.TEXT.DRAW txt,mx,my-gr1-c10,"Oortsche Wolke"
ENDIF
ENDIF
! % Hills-Wolke, Innere Kometenwolke %%%%%%%%%%%%%%%%%%%
d=1500 %AE
gr1=ed*d
IF u15=1 & ed<5000 & AE<1000000 %
IF u10=1:GR.COLOR 35,20,30,30,1
ELSE: GR.COLOR 75,20,30,30,1: ENDIF
GR.CIRCLE sn,mx,my,ed*d*c145
IF u10=1:GR.COLOR cc,10,10,10,1
ELSE: GR.COLOR cc,0,0,0,1: ENDIF
GR.CIRCLE sn,mx,my,ed*d/4
IF u11=1&ae>300&ae<30000
GR.TEXT.ALIGN 2
GR.COLOR cc,60,60,60,1
GR.TEXT.DRAW txt,mx,my-gr1-c10,"Hills-Wolke, Innere Kometenwolke"
ENDIF
ENDIF
! % Heliosphäre %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
d=150
gr1=ed*d
IF u14=1 & ed<500 & AE<100000 %
GR.COLOR 178,20,10,0,1
GR.CIRCLE sn,mx,my,ed*(d/1.3)
GR.COLOR 130,20,10,0,1
GR.CIRCLE sn,mx,my,ed*(d/1.1)
GR.COLOR 115,20,10,0,1
GR.CIRCLE sn,mx,my,ed*d
IF u11=1&ae>40&ae<2700
GR.TEXT.ALIGN 2
GR.COLOR 230,70,60,0,1
GR.TEXT.DRAW txt,mx,my-gr1-c10,"Heliosphäre"
ENDIF
ENDIF
! % Kuipergürtel %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
d=45
gr1=ed*d*c142
IF u13=1 & ed<500 & AE<100000 %
GR.COLOR 30,60,60,100,1
GR.CIRCLE sn,mx,my,ed*d*1.8
IF u14=1
GR.COLOR 200,20,10,0,1
ELSE
GR.COLOR cc,0,0,0,1
ENDIF
GR.CIRCLE sn,mx,my,ed*d
IF u11=1&ae>20&ae<700
GR.TEXT.ALIGN 2
GR.COLOR 200,60,60,100,1
GR.TEXT.DRAW txt,mx,my-gr1-c10,"Kuipergürtel"
ENDIF
ENDIF
! % Asteroidengürtel %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
d=3
gr1=ed*4.8
IF u04=1 & ed>5 & AE<10000 %
GR.COLOR 30,100,100,60,1
GR.CIRCLE sn,mx,my,ed*d*1.8
IF u14=1
GR.COLOR cc,20,10,0,1
ELSE
GR.COLOR cc,0,0,0,1
ENDIF
GR.CIRCLE sn,mx,my,ed*d*c142
IF u11=1&ae>1.5&ae<45
GR.TEXT.ALIGN 2
GR.COLOR 150,100,100,60,1
GR.TEXT.DRAW txt,mx,my-gr1-c10,"Asteroidengürtel"
ENDIF
ENDIF
ENDIF
! % Jahreszeiten %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF s01=1
GR.COLOR 35,cc,cc,0,1
GR.LINE ln,0,my,sx,my
GR.LINE ln,mx,0,mx,sy
! %Namen
stl=431
ac=360/24
lt=sy/4.8125 % // Distanz //
GR.TEXT.ALIGN 2
GR.TEXT.SIZE txz4 %12
GR.COLOR 40,cc,cc,0,1
GR.ROTATE.START stl+ac,mx,my
GR.TEXT.DRAW tx,mx+c02,my-lt,"W"
GR.ROTATE.END
GR.ROTATE.START stl+7*ac,mx,my
GR.TEXT.DRAW tx,mx+c02,my-lt,"H"
GR.ROTATE.END
GR.ROTATE.START stl+13*ac,mx,my
GR.TEXT.DRAW tx,mx+c02,my-lt,"S"
GR.ROTATE.END
GR.ROTATE.START stl+19*ac,mx,my
GR.TEXT.DRAW tx,mx+c02,my-lt,"F"
GR.ROTATE.END
ENDIF
! % Himmelsgewölbe %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF t34=1 & ae>=Lj_
GR.COLOR 35,cc/2,cc/2,cc/2,0
FOR hg=0 TO 90 STEP 10
GR.CIRCLE cl,mx,my,mx*SIN(TORADIANS(hg))
NEXT
FOR w=1 TO 24
GR.ROTATE.START w/24*360,mx,my
GR.LINE ln, 0,my,mx-sx/108,my
GR.ROTATE.END
NEXT
ENDIF
! % Rektaszension %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF swbs % nur im Hochformat
IF t31=1 & ae>=Lj_
GR.TEXT.ALIGN 3
GR.TEXT.SIZE txz1 %9
GR.COLOR 80, cc,cc,0, 0
IF s08=1:cor=0:ELSE:cor=1.1:ENDIF
FOR hr=0 TO 24
GR.ROTATE.START ((hr/24)*360)-cor,mx,my
IF hr>0
GR.TEXT.DRAW tx,mx,sx*c142,INT$(24-hr)
ENDIF
GR.ROTATE.END
NEXT
dsn=1
IF t39=1 % Deklination %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
dg_x=dg_:dm_x=dm_:ds_x=ds_
GOSUB dekl
GR.COLOR 80, cc,cc,0, 1
GR.TEXT.SIZE txz5
GR.TEXT.ALIGN 2
GR.TEXT.DRAW tx,mx,sy/4.5,_gd$+dkl$
GR.COLOR 80, cc,cc,0, 0
ENDIF
! % Positionszeiger %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
m_1=m_/60
s_2=s_/6000
pos=h_+m_1+s_1
pos1=-(pos/24)*360
GR.ROTATE.START pos1,mx,my
GR.LINE ln, mx,my,mx,my+(my/1.96)*dsn
GR.CIRCLE cl,mx,my+(my/1.93)*dsn,sy/115.5
GR.ROTATE.END
GR.COLOR 80, cc,cc,0, 1
GR.TEXT.SIZE txz5
GR.TEXT.ALIGN 2
GR.TEXT.DRAW tx,mx,sy/5,_ga$+rk$
ENDIF
ENDIF
! % Monate %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF s02=1
FOR s=1 TO 12
GR.ROTATE.START 180-((s/12)*360)-((10/a_)*360),mx,my
GR.COLOR 8, cc, cc,cc, 1
GR.LINE ln,-sx,my,sx*2,my
GR.ROTATE.END
NEXT
! % Monatsnummern %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
stl=410
ac=360/24
lt=sy/6.6 % // Distanz //
GR.TEXT.ALIGN 2
GR.TEXT.SIZE txz4
GR.COLOR 40,cc,cc,cc,1
GR.ROTATE.START stl+ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"1"
GR.ROTATE.END
GR.ROTATE.START stl+3*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"12"
GR.ROTATE.END
GR.ROTATE.START stl+5*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"11"
GR.ROTATE.END
GR.ROTATE.START stl+7*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"10"
GR.ROTATE.END
GR.ROTATE.START stl+9*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"9"
GR.ROTATE.END
GR.ROTATE.START stl+11*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"8"
GR.ROTATE.END
GR.ROTATE.START stl+13*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"7"
GR.ROTATE.END
GR.ROTATE.START stl+15*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"6"
GR.ROTATE.END
GR.ROTATE.START stl+17*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"5"
GR.ROTATE.END
GR.ROTATE.START stl+19*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"4"
GR.ROTATE.END
GR.ROTATE.START stl+21*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"3"
GR.ROTATE.END
GR.ROTATE.START stl+23*ac,mx,my
GR.TEXT.DRAW tx,mx,my-lt,"2"
GR.ROTATE.END
ENDIF
! % Sternbilder/Tierkreis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF swbs % nur im Hochformat
IF t99=1 % & ae>=Lj_
GR.COLOR 10, cc,cc,0, 0
IF ae/Lj_<=800
FOR s=1 TO 12
GR.ROTATE.START 180-((s/12)*360),mx,my
GR.LINE ln,-sx,my,sx*2,my
GR.ROTATE.END
NEXT
ENDIF
IF ae/Lj_<=2000
% Tierkreissymbole %%%%%%%%%%%%%%%%%%
GR.COLOR 100,cc,cc,0,1
GR.TEXT.ALIGN 2
GR.TEXT.SIZE txz1*1.5 %15
GR.ROTATE.START 16,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz01$
GR.ROTATE.END
GR.ROTATE.START 46,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz02$
GR.ROTATE.END
GR.ROTATE.START 75,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz03$
GR.ROTATE.END
GR.ROTATE.START 105,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz04$
GR.ROTATE.END
GR.ROTATE.START 135,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz05$
GR.ROTATE.END
GR.ROTATE.START 165,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz06$
GR.ROTATE.END
GR.ROTATE.START 196,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz07$
GR.ROTATE.END
GR.ROTATE.START 226,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz08$
GR.ROTATE.END
GR.ROTATE.START 256,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz09$
GR.ROTATE.END
GR.ROTATE.START 286,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz10$
GR.ROTATE.END
GR.ROTATE.START 316,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz11$
GR.ROTATE.END
GR.ROTATE.START 345,mx,my
GR.TEXT.DRAW tx,mx,my-dis,_tz12$
GR.ROTATE.END
ENDIF
IF ae/Lj_>=800 & ae/Lj_<=90000
GR.COLOR 20,cc,cc,0,0
FOR s=1 TO 12
GR.ROTATE.START 180-((s/12)*360),mx,my
GR.LINE ln,mx,my,mx+ed*(2000*lj_)*c145,my
GR.ROTATE.END
NEXT
GR.COLOR 45,cc,cc,0,0
GR.CIRCLE cl,mx,my,ed*(2000*lj_)*c145
ENDIF
ENDIF
ENDIF
! % Historie %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF t98=1
GR.COLOR 50,cc,cc,cc/2,0
GR.TEXT.ALIGN 2
GR.TEXT.SIZE txz1
grh=ed*((jx-1969)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"1969 Mondlandung"
ENDIF
grh=ed*((jx-1914)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"1914 Erster Weltkrieg"
ENDIF
grh=ed*((jx-1848)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"1848 Gründerzeit"
ENDIF
grh=ed*((jx-1789)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"1789 Französische Revolution"
ENDIF
grh=ed*((jx-1618)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"1618 30-jähriger Krieg"
ENDIF
grh=ed*((jx-1492)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"1492 Columbus"
ENDIF
grh=ed*((jx-800)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"800 Karl der Große"
ENDIF
grh=ed*((jx-476)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"476 Goten"
ENDIF
grh=ed*((jx-170)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"170 Ptolemaeus" % [1]
ENDIF
grh=ed*((jx-0)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"0 AD"
ENDIF
grh=ed*((jx+1200)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-1200 Troja" %[2]
ENDIF
grh=ed*((jx+3500)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-3500 Noah" %[3]
ENDIF
grh=ed*((jx+5500)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-5500 Jahr der Welt" %[3]
ENDIF
grh=ed*((jx+10000)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-10000 Jungsteinzeit"
ENDIF
grh=ed*((jx+48000)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-48000 Jungpaläolithikum"
ENDIF
grh=ed*((jx+2600000)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-2.6Ma Altsteinzeit"
ENDIF
grh=ed*((jx+66*10^6)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-66Ma Känozoikum"
ENDIF
grh=ed*((jx+186.2*10^6)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-186Ma Mesozoikum"
ENDIF
grh=ed*((jx+288.8*10^6)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-288Ma Paläozoikum"
ENDIF
grh=ed*((jx+2.5*10^9)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-2.5Ga Proterozoikum"
ENDIF
grh=ed*((jx+4*10^9)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-4.0Ga Archaikum"
ENDIF
grh=ed*((jx+4.6*10^9)*Lj_)*c145
IF grh>40
GR.CIRCLE cl,mx,my,grh
GR.TEXT.DRAW txt,mx,my+grh-c10,"-4.6Ga Hadaikum"
ENDIF
ENDIF
!!
References:
[1]Halma, N. (1813). Composition Mathematique de Claude Ptolemee. Vorwort. Paris.
[2]Eratosthenes. (-220). Chronographai. Verloren, nach Kokkinos, 2009.
[3]Petavius, D. (1630). Uranologion sive systema variorum authorum. S. 351. Lutetiae Parisiorum.
!!
! % Grössenvergleich %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF swvgl=1
dst=500
SW.BEGIN vglst
SW.CASE 4 %%%%%%%%%%%%%%%%%
gr1=(ed*r_btg_ae)*c142
GR.COLOR (cc-155),cc,0,0,1
vglst$="'Beteigeuze'"
SW.BREAK
SW.CASE 6 %%%%%%%%%%%%%%%%%
dst=Lj_*1400
gr1=(ed*r_orn_ae)*c142
GR.COLOR cc/3,cc,cc/3,cc/2,1
vglst$="'Orionnebel'"
SW.BREAK
SW.CASE 2 %%%%%%%%%%%%%%%%%
gr1=(ed*r_srs_ae)*c142
GR.COLOR (cc-55),cc,cc,0,1
vglst$="'Sirius'"
SW.BREAK
SW.CASE 1 %%%%%%%%%%%%%%%%%
gr1=(ed*r_acn_ae)*c142
GR.COLOR cc-20,cc,cc,cc,1
vglst$="'"+_ga$+" Centauri A'"
SW.BREAK
SW.CASE 3 %%%%%%%%%%%%%%%%%
gr1=(ed*r_adb_ae)*c142
GR.COLOR (cc-40),cc,0,0,1
vglst$="'Aldebaran'"
SW.BREAK
SW.CASE 5 %%%%%%%%%%%%%%%%%
gr1=(ed*r_rsg_ae)*c142
GR.COLOR (cc-155),cc,0,0,1
vglst$="'RSGC2-01'"
SW.BREAK
SW.END
GR.TEXT.SIZE txz1
GR.TEXT.ALIGN 2
IF t06=1&ae<dst THEN GR.TEXT.DRAW txt,mx,my-gr1-c10,vglst$
IF ae<dst
GR.CIRCLE sn,mx,my,gr1
ENDIF
ENDIF
!
IF u00=1 THEN GOSUB sonnensystem
IF t00=1 & ae>=Lj_ THEN GOSUB sterne
IF st00=1 & ae*pc_>92 THEN GOSUB sternhaufen
IF nb00=1 & ae*pc_>315 THEN GOSUB nebel
IF gm00=1 & ae*pc_>85 THEN GOSUB milchstrasse
IF gx00=1 & ae*pc_>cc*10^3 THEN GOSUB galaxien
IF gh00=1 & ae*pc_>1.3*10^6 THEN GOSUB haufen
IF gq00=1 & ae*pc_>2*10^8 THEN GOSUB quasare
IF gw00=1 THEN GOSUB weitere
!
! % Simulation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
jc=i-(j*360)
IF jc>=360-135+10 % Vor
j=j+1:jx=jx+1:nt=1.25 %%%%%
!TONE 11500,55
ENDIF
IF nt<1 % Zurück
j=j-1:jx=jx-1:nt=a_-0.25 %%%%%%%%
!TONE 11500,55
ENDIF
! % Textoutput %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GR.COLOR 80,cc,cc,cc,0
GR.TEXT.ALIGN 3
GR.TEXT.SIZE txz3 %
IF s10=1 % Skala
GR.LINE ln,0, sy-sy/177.69, mx,sy-sy/165
GR.LINE ln,0, sy-sy/144.375, 0, sy-sy/210
GR.LINE ln,mx,sy-sy/144.375, mx,sy-sy/210
GR.LINE ln,mx/2,sy-sy/144.375,mx/2,sy-sy/210
IF AE<Lj_*0.1
GR.TEXT.DRAW txt,mx,sy-dtx3,FORMAT$("#####.##",AE)+" AE"
ENDIF
IF AE>=Lj_*0.1 % 1Lichtjahr
GR.COLOR 30,cc,cc,cc,0
GR.CIRCLE cl,mx,my,mx % Skala
GR.COLOR 80,cc,cc,cc,0
IF AE<Lj_*pcl_
GR.TEXT.DRAW txt,mx,sy-dtx3,FORMAT$("# ######.##",ae)+" AE"
GR.TEXT.DRAW txt,mx,sy-dtx2,FORMAT$("#.##",ae/Lj_)+" Lj"
ENDIF
ENDIF
IF AE>=Lj_*pcl_ % 1Parsec
CLIPBOARD.PUT STR$(ae/pc_)
GR.TEXT.DRAW txt,mx,sy-dtx3,FORMAT$("###### ###### ######.##",AE)+" AE"
IF ae<Lj_*(pcl_*10^3) %
GR.TEXT.DRAW txt,mx,sy-dtx2,FORMAT$("###.##",ae/pc_)+"pc"
ENDIF
IF ae>=Lj_*(pcl_*10^3) %
IF ae<Lj_*(pcl_*10^6) %
GR.TEXT.DRAW txt,mx,sy-dtx2,FORMAT$("###.##",(ae/pc_)/10^3)+" kpc"
ENDIF
IF ae>=Lj_*(pcl_*10^6) & ae<Lj_*(pcl_*10^9)
GR.TEXT.DRAW txt,mx,sy-dtx2,FORMAT$("# ###### ######.##",(ae/pc_)/10^6)+" Mpc"
ENDIF
IF ae>=Lj_*(pcl_*10^9)
mxd=ae/pc_:IF mxd>=14.25*10^9 THEN mxd=14.25*10^9
CLIPBOARD.PUT STR$(mxd)
GR.TEXT.DRAW txt,mx,sy-dtx2,FORMAT$("# ###### ######.##",mxd/10^9)+" Gpc"
ENDIF
ENDIF
ENDIF
GR.TEXT.ALIGN 3
IF s07=0 % bei Vollsimulation
GR.TEXT.DRAW txt,sx,sy-dtx3,FORMAT$("# ###### ###### ###### ######",v_)+" AE/h"
GR.TEXT.DRAW txt,sx,sy-dtx2,FORMAT$("# ###### ###### ######",v_c)+"c"
ENDIF
IF s07=1 % bei Echtzeit
GR.TEXT.DRAW txt,sx,sy-dtx2,FORMAT$("## ###### ######",VAL(y$)-AE/Lj_+1)
ENDIF
IF s07=-1 % bei Simulation
GR.TEXT.DRAW txt,sx,sy-dtx2,FORMAT$("## ###### ######",jx-AE/Lj_+1)
ENDIF
ENDIF
IF s09=1 % Text %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF s07=0 % bei Vollsimulation
GR.TEXT.ALIGN 1
GR.TEXT.DRAW txt,dtx4,dtx1,"SSR SONNENSYSTEMROTATION "+_ver$+" Vollsimulation"
GR.TEXT.DRAW txt,dtx4,dtx1+dtx1,"Copyright "+_cr$+" 2023 by Dietmar Gerald Schrausser"
ENDIF
IF s07=-1 % bei Simulation
GR.TEXT.ALIGN 1
GR.TEXT.DRAW txt,dtx4,dtx1,INT$(jx)
GR.TEXT.ALIGN 3
GR.TEXT.DRAW txt,sx,dtx1,INT$(nt+1)+"T"
GR.TEXT.DRAW txt,sx,sy-dtx3,"Simulation: "+STR$(ROUND(v/0.1,3))+"×"
ENDIF
IF s07=1 % bei Echtzeit
GR.TEXT.ALIGN 1
GR.TEXT.DRAW txt,dtx4,dtx1,d$+"."+m$+"."+y$
GR.TEXT.ALIGN 3
GR.TEXT.DRAW txt,sx,dtx1,h$+":"+min$+" "+sz$
GR.TEXT.DRAW txt,sx,sy-dtx3,"Echtzeit"
ENDIF
ENDIF
! % Kompass %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF swbs % nur im Hochformat
IF s08=1
lg=35:p=10
SENSORS.READ 3,cp,cpi,crl
IF swk=1| swk=0
GR.COLOR cc/3,cc,50,50,1
GR.CIRCLE cl,mx,my/(p/2),sx/83
GR.COLOR cc/1.5,cc,50,50,0
GR.CIRCLE cl,mx+sx/83*crl/90,my/(p/2)+sx/83*cpi/90,sx/83
GR.CIRCLE cl,mx,my/(p/2),sx/540
GR.ROTATE.START 360-cp,mx,sy/p
GR.CIRCLE cl,mx,sy/p-lg+sx/135,sx/1080
GR.TEXT.ALIGN 2
GR.TEXT.SIZE txz2 %10
GR.TEXT.DRAW tx, mx,sy/p-lg,"N"
GR.ROTATE.END
GR.ROTATE.START 180-cp,mx,sy/p
GR.TEXT.DRAW tx, mx,sy/p-lg,"S"
GR.CIRCLE cl,mx,sy/p-lg-sx/108,sx/1080
GR.ROTATE.END
GR.ROTATE.START 90-cp,mx,sy/p
GR.TEXT.DRAW tx, mx,sy/p-lg,"O"
GR.ROTATE.END
GR.ROTATE.START 270-cp,mx,sy/p
GR.TEXT.DRAW tx, mx,sy/p-lg,"W"
GR.ROTATE.END
ENDIF
ENDIF
ENDIF
! % Touch Ereignisse %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GR.TOUCH2 t2,tx,ty
IF t2
GOSUB dialog
ENDIF
GR.TOUCH tc,tx,ty
IF tc
IF ae/pc_<14.25*10^9 % // max Entfernung //
IF ty<sy/3 THEN ed=ed/vse %%%%%%%%
ENDIF
IF ae>=0.002 % // min Entfernung //
IF ty>sy*2/3 THEN ed=ed*vse %%%%%%%%
ENDIF
IF s07=-1 % bei Simulation
IF ty<=sy*2/3 & ty>=sy/3
IF tx<mx THEN v=v+vsmn
IF tx>mx THEN v=v-vsmn
IF v>10 THEN v=10 % Grenzwert 100x
IF v<-10 THEN v=-10 %
ENDIF
ENDIF
ENDIF
! % Vollsimulation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF s07=0
IF sw=1
ed=ed/vsm %%%%%%%%
IF ae/pc_>=vsm_mx:sw=-1:PAUSE 2000:ENDIF
ENDIF
IF sw=-1
ed=ed*vsm %%%%%%%%
IF ae<=vsm_mn:sw=1:PAUSE 2000:ENDIF
ENDIF
GOSUB zeit
IF sec<>sec1 % Geschwindigkeit
sec1=sec
v_=ABS(ae-ae1)*3600 % AE/h
v_c=v_*(au_/1000)
v_c=v_c/c_ % c
ae1=ae
ENDIF
ENDIF
!
GR.RENDER
! % SCRS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IF s11=1
SENSORS.READ 8,dmy,dmy,bwg
IF bwg=0 THEN sw0=1
IF bwg=1&sw0=1
scrs$=pat$+_name$+Y$+M$+D$+h$+min$+sec$
GR.SCREEN.TO_BITMAP scrs
GR.BITMAP.SAVE scrs,scrs$
TONE 11500,55
sw0=0
ENDIF
!
ENDIF
IF s07=1 % bei Echtzeit
v=0.1 % Umlaufgeschwindigkeit bei Simulation
sw=1 % Vollsimulation Schalter
sec1=-1 %
ENDIF
UNTIL 0
!
ONERROR:
GOSUB fin
END
ONMENUKEY:
GOSUB dialog
MENUKEY.RESUME
ONBACKKEY:
GOSUB fin
END
!
! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
! % Subroutinen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
zeit:
TIME Y$, M$, D$, h$, min$, sec$
yr=VAL(Y$)
sec=VAL(sec$)
nt=VAL(D$)
nm=VAL(M$)
st=VAL(h$)
min=VAL(min$)
RETURN
! % Globale Variablen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
global:
clz1=sx/28 % Textgröße 8
clz2=sx/52 % Textgröße 4
clz3=sx/47 % Textgröße 5
clz4=sx/41 % Textgröße 6
clz5=sx/100 % Textgröße 1
clz6=sx/80 % Textgröße 2
txz1=sx/50 % Textgröße 12
txz2=sx/60 % Textgröße 10
txz3=sx/35 %
txz4=sx/36 %
txz5=sx/31 %
txzi=clz1 % Textgröße info
txzi2=sx/30 % Textgröße info2
dtx1=sy/80 % Text Abstand 1
dtx2=sy/40 % Text Abstand 2
dtx3=sy/100 % Text Abstand 3
dtx4=sx/100 % Text Abstand 4
c145=1.45 % sx/760 %1.45 corr
c142=1.42 % 1.42 corr
c10=sy/231 % 10 corr
c01=sx/1080 % 1 corr
c02=c01*2 % 2 corr
cc=255 % Farbe
dis=sy/5.372 % Tierkreis Distanz
gr_0=sx/400 % allg. Objekt Größe
swvgl=-1 % sw Grössenvergleich
!ed=ed/aed % Anfangsentfernung
vgr=1 % Vergrößerungsfaktor
vgrp0=100 % Vergrößerungsfaktor 0 Planeten
vgrs0=200000 % Vergrößerungsfaktor 0 Sterne
CLIPBOARD.PUT "0" % Berechnungen
RETURN
! Bei Start %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
astroparameter:
pcm_=pc_*au_ % pc in m
c_=c_m*3.6 % c in km/h
Lj_m=c_m*31557600 % Lj in m
Lj_=Lj_m/au_ % Lj in AE
pcl_=pcm_/Lj_m % pc in Lj
GOSUB sterne %
GOSUB sternhaufen %
GOSUB nebel %
GOSUB milchstrasse %
GOSUB galaxien %
GOSUB haufen %
GOSUB quasare %
GOSUB weitere_in %
RETURN
! % Tagesanzahl %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
tagnr:
nt=nt-1
IF nm>1 THEN nt=nt+31
IF nm>2 THEN nt=nt+28+sj
IF nm>3 THEN nt=nt+31
IF nm>4 THEN nt=nt+30
IF nm>5 THEN nt=nt+31
IF nm>6 THEN nt=nt+30
IF nm>7 THEN nt=nt+31
IF nm>8 THEN nt=nt+31
IF nm>9 THEN nt=nt+30
IF nm>10 THEN nt=nt+31
IF nm>11 THEN nt=nt+30
RETURN
! % Monatslängen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
mnt:
Fr=31
Mz=Fr+28+sj
Al=Mz+31
Mi=Al+30
Ji=Mi+31
Jl=Ji+30
At=Jl+31
Sr=At+31
Or=Sr+30
Nr=Or+31
Dr=Nr+30
RETURN
! % Position Rekta in Grad %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
r_pos:
m_x=m_x/60
s_x=s_x/6000
pos1=h_x+m_x+s_x
pos=pos1*-(360/24)-135
RETURN
! % Deklination %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
dekl:
dm_x=dm_x/60
ds_x=ds_x/6000
dkl=dg_x+dm_x+ds_x
d=d*COS(TORADIANS(dkl))
d=d*Lj_
dsn=(COS(TORADIANS(dkl)))
RETURN
! % Sonnensystem %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
sonnensystem::INCLUDE ssr_sonnensystem.bas:RETURN
! % Sterne, Sternhaufen und Nebel %%%%%%%%%%%%%%%%%%%%%%%%
sterne:: INCLUDE ssr_sterne.bas:RETURN
sternhaufen::INCLUDE ssr_sternhaufen.bas:RETURN
nebel:: INCLUDE ssr_nebel.bas:RETURN
! % Milchstraßensystem %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
milchstrasse::INCLUDE ssr_milchstrasse.bas:RETURN
! % Galaxien, Galaxienhaufen weitere Objekte %%%%%%%%%%%%%
galaxien::INCLUDE ssr_galaxien.bas:RETURN
haufen:: INCLUDE ssr_haufen.bas: RETURN
quasare:: INCLUDE ssr_quasare.bas: RETURN
weitere:: INCLUDE ssr_weitere.bas: RETURN
! % Beobachtbares Universum r=14.25 Gpc %%%%%%%%%%%%%%%%%%
! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
! % Objektdarstellung %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
objdarst:
GR.ROTATE.START pos,mx,my
IF ae<200*d %Darstellung
IF symsw=-1 THEN symb=gr_0 %Symbol
IF symsw=1 THEN symb=rds %Maßstab
!IF otype=-1 | symsw=-1
IF symsw=-1
GR.CIRCLE cl,mx-ed*d,my-ed*d,symb*vgr
ENDIF
!
!IF otype=0 & symsw=1
IF symsw=1
GR.CIRCLE cl,mx-ed*d,my-ed*d,(ed*symb*Lj_)*vgr
ENDIF
ENDIF
IF t06=1 & ae<5*d %Text
GR.ROTATE.START -pos,mx-ed*d,my-ed*d
GR.TEXT.ALIGN 2
GR.TEXT.SIZE txz1 %11
GR.TEXT.DRAW txt,mx-ed*d,my-ed*d-c10,objname$
GR.ROTATE.END
ENDIF
IF pro_=1 %Projektion
erd=TORADIANS(-i-45-pos)
ex1= mx-(ed*c145)*SIN(-erd)
ey1= my-(ed*c145)*COS(erd)
GR.COLOR 30,cc,cc/3,cc/2,0 %%% gosub color
GR.LINE ln, mx-ed*d,my-ed*d, ex1,ey1
ENDIF
GR.ROTATE.END
RETURN
! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
! % Haupt-Dialog Parameter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
dialogprm:
u00=-1
t00=-1
s07=1
s09=1
s11=1
RETURN
! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
dialog:
GOSUB anfangsentfernung %aed$
GOSUB menu
std:
ARRAY.LOAD sel$[],o05$,o06$,o12$,o13$,o14$,o15$,o17$,o16$,o18$,o10$,o09$,o07$,o11$,"Ok",_ex$+" Exit"
DIALOG.SELECT sel, sel$[],_name$+" SONNENSYSTEMROTATION "+_ver$+" - Ebenen:"
IF sel=1:GOSUB dialog1:ENDIF
IF sel=2:GOSUB dialog2:ENDIF
IF sel=3:GOSUB dialog4:ENDIF
IF sel=4:GOSUB dialog5:ENDIF
IF sel=5:GOSUB dialog6:ENDIF
IF sel=6:GOSUB dialog7:ENDIF
IF sel=7:GOSUB dialog8:ENDIF
IF sel=8:GOSUB dialog9:ENDIF
IF sel=9:GOSUB dialog11:ENDIF
IF sel=10:GOSUB dialog10:ENDIF
IF sel=11:s09=s09*-1:ENDIF
IF sel=12:GOSUB dialog3:ENDIF
IF sel=13:s11=s11*-1:ENDIF
IF sel=14:RETURN: ENDIF
IF sel=15:GOSUB fin: END: ENDIF
GOSUB menu
GOTO std
RETURN
! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
menu:
IF u00=1:o05$=smb$+" Sonnensystem...":ENDIF
IF u00=-1:o05$=" Sonnensystem aus":ENDIF
IF t00=1:o06$=smb$+" Sterne...":ENDIF
IF t00=-1:o06$=" Sterne aus":ENDIF
IF st00=1:o12$=smb$+" Sternhaufen...":ENDIF
IF st00=-1:o12$=" Sternhaufen aus":ENDIF
IF nb00=1:o13$=smb$+" Nebel...":ENDIF
IF nb00=-1:o13$=" Nebel aus":ENDIF
IF gm00=1:o14$=smb$+" Milchstraße...":ENDIF
IF gm00=-1:o14$=" Milchstraße aus":ENDIF
IF gx00=1:o15$=smb$+" Galaxien...":ENDIF
IF gx00=-1:o15$=" Galaxien aus":ENDIF
IF gh00=1:o17$=smb$+" Galaxienhaufen...":ENDIF
IF gh00=-1:o17$=" Galaxienhaufen aus":ENDIF
IF gq00=1:o16$=smb$+" Quasare...":ENDIF
IF gq00=-1:o16$=" Quasare aus":ENDIF
IF gw00=1:o18$=smb$+" Weitere...":ENDIF
IF gw00=-1:o18$=" Weitere aus":ENDIF
IF s07=1:o07$=smq$+" Echtzeit @ "+aed$:ENDIF
IF s07=-1:o07$= smq$+ " Simulation @ "+aed$:ENDIF
IF s07=0:o07$=oo$+" Vollsimulation":ENDIF
!IF s07=2:o07$="i Information":ENDIF
IF s09=1:o09$=smb$+" Text":ENDIF
IF s09=-1:o09$=" Text aus":ENDIF
IF s10=1:o10$=smb$+" Skalen...":ENDIF
IF s10=-1:o10$=" Skalen aus":ENDIF
IF s11=1:o11$=smb$+" SCRS":ENDIF
IF s11=-1:o11$=" SCRS aus":ENDIF
RETURN
! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
! % Dialog Sonnensystem %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
dialog1prm:
s00=1
u00=1
u01=-1
u02=-1
u03=-1
u04=1
u05=-1
u06=-1
u07=-1
u08=-1
u09=-1
u10=1
u11=1
u13=1
u14=1
u15=1
u16=1
RETURN
! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
dialog1:
GOSUB menu1
std1:
ARRAY.LOAD sel1$[],q00$,q20$,q01$,q02$,q03$,q04$,q05$,q06$,q07$,q08$,q09$,q13$,q14$,q15$,q10$,q12$,q16$,q11$,"Ok"
DIALOG.SELECT sel1, sel1$[],"Sonnensystem: Darstellung/Projektion:"
IF sel1=1:u00=u00*-1:ENDIF
IF sel1=2:s00=s00*-1:ENDIF
IF sel1=3:u01=u01*-1:ENDIF
IF sel1=4:u02=u02*-1:ENDIF
IF sel1=5:u03=u03*-1:ENDIF
IF sel1=6:u04=u04*-1:ENDIF
IF sel1=7:u05=u05*-1:ENDIF
IF sel1=8:u06=u06*-1:ENDIF
IF sel1=9:u07=u07*-1:ENDIF
IF sel1=10:u08=u08*-1:ENDIF
IF sel1=11:u09=u09*-1:ENDIF
IF sel1=12:u13=u13*-1:ENDIF
IF sel1=13:u14=u14*-1:ENDIF
IF sel1=14:u15=u15*-1:ENDIF
IF sel1=15:u10=u10*-1:ENDIF
IF sel1=16:GOSUB dlgvgr:vgr_p=_vgr:ENDIF
IF sel1=17:u16=u16*-1:ENDIF
IF sel1=18:u11=u11*-1:ENDIF
IF sel1=19:RETURN: ENDIF
GOSUB menu1
GOTO std1
RETURN
! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
menu1:
IF u00=1:q00$=smb$+" Ebene an":ENDIF