diff options
author | LainLayer <doggymangc@gmail.com> | 2024-03-24 01:09:32 +0300 |
---|---|---|
committer | LainLayer <doggymangc@gmail.com> | 2024-03-24 01:09:32 +0300 |
commit | 71d9741a1f4c42d955f07ba936988e600e170526 (patch) | |
tree | 6f31ac7b4b4ead051215465bf384de3bd83154ac | |
parent | 82c2d358d3f558f94c1802a8ebf590167eb1fd78 (diff) |
fixed bizzare gcc13 ada warnings and error
-rw-r--r-- | eepers.adb | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -158,6 +158,11 @@ procedure Eepers is X, Y: Integer; end record; + function "="(A, B: IVector2) return Boolean is + begin + return A.X = B.X and then A.Y = B.Y; + end; + type Cell is (Cell_None, Cell_Floor, Cell_Wall, Cell_Barricade, Cell_Door, Cell_Explosion); Cell_Size : constant Vector2 := (x => 50.0, y => 50.0); @@ -190,11 +195,6 @@ procedure Eepers is return A.X < B.X and then A.Y < B.Y; end; - function "="(A, B: IVector2) return Boolean is - begin - return A.X = B.X and then A.Y = B.Y; - end; - function "+"(A, B: IVector2) return IVector2 is begin return (A.X + B.X, A.Y + B.Y); |