From db83ae5e13c65ca75128133f3cc13f6893b6c31c Mon Sep 17 00:00:00 2001 From: Bram Verhulst Date: Wed, 17 Apr 2024 13:54:48 +0200 Subject: [PATCH] Remove Point2f, replace with Vector2f --- .idea/.idea.Motherload/.idea/workspace.xml | 212 +++++---------------- Engine/Collision.cpp | 35 ++-- Engine/Collision.h | 26 +-- Engine/Matrix2x3.cpp | 36 ++-- Engine/Matrix2x3.h | 24 +-- Engine/SVGParser.cpp | 38 ++-- Engine/SVGParser.h | 18 +- Engine/Text.cpp | 2 +- Engine/Text.h | 2 +- Engine/Texture.cpp | 2 +- Engine/Texture.h | 2 +- Engine/Vector2f.cpp | 63 ++---- Engine/Vector2f.h | 31 ++- Engine/structs.cpp | 88 ++++----- Engine/structs.h | 65 +++---- Engine/utils.cpp | 132 +++++++------ Engine/utils.h | 83 ++++---- Game/Animations/Animation.cpp | 4 +- Game/Animations/Animation.h | 4 +- Game/Camera.cpp | 10 +- Game/Camera.h | 12 +- Game/Game.cpp | 12 +- Game/Game.h | 4 +- Game/GridSystem/WorldGridManager.cpp | 10 +- Game/GridSystem/WorldGridManager.h | 4 +- Game/GridSystem/WorldTile.cpp | 12 +- Game/GridSystem/WorldTile.h | 12 +- Game/Gui/Button.cpp | 6 +- Game/Gui/Button.h | 6 +- Game/Gui/Screen.cpp | 2 +- Game/Gui/Screen.h | 6 +- Game/Gui/Screens/FuelScreen.cpp | 40 ++-- Game/Gui/Screens/FuelScreen.h | 2 +- Game/Gui/Screens/ScreenManager.cpp | 10 +- Game/Levels/Level.h | 2 +- Game/Levels/MainMenu/MainMenuLevel.cpp | 8 +- Game/Levels/MainMenu/MainMenuLevel.h | 2 +- Game/Levels/World/WorldLevel.cpp | 18 +- Game/Levels/World/WorldLevel.h | 6 +- Game/Player.cpp | 48 +++-- Game/Player.h | 27 +-- Game/main.cpp | 2 +- 42 files changed, 494 insertions(+), 634 deletions(-) diff --git a/.idea/.idea.Motherload/.idea/workspace.xml b/.idea/.idea.Motherload/.idea/workspace.xml index 3b75b7d..7be0b3a 100644 --- a/.idea/.idea.Motherload/.idea/workspace.xml +++ b/.idea/.idea.Motherload/.idea/workspace.xml @@ -10,20 +10,49 @@