16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 16:19:19 +02:00

reformat: parameters can be made pointer to const

This commit is contained in:
jerrrrycho
2026-07-04 07:14:02 +02:00
parent 220689a5e3
commit 96a099acdf
51 changed files with 304 additions and 304 deletions

View File

@@ -150,7 +150,7 @@ public:
erase( TAnimModel *Instance );
// removes provided memory cell from the cell
void
erase( TMemCell *Memorycell );
erase(const TMemCell *Memorycell );
// find a vehicle located nearest to specified point, within specified radius. reurns: located vehicle and distance
std::tuple<TDynamicObject *, float>
find( glm::dvec3 const &Point, float Radius, bool Onlycontrolled, bool Findbycoupler ) const;
@@ -214,7 +214,7 @@ public:
using memorycell_sequence = std::vector<TMemCell *>;
// methods
static void
launch_event(TEventLauncher *Launcher, bool local_only);
launch_event(const TEventLauncher *Launcher, bool local_only);
void
enclose_area( basic_node *Node );
// members