diff --git a/source/collision/CMakeLists.txt b/source/collision/CMakeLists.txt index 22a2abc..09b4793 100644 --- a/source/collision/CMakeLists.txt +++ b/source/collision/CMakeLists.txt @@ -1,3 +1,3 @@ target_sources(omath PRIVATE - LineTracer.cpp + line_tracer.cpp ) diff --git a/source/collision/LineTracer.cpp b/source/collision/line_tracer.cpp similarity index 100% rename from source/collision/LineTracer.cpp rename to source/collision/line_tracer.cpp diff --git a/source/engines/iw_engine/CMakeLists.txt b/source/engines/iw_engine/CMakeLists.txt index 0153efa..e5e9741 100644 --- a/source/engines/iw_engine/CMakeLists.txt +++ b/source/engines/iw_engine/CMakeLists.txt @@ -1 +1 @@ -target_sources(omath PRIVATE Camera.cpp Formulas.cpp) \ No newline at end of file +target_sources(omath PRIVATE camera.cpp formulas.cpp) \ No newline at end of file diff --git a/source/engines/iw_engine/Camera.cpp b/source/engines/iw_engine/camera.cpp similarity index 100% rename from source/engines/iw_engine/Camera.cpp rename to source/engines/iw_engine/camera.cpp diff --git a/source/engines/iw_engine/Formulas.cpp b/source/engines/iw_engine/formulas.cpp similarity index 100% rename from source/engines/iw_engine/Formulas.cpp rename to source/engines/iw_engine/formulas.cpp diff --git a/source/engines/opengl_engine/CMakeLists.txt b/source/engines/opengl_engine/CMakeLists.txt index 0153efa..e5e9741 100644 --- a/source/engines/opengl_engine/CMakeLists.txt +++ b/source/engines/opengl_engine/CMakeLists.txt @@ -1 +1 @@ -target_sources(omath PRIVATE Camera.cpp Formulas.cpp) \ No newline at end of file +target_sources(omath PRIVATE camera.cpp formulas.cpp) \ No newline at end of file diff --git a/source/engines/opengl_engine/Camera.cpp b/source/engines/opengl_engine/camera.cpp similarity index 100% rename from source/engines/opengl_engine/Camera.cpp rename to source/engines/opengl_engine/camera.cpp diff --git a/source/engines/opengl_engine/Formulas.cpp b/source/engines/opengl_engine/formulas.cpp similarity index 100% rename from source/engines/opengl_engine/Formulas.cpp rename to source/engines/opengl_engine/formulas.cpp diff --git a/source/engines/source_engine/CMakeLists.txt b/source/engines/source_engine/CMakeLists.txt index 0153efa..e5e9741 100644 --- a/source/engines/source_engine/CMakeLists.txt +++ b/source/engines/source_engine/CMakeLists.txt @@ -1 +1 @@ -target_sources(omath PRIVATE Camera.cpp Formulas.cpp) \ No newline at end of file +target_sources(omath PRIVATE camera.cpp formulas.cpp) \ No newline at end of file diff --git a/source/engines/source_engine/Camera.cpp b/source/engines/source_engine/camera.cpp similarity index 100% rename from source/engines/source_engine/Camera.cpp rename to source/engines/source_engine/camera.cpp diff --git a/source/engines/source_engine/Formulas.cpp b/source/engines/source_engine/formulas.cpp similarity index 100% rename from source/engines/source_engine/Formulas.cpp rename to source/engines/source_engine/formulas.cpp diff --git a/source/pathfinding/CMakeLists.txt b/source/pathfinding/CMakeLists.txt index d1da67f..e7cc7b9 100644 --- a/source/pathfinding/CMakeLists.txt +++ b/source/pathfinding/CMakeLists.txt @@ -1 +1 @@ -target_sources(omath PRIVATE NavigationMesh.cpp Astar.cpp) \ No newline at end of file +target_sources(omath PRIVATE navigation_mesh.cpp a_star.cpp) \ No newline at end of file diff --git a/source/pathfinding/Astar.cpp b/source/pathfinding/a_star.cpp similarity index 100% rename from source/pathfinding/Astar.cpp rename to source/pathfinding/a_star.cpp diff --git a/source/pathfinding/NavigationMesh.cpp b/source/pathfinding/navigation_mesh.cpp similarity index 100% rename from source/pathfinding/NavigationMesh.cpp rename to source/pathfinding/navigation_mesh.cpp diff --git a/source/projectile_prediction/CMakeLists.txt b/source/projectile_prediction/CMakeLists.txt index 623aa65..1f189f7 100644 --- a/source/projectile_prediction/CMakeLists.txt +++ b/source/projectile_prediction/CMakeLists.txt @@ -1 +1 @@ -target_sources(omath PRIVATE ProjPredEngineLegacy.cpp Projectile.cpp Target.cpp ProjPredEngineAVX2.cpp ProjPredEngine.cpp) \ No newline at end of file +target_sources(omath PRIVATE proj_pred_engine_legacy.cpp projectile.cpp target.cpp proj_pred_engine_avx2.cpp proj_pred_engine.cpp) \ No newline at end of file diff --git a/source/projectile_prediction/ProjPredEngine.cpp b/source/projectile_prediction/proj_pred_engine.cpp similarity index 100% rename from source/projectile_prediction/ProjPredEngine.cpp rename to source/projectile_prediction/proj_pred_engine.cpp diff --git a/source/projectile_prediction/ProjPredEngineAVX2.cpp b/source/projectile_prediction/proj_pred_engine_avx2.cpp similarity index 100% rename from source/projectile_prediction/ProjPredEngineAVX2.cpp rename to source/projectile_prediction/proj_pred_engine_avx2.cpp diff --git a/source/projectile_prediction/ProjPredEngineLegacy.cpp b/source/projectile_prediction/proj_pred_engine_legacy.cpp similarity index 100% rename from source/projectile_prediction/ProjPredEngineLegacy.cpp rename to source/projectile_prediction/proj_pred_engine_legacy.cpp diff --git a/source/projectile_prediction/Projectile.cpp b/source/projectile_prediction/projectile.cpp similarity index 100% rename from source/projectile_prediction/Projectile.cpp rename to source/projectile_prediction/projectile.cpp diff --git a/source/projectile_prediction/Target.cpp b/source/projectile_prediction/target.cpp similarity index 100% rename from source/projectile_prediction/Target.cpp rename to source/projectile_prediction/target.cpp diff --git a/source/projection/CMakeLists.txt b/source/projection/CMakeLists.txt index 0abf868..1ca3a27 100644 --- a/source/projection/CMakeLists.txt +++ b/source/projection/CMakeLists.txt @@ -1 +1 @@ -target_sources(omath PRIVATE Camera.cpp) \ No newline at end of file +target_sources(omath PRIVATE camera.cpp) \ No newline at end of file diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 2320af9..244f7bb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -4,25 +4,25 @@ project(unit-tests) include(GoogleTest) add_executable(unit-tests - general/UnitTestPrediction.cpp - general/UnitTestMatrix.cpp - general/UnitTestMat.cpp - general/UnitTestAstar.cpp - general/UnitTestProjection.cpp - general/UnitTestVector3.cpp - general/UnitTestVector2.cpp - general/UnitTestColor.cpp - general/UnitTestVector4.cpp - general/UnitTestLineTrace.cpp - general/UnitTestAngles.cpp - general/UnitTestViewAngles.cpp - general/UnitTestAngle.cpp - general/UnitTestTriangle.cpp + general/unit_test_prediction.cpp + general/unit_test_matrix.cpp + general/unit_test_mat.cpp + general/unit_test_a_star.cpp + general/unit_test_projection.cpp + general/unit_test_vector3.cpp + general/unit_test_vector2.cpp + general/unit_test_color.cpp + general/unit_test_vector4.cpp + general/unit_test_line_trace.cpp + general/unit_test_angles.cpp + general/unit_test_view_angles.cpp + general/unit_test_angle.cpp + general/unit_test_triangle.cpp - engines/UnitTestOpenGL.cpp - engines/UnitTestUnityEngine.cpp - engines/UnitTestSourceEngine.cpp - engines/UnitTestIwEngine.cpp + engines/unit_test_open_gl.cpp + engines/unit_test_unity_engine.cpp + engines/unit_test_source_engine.cpp + engines/unit_test_iw_engine.cpp ) diff --git a/tests/engines/UnitTestIwEngine.cpp b/tests/engines/unit_test_iw_engine.cpp similarity index 100% rename from tests/engines/UnitTestIwEngine.cpp rename to tests/engines/unit_test_iw_engine.cpp diff --git a/tests/engines/UnitTestOpenGL.cpp b/tests/engines/unit_test_open_gl.cpp similarity index 100% rename from tests/engines/UnitTestOpenGL.cpp rename to tests/engines/unit_test_open_gl.cpp diff --git a/tests/engines/UnitTestSourceEngine.cpp b/tests/engines/unit_test_source_engine.cpp similarity index 100% rename from tests/engines/UnitTestSourceEngine.cpp rename to tests/engines/unit_test_source_engine.cpp diff --git a/tests/engines/UnitTestUnityEngine.cpp b/tests/engines/unit_test_unity_engine.cpp similarity index 100% rename from tests/engines/UnitTestUnityEngine.cpp rename to tests/engines/unit_test_unity_engine.cpp diff --git a/tests/general/UnitTestAstar.cpp b/tests/general/unit_test_a_star.cpp similarity index 100% rename from tests/general/UnitTestAstar.cpp rename to tests/general/unit_test_a_star.cpp diff --git a/tests/general/UnitTestAngle.cpp b/tests/general/unit_test_angle.cpp similarity index 100% rename from tests/general/UnitTestAngle.cpp rename to tests/general/unit_test_angle.cpp diff --git a/tests/general/UnitTestAngles.cpp b/tests/general/unit_test_angles.cpp similarity index 100% rename from tests/general/UnitTestAngles.cpp rename to tests/general/unit_test_angles.cpp diff --git a/tests/general/UnitTestColor.cpp b/tests/general/unit_test_color.cpp similarity index 100% rename from tests/general/UnitTestColor.cpp rename to tests/general/unit_test_color.cpp diff --git a/tests/general/UnitTestLineTrace.cpp b/tests/general/unit_test_line_trace.cpp similarity index 100% rename from tests/general/UnitTestLineTrace.cpp rename to tests/general/unit_test_line_trace.cpp diff --git a/tests/general/UnitTestMat.cpp b/tests/general/unit_test_mat.cpp similarity index 100% rename from tests/general/UnitTestMat.cpp rename to tests/general/unit_test_mat.cpp diff --git a/tests/general/UnitTestMatrix.cpp b/tests/general/unit_test_matrix.cpp similarity index 100% rename from tests/general/UnitTestMatrix.cpp rename to tests/general/unit_test_matrix.cpp diff --git a/tests/general/UnitTestPrediction.cpp b/tests/general/unit_test_prediction.cpp similarity index 100% rename from tests/general/UnitTestPrediction.cpp rename to tests/general/unit_test_prediction.cpp diff --git a/tests/general/UnitTestProjection.cpp b/tests/general/unit_test_projection.cpp similarity index 100% rename from tests/general/UnitTestProjection.cpp rename to tests/general/unit_test_projection.cpp diff --git a/tests/general/UnitTestTriangle.cpp b/tests/general/unit_test_triangle.cpp similarity index 100% rename from tests/general/UnitTestTriangle.cpp rename to tests/general/unit_test_triangle.cpp diff --git a/tests/general/UnitTestVector2.cpp b/tests/general/unit_test_vector2.cpp similarity index 100% rename from tests/general/UnitTestVector2.cpp rename to tests/general/unit_test_vector2.cpp diff --git a/tests/general/UnitTestVector3.cpp b/tests/general/unit_test_vector3.cpp similarity index 100% rename from tests/general/UnitTestVector3.cpp rename to tests/general/unit_test_vector3.cpp diff --git a/tests/general/UnitTestVector4.cpp b/tests/general/unit_test_vector4.cpp similarity index 100% rename from tests/general/UnitTestVector4.cpp rename to tests/general/unit_test_vector4.cpp diff --git a/tests/general/UnitTestViewAngles.cpp b/tests/general/unit_test_view_angles.cpp similarity index 100% rename from tests/general/UnitTestViewAngles.cpp rename to tests/general/unit_test_view_angles.cpp