From 0f9bb7697350cab65974f9d2e1e731c4326bf437 Mon Sep 17 00:00:00 2001 From: Bram Verhulst Date: Mon, 1 Apr 2024 10:27:37 +0200 Subject: [PATCH] Reformat + Basic animation system General fixes --- .idea/.idea.Motherload/.idea/.name | 1 + .../.idea/copilot/chatSessions/blobs/version | Bin 4 -> 0 bytes .idea/.idea.Motherload/.idea/indexLayout.xml | 8 + .../.idea/projectSettingsUpdater.xml | 6 + .idea/.idea.Motherload/.idea/workspace.xml | 63 +- Assets/{ => Player}/PlayerWalk.aseprite | Bin Game/Animations/Animation.cpp | 25 + Game/Animations/Animation.h | 30 + Game/Camera.cpp | 4 +- Game/Camera.h | 38 +- Game/Game.cpp | 21 +- Game/Game.h | 10 +- Game/Game.vcxproj | 797 +++++++++++------- Game/{ => GridSystem}/WorldGridManager.cpp | 10 +- Game/{ => GridSystem}/WorldGridManager.h | 21 +- Game/{ => GridSystem}/WorldTile.cpp | 9 +- Game/{ => GridSystem}/WorldTile.h | 80 +- Game/Level.cpp | 2 +- Game/Level.h | 7 +- Game/Player.cpp | 131 +-- Game/Player.h | 72 +- Game/TextureManager.cpp | 11 +- Game/TextureManager.h | 18 +- Game/WorldLevel.cpp | 60 +- Game/WorldLevel.h | 33 +- Game/main.cpp | 5 +- Game/pch.cpp | 2 +- Resources/animations/player/player_walk.png | Bin 0 -> 16165 bytes 28 files changed, 918 insertions(+), 546 deletions(-) create mode 100644 .idea/.idea.Motherload/.idea/.name delete mode 100644 .idea/.idea.Motherload/.idea/copilot/chatSessions/blobs/version create mode 100644 .idea/.idea.Motherload/.idea/indexLayout.xml create mode 100644 .idea/.idea.Motherload/.idea/projectSettingsUpdater.xml rename Assets/{ => Player}/PlayerWalk.aseprite (100%) create mode 100644 Game/Animations/Animation.cpp create mode 100644 Game/Animations/Animation.h rename Game/{ => GridSystem}/WorldGridManager.cpp (71%) rename Game/{ => GridSystem}/WorldGridManager.h (59%) rename Game/{ => GridSystem}/WorldTile.cpp (81%) rename Game/{ => GridSystem}/WorldTile.h (62%) create mode 100644 Resources/animations/player/player_walk.png diff --git a/.idea/.idea.Motherload/.idea/.name b/.idea/.idea.Motherload/.idea/.name new file mode 100644 index 0000000..8add32b --- /dev/null +++ b/.idea/.idea.Motherload/.idea/.name @@ -0,0 +1 @@ +Motherload \ No newline at end of file diff --git a/.idea/.idea.Motherload/.idea/copilot/chatSessions/blobs/version b/.idea/.idea.Motherload/.idea/copilot/chatSessions/blobs/version deleted file mode 100644 index 720d64f4baafc33efdf971f02084aca5f25b34a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4 LcmZQzU|<9Q00jU7 diff --git a/.idea/.idea.Motherload/.idea/indexLayout.xml b/.idea/.idea.Motherload/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.Motherload/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.Motherload/.idea/projectSettingsUpdater.xml b/.idea/.idea.Motherload/.idea/projectSettingsUpdater.xml new file mode 100644 index 0000000..4bb9f4d --- /dev/null +++ b/.idea/.idea.Motherload/.idea/projectSettingsUpdater.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/.idea.Motherload/.idea/workspace.xml b/.idea/.idea.Motherload/.idea/workspace.xml index 6827606..01eeafc 100644 --- a/.idea/.idea.Motherload/.idea/workspace.xml +++ b/.idea/.idea.Motherload/.idea/workspace.xml @@ -1,5 +1,8 @@ + + Game/Game.vcxproj @@ -9,16 +12,33 @@ - + + + + + + + + + + + + + + - + + + - - - + + + + +