From ae28f1c770ee3e80711dee39f45ecb2dad337488 Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Tue, 5 Mar 2024 11:40:42 +0800 Subject: [PATCH] Rename files to lowercase/shorter --- App.c => app.c | 12 ++++++------ App.h => app.h | 10 +++++----- App_Render.cpp => app_render.cpp | 4 ++-- Entity.c => entity.c | 6 +++--- Entity.h => entity.h | 6 +++--- Input.c => input.c | 4 ++-- Input.h => input.h | 0 Main.cpp => main.cpp | 4 ++-- Physics_Component.c => physics.c | 6 +++--- Physics_Component.h => physics.h | 2 +- Physics_Move.c => physics_move.c | 6 +++--- Player_Component.c => player.c | 8 ++++---- Player_Component.h => player.h | 2 +- Types.c => types.c | 2 +- Types.h => types.h | 0 15 files changed, 36 insertions(+), 36 deletions(-) rename App.c => app.c (94%) rename App.h => app.h (75%) rename App_Render.cpp => app_render.cpp (92%) rename Entity.c => entity.c (97%) rename Entity.h => entity.h (95%) rename Input.c => input.c (97%) rename Input.h => input.h (100%) rename Main.cpp => main.cpp (96%) rename Physics_Component.c => physics.c (97%) rename Physics_Component.h => physics.h (98%) rename Physics_Move.c => physics_move.c (97%) rename Player_Component.c => player.c (96%) rename Player_Component.h => player.h (98%) rename Types.c => types.c (99%) rename Types.h => types.h (100%) diff --git a/App.c b/app.c similarity index 94% rename from App.c rename to app.c index dd1c549..8dc39ff 100644 --- a/App.c +++ b/app.c @@ -1,10 +1,10 @@ -#include "App.h" -#include "Entity.h" -#include "Input.h" -#include "Physics_Component.h" -#include "Player_Component.h" -#include "Types.h" +#include "app.h" +#include "entity.h" +#include "input.h" +#include "physics.h" +#include "player.h" +#include "types.h" #include #include diff --git a/App.h b/app.h similarity index 75% rename from App.h rename to app.h index fd62536..f79a841 100644 --- a/App.h +++ b/app.h @@ -1,10 +1,10 @@ #pragma once -#include "Entity.h" -#include "Physics_Component.h" -#include "Player_Component.h" -#include "Input.h" -#include "Types.h" +#include "entity.h" +#include "physics.h" +#include "player.h" +#include "input.h" +#include "types.h" #ifdef __cplusplus extern "C" { diff --git a/App_Render.cpp b/app_render.cpp similarity index 92% rename from App_Render.cpp rename to app_render.cpp index 123a004..d7f8fc2 100644 --- a/App_Render.cpp +++ b/app_render.cpp @@ -1,6 +1,6 @@ -#include "App.h" -#include "Physics_Component.h" +#include "app.h" +#include "physics.h" #include "easyx.h" #include "util/tree.h" #include diff --git a/Entity.c b/entity.c similarity index 97% rename from Entity.c rename to entity.c index 054aa19..69e5708 100644 --- a/Entity.c +++ b/entity.c @@ -1,7 +1,7 @@ -#include "Entity.h" -#include "App.h" -#include "Physics_Component.h" +#include "entity.h" +#include "app.h" +#include "physics.h" #include "util/assert.h" #include "util/tree.h" #include "util/vector.h" diff --git a/Entity.h b/entity.h similarity index 95% rename from Entity.h rename to entity.h index 56a4d83..3c5f0fa 100644 --- a/Entity.h +++ b/entity.h @@ -1,11 +1,11 @@ #pragma once #include -#include "Types.h" +#include "types.h" #include "util/vector.h" #include "util/tree.h" -#include "Physics_Component.h" -#include "Player_Component.h" +#include "physics.h" +#include "player.h" #ifdef __cplusplus diff --git a/Input.c b/input.c similarity index 97% rename from Input.c rename to input.c index 835684c..a17753a 100644 --- a/Input.c +++ b/input.c @@ -1,6 +1,6 @@ -#include "Input.h" -#include "App.h" +#include "input.h" +#include "app.h" #include #include diff --git a/Input.h b/input.h similarity index 100% rename from Input.h rename to input.h diff --git a/Main.cpp b/main.cpp similarity index 96% rename from Main.cpp rename to main.cpp index efa666d..911d574 100644 --- a/Main.cpp +++ b/main.cpp @@ -2,8 +2,8 @@ #include #include -#include "App.h" -#include "Types.h" +#include "app.h" +#include "types.h" int main() { diff --git a/Physics_Component.c b/physics.c similarity index 97% rename from Physics_Component.c rename to physics.c index 920c8f0..af2bac8 100644 --- a/Physics_Component.c +++ b/physics.c @@ -1,7 +1,7 @@ -#include "Physics_Component.h" -#include "Entity.h" -#include "Types.h" +#include "physics.h" +#include "entity.h" +#include "types.h" #include "util/tree.h" #include "util/vector.h" #include "util/assert.h" diff --git a/Physics_Component.h b/physics.h similarity index 98% rename from Physics_Component.h rename to physics.h index 82591a2..f37a41b 100644 --- a/Physics_Component.h +++ b/physics.h @@ -2,7 +2,7 @@ #include "util/tree.h" #include "util/vector.h" -#include "Types.h" +#include "types.h" #include #include diff --git a/Physics_Move.c b/physics_move.c similarity index 97% rename from Physics_Move.c rename to physics_move.c index 335dfa9..3e53b5b 100644 --- a/Physics_Move.c +++ b/physics_move.c @@ -1,7 +1,7 @@ -#include "Physics_Component.h" -#include "Entity.h" -#include "Types.h" +#include "physics.h" +#include "entity.h" +#include "types.h" #include "util/tree.h" #include diff --git a/Player_Component.c b/player.c similarity index 96% rename from Player_Component.c rename to player.c index 8460423..5a9325e 100644 --- a/Player_Component.c +++ b/player.c @@ -1,8 +1,8 @@ -#include "Player_Component.h" -#include "Entity.h" -#include "App.h" -#include "Input.h" +#include "player.h" +#include "entity.h" +#include "app.h" +#include "input.h" #include "util/assert.h" #include diff --git a/Player_Component.h b/player.h similarity index 98% rename from Player_Component.h rename to player.h index 6e0f872..3650c7b 100644 --- a/Player_Component.h +++ b/player.h @@ -1,6 +1,6 @@ #pragma once -#include "Types.h" +#include "types.h" #include #include diff --git a/Types.c b/types.c similarity index 99% rename from Types.c rename to types.c index fe55248..906c9d0 100644 --- a/Types.c +++ b/types.c @@ -1,5 +1,5 @@ -#include "Types.h" +#include "types.h" #include #include #include diff --git a/Types.h b/types.h similarity index 100% rename from Types.h rename to types.h