26 |
hitstatus[1]=0; |
hitstatus[1]=0; |
27 |
trigger[1]=0; |
trigger[1]=0; |
28 |
} |
} |
29 |
|
|
30 |
|
/** |
31 |
|
* Fills a struct cAcLevel2 with values from a AcLevel2 object (to put data into a F77 common). |
32 |
|
*/ |
33 |
|
void AcLevel2::GetLevel2Struct(cAcLevel2 *l2) const{ |
34 |
|
for(int i=0;i<2;i++){ |
35 |
|
l2->status[i] = status[i]; |
36 |
|
l2->hitmap[i] = hitmap[i]; |
37 |
|
l2->hitstatus[i] = hitstatus[i]; |
38 |
|
l2->trigger[i] = trigger[i]; |
39 |
|
} |
40 |
|
} |
41 |
|
|
42 |
|
void AcLevel2::SetFromLevel2Struct(cAcLevel2 *l2){ |
43 |
|
for(int i=0;i<2;i++){ |
44 |
|
status[i] = l2->status[i]; |
45 |
|
hitmap[i] = l2->hitmap[i]; |
46 |
|
hitstatus[i] = l2->hitstatus[i]; |
47 |
|
trigger[i] = l2->trigger[i]; |
48 |
|
} |
49 |
|
} |