19 Commits

Author SHA1 Message Date
89c5961785 Rule of 5. 2024-07-07 03:13:32 +02:00
f5fff89992 Reserving space in vector instead of resizing it. 2024-06-07 20:28:45 +02:00
6c146078ec Using std::vector. 2024-06-06 03:01:55 +02:00
d6d2280676 Removed from namespace godot. 2024-06-06 02:58:32 +02:00
a94ce85cfa Merged terrain type into Node. 2024-06-06 02:52:39 +02:00
4918c0319a Merged unit info into Node. 2024-06-06 02:31:02 +02:00
a59492b229 Using std::set to sort nodes. 2024-06-06 00:02:18 +02:00
3c8b0882d7 Returning from point and returning empty array from C++ if no path found. 2024-06-05 18:11:37 +02:00
7aaf09ec9a Changed how the closest node is picked.
Ignoring closed nodes.
2024-06-05 15:56:14 +02:00
9f3af7b380 Properly checking distance for changing parents of already processed nodes. 2024-06-05 04:14:29 +02:00
d3d7a0013f Optimized MultilevelAStarEx::generate_path() 2024-06-05 04:12:16 +02:00
100c66991b Using pass system for nodes instead of state field.
Housekeeping.
2024-06-05 03:11:33 +02:00
cab520a7ae Changed the way distanceToEnd is calculated. 2024-06-03 22:38:07 +02:00
a78b88b513 Added build-release.cmd 2024-06-03 16:15:57 +02:00
4543f67a26 assert(_used_rect.get_area() >= 0) 2024-06-01 17:39:16 +02:00
484c0cd080 Housekeeping. 2024-05-29 16:57:30 +02:00
d0c5119d52 Put * on the "uglier but more obvious" side of variable names. 2024-05-24 01:12:48 +02:00
91ec7cc507 Changed library entry_symbol. 2024-05-20 16:53:20 +02:00
4b5d01c2a7 Initial commit. 2024-05-20 16:34:55 +02:00