-#ifndef RADARMAP_H
-#define RADARMAP_H
+#pragma once
+#ifndef RADARMAP
+bool RadarMap_Make(float argc) { LOG_INFO("radarmap is disabled, compile with -DRADARMAP to enable it."); return true; }
+#else
// ===========================================
// Declarations for radarmap generation code
// FF is contained twice, to map 256 to FF too
// removes the need to bound()
-float RadarMap_Make(float argc);
-
+bool RadarMap_Make(float argc);
#endif