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

reformat: functions can be made static

This commit is contained in:
jerrrrycho
2026-07-04 06:09:04 +02:00
parent 1d0d1c015b
commit aeb800283c
66 changed files with 199 additions and 184 deletions

View File

@@ -213,7 +213,7 @@ public:
using eventlauncher_sequence = std::vector<TEventLauncher *>;
using memorycell_sequence = std::vector<TMemCell *>;
// methods
void
static void
launch_event(TEventLauncher *Launcher, bool local_only);
void
enclose_area( basic_node *Node );
@@ -387,8 +387,8 @@ public:
void
update_sounds();
// checks whether specified file is a valid region data file
bool
is_scene( std::string const &Scenariofile ) const;
static bool
is_scene( std::string const &Scenariofile );
// stores content of the class in file with specified name
void
serialize( std::string const &Scenariofile ) const;
@@ -475,7 +475,7 @@ public:
// methods
// checks whether specified point is within boundaries of the region
bool
static bool
point_inside( glm::dvec3 const &Location );
// legacy method, trims provided shape to fit into a section. adds trimmed part at the end of provided list, returns true if changes were made
static