Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class PolygonTrigger : public MemoryPoolObject,
Int getID() const {return m_triggerID;}
PolygonTrigger *getNext() {return m_nextPolygonTrigger;}
const PolygonTrigger *getNext() const {return m_nextPolygonTrigger;}
AsciiString getTriggerName() const {return m_triggerName;} ///< Gets the trigger name.
const AsciiString& getTriggerName() const {return m_triggerName;} ///< Gets the trigger name.
Bool pointInTrigger(ICoord3D &point) const;
Bool doExportWithScripts() const {return m_exportWithScripts;}
void setDoExportWithScripts(Bool val) {m_exportWithScripts = val;}
Expand Down
6 changes: 3 additions & 3 deletions Generals/Code/GameEngine/Include/GameLogic/TerrainLogic.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ class Waypoint : public MemoryPoolObject
/// Get the waypoint's position
const Coord3D *getLocation() const { return &m_location; }
/// Get the waypoint's first path label
AsciiString getPathLabel1() const { return m_pathLabel1; }
const AsciiString& getPathLabel1() const { return m_pathLabel1; }
/// Get the waypoint's second path label
AsciiString getPathLabel2() const { return m_pathLabel2; }
const AsciiString& getPathLabel2() const { return m_pathLabel2; }
/// Get the waypoint's third path label
AsciiString getPathLabel3() const { return m_pathLabel3; }
const AsciiString& getPathLabel3() const { return m_pathLabel3; }
/// Get bi-directionality.
Bool getBiDirectional() const { return m_biDirectional; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class PolygonTrigger : public MemoryPoolObject,
Int getID() const {return m_triggerID;}
PolygonTrigger *getNext() {return m_nextPolygonTrigger;}
const PolygonTrigger *getNext() const {return m_nextPolygonTrigger;}
AsciiString getTriggerName() const {return m_triggerName;} ///< Gets the trigger name.
const AsciiString& getTriggerName() const {return m_triggerName;} ///< Gets the trigger name.
Bool pointInTrigger(ICoord3D &point) const;
Bool doExportWithScripts() const {return m_exportWithScripts;}
void setDoExportWithScripts(Bool val) {m_exportWithScripts = val;}
Expand Down
6 changes: 3 additions & 3 deletions GeneralsMD/Code/GameEngine/Include/GameLogic/TerrainLogic.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ class Waypoint : public MemoryPoolObject
/// Get the waypoint's position
const Coord3D *getLocation() const { return &m_location; }
/// Get the waypoint's first path label
AsciiString getPathLabel1() const { return m_pathLabel1; }
const AsciiString& getPathLabel1() const { return m_pathLabel1; }
/// Get the waypoint's second path label
AsciiString getPathLabel2() const { return m_pathLabel2; }
const AsciiString& getPathLabel2() const { return m_pathLabel2; }
/// Get the waypoint's third path label
AsciiString getPathLabel3() const { return m_pathLabel3; }
const AsciiString& getPathLabel3() const { return m_pathLabel3; }
/// Get bi-directionality.
Bool getBiDirectional() const { return m_biDirectional; }

Expand Down
Loading