Commit Graph
11 Commits
Author SHA1 Message Date
jackpoz 08ac99744b Core/Maps: Fix memory leak in BoundaryUnionBoundary
Add missing destructor in BoundaryUnionBoundary to avoid reporting a memory leak (even if it's used only in a global variable)

(cherry picked from commit 724499cf9c6b2027d130d6a8a505413c7da6cb3e)
2021-02-15 19:13:25 +01:00
treeston 2e8ce5a70f Added new BoundaryUnionBoundary subclass of AreaBoundary, which does what it says on the tin. Hi, sirikfoll.
(cherry picked from commit 9e80e977df56834d4cdc76a57a417a86a1dbda65)
2020-07-16 22:00:28 +02:00
ariel- cbcc4601ad Core/AI: Build fix
- Stop exposing DoublePosition constructor versions, they're only used for internal representation
- Moved IsInBounds function to public scope

(cherry picked from commit 83162fafa453c1d34fe23ddd86a43c3dff058300)
2020-04-24 17:18:51 +02:00
ariel- 3f79c9f696 Core/AI: AreaBoundary refactor
- Added an auxiliary function IsInBounds to base CreatureAI
- Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same

(cherry picked from commit 2f99fa09c9bacbad376d7a296c3311f94ec8a552)
2020-04-24 17:18:51 +02:00
Aokromes b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
vincent-michael 5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
vincent-michael 7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
treeston 0b6422ab9b Maps/Boundary: Some code style clean-up in AreaBoundary code, as well as adding an additional utility overload to IsWithinBoundary (Position const&).
(cherry picked from commit a7afb476332b227dcb886a7ba727be7a226c37a4)
2017-02-26 20:02:25 +01:00
vincent-michael 86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
treeston 9a24c7175d Fix stuff™.
(cherry picked from commit 0316dff24530da83ef3466500ee8bd4e1af548ba)
2016-03-22 22:57:51 +01:00
treeston e2f2c70ba4 Merge branch '3.3.5-bossboundary' into 3.3.5-base (PR #16089)
(cherry picked from commit 5b8b8c653039ec2add0b3a66468abb85e6f35054)
2016-03-22 22:56:43 +01:00