From 961061b6433772ec24ddeb9fbe7445fc57bcc1d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 28 May 2023 11:28:12 +0200 Subject: [PATCH] Added rescue station --- gpxsee.qrc | 1 + icons/map/marine/rescue-station.png | Bin 0 -> 228 bytes src/map/ENC/mapdata.cpp | 1 + src/map/ENC/objects.h | 1 + src/map/ENC/style.cpp | 1 + 5 files changed, 4 insertions(+) create mode 100644 icons/map/marine/rescue-station.png diff --git a/gpxsee.qrc b/gpxsee.qrc index 4544b271..a42c6007 100644 --- a/gpxsee.qrc +++ b/gpxsee.qrc @@ -200,6 +200,7 @@ icons/map/marine/construction.png icons/map/marine/radio-call.png icons/map/marine/current.png + icons/map/marine/rescue-station.png diff --git a/icons/map/marine/rescue-station.png b/icons/map/marine/rescue-station.png new file mode 100644 index 0000000000000000000000000000000000000000..ff5a4b6013c377620d7d721d39891f7ee6964381 GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^f7WX1){$Qfx`y?k+$Y2!1;6t_M<_1s;*b z3=De8Ak0{?)V>TT*y8Ep7~*mKYS?MM0}33{NB;kR`u35YN?Pv9)5iiGe>)_}B+W5? zRdpue{As<0s<&JVWKVE4ENf!}J)E=beqOKjCEblt@&$`DEWMI orderMapInit() map.insert(TYPE(FOGSIG), 0); map.insert(TYPE(CGUSTA), 1); + map.insert(TYPE(RSCSTA), 1); map.insert(SUBTYPE(BUAARE, 1), 2); map.insert(SUBTYPE(BUAARE, 5), 3); map.insert(SUBTYPE(BUAARE, 4), 4); diff --git a/src/map/ENC/objects.h b/src/map/ENC/objects.h index 441b81a0..2240937f 100644 --- a/src/map/ENC/objects.h +++ b/src/map/ENC/objects.h @@ -70,6 +70,7 @@ #define RAILWY 106 #define RCRTCL 108 #define RECTRC 109 +#define RSCSTA 111 #define RESARE 112 #define RIVERS 114 #define ROADWY 116 diff --git a/src/map/ENC/style.cpp b/src/map/ENC/style.cpp index 417a936d..849da31c 100644 --- a/src/map/ENC/style.cpp +++ b/src/map/ENC/style.cpp @@ -248,6 +248,7 @@ void Style::pointStyle() _points[SUBTYPE(I_DISMAR, 3)] = _points[SUBTYPE(I_DISMAR, 2)]; _points[SUBTYPE(I_DISMAR, 4)] = _points[SUBTYPE(I_DISMAR, 2)]; _points[TYPE(CGUSTA)] = Point(QImage(":/marine/coast-guard.png")); + _points[TYPE(RSCSTA)] = Point(QImage(":/marine/rescue-station.png")); _points[TYPE(RDOSTA)] = Point(QImage(":/marine/radio.png")); _points[TYPE(RADSTA)] = Point(QImage(":/marine/radar.png")); _points[TYPE(RTPBCN)] = Point(QImage(":/marine/radar-transponder.png"));