Skip to content

Commit

Permalink
RWR completed
Browse files Browse the repository at this point in the history
Bug has been corrected.
The mirage is no more the OPFOR ready exception.
Thanks Leto.
Have fun
  • Loading branch information
5H1N0B11 committed Mar 18, 2019
1 parent ebe1bb9 commit e0d3f74
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
5 changes: 4 additions & 1 deletion Mirage-2000/Nasal/RADAR/radar2.nas
Original file line number Diff line number Diff line change
Expand Up @@ -1482,10 +1482,13 @@ var rounding1000 = func(n){
#RWR stuff, thank to Leto
var rwrList = [];
var rwrList16 = [];

var RWR_APG = {
run: func () {
rwrList = [];
rwrList16 = [];
me.MyCoord = geo.aircraft_position();
#printf("clist %d", size(completeList));
# printf("clist %d", size(completeList));
foreach(me.u;completeList) {
me.cs = me.u.get_Callsign();
me.rn = me.u.get_range();
Expand Down
2 changes: 1 addition & 1 deletion Mirage-2000/Nasal/rwr.nas
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ var main_init_listener = setlistener("sim/signals/fdm-initialized", func {
"mipmapping": 1
});

# cv.addPlacement({"node": "bkg", "texture":"rwr-bkg.png"});
# cv.addPlacement({"node": "bkg", "texture":"rwr-bkg.png"});
cv.setColorBackground(0, 0.20, 0);
var root = cv.createGroup();
rwr = RWRCanvas.new(root, [diam/2,diam/2],diam);
Expand Down
Binary file removed Mirage-2000/Splashs/splash-03.png
Binary file not shown.
5 changes: 0 additions & 5 deletions Mirage-2000/m2000-5-set.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@
<splash type="bool">true</splash>
<path>Splashs/splash-02.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splashs/splash-03.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
Expand Down

0 comments on commit e0d3f74

Please sign in to comment.