Skip to content

Commit 7df3c68

Browse files
committed
Simplify RadarDummy
1 parent bf0a2e5 commit 7df3c68

File tree

1 file changed

+1
-15
lines changed
  • GeneralsMD/Code/GameEngine/Include/Common

1 file changed

+1
-15
lines changed

GeneralsMD/Code/GameEngine/Include/Common/Radar.h

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -294,27 +294,13 @@ class Radar : public Snapshot,
294294
extern Radar *TheRadar; ///< the radar singleton extern
295295

296296
// TheSuperHackers @feature helmutbuhler 04/10/2025
297-
// Radar that does nothing
297+
// Radar that does nothing. Used for Headless Mode.
298298
class RadarDummy : public Radar
299299
{
300300
public:
301-
RadarDummy(){}
302-
virtual ~RadarDummy() {}
303-
304-
virtual void init() { }
305-
virtual void reset() { Radar::reset(); }
306-
virtual void update() { Radar::update(); }
307-
308-
virtual void refreshTerrain(TerrainLogic *terrain) { Radar::refreshTerrain(terrain); }
309-
virtual void queueTerrainRefresh() { Radar::queueTerrainRefresh(); }
310-
virtual void newMap(TerrainLogic *terrain) { Radar::newMap(terrain); }
311301
virtual void draw(Int pixelX, Int pixelY, Int width, Int height) { }
312302
virtual void clearShroud() { }
313303
virtual void setShroudLevel(Int x, Int y, CellShroudStatus setting) { }
314-
315-
virtual void crc(Xfer *xfer) { }
316-
virtual void xfer(Xfer *xfer) { }
317-
virtual void loadPostProcess() { Radar::loadPostProcess(); }
318304
};
319305

320306
#endif // __RADAR_H_

0 commit comments

Comments
 (0)