SamuXarick
c05ffb22bd
Fix #10452 : Don't let AyStar max_search_nodes unattended when initializing ( #11544 )
...
Add a constant with the default value of 10000 and have the pathfinding settings refer to it.
Add a preventative method to AyStar when it's initializing, to limit the number of max_search_nodes if left unattended.
2023-12-17 22:50:53 +01:00
Rubidium
eaae0bb5e7
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
...
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
2023-07-19 19:30:14 +02:00
Rubidium
71b46db8d0
Cleanup: remove commented out code
2023-01-26 23:47:55 +01:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
J0an Josep
aa63517c92
Fix #7060 : [NPF] Do not check whether ignored first tiles are end nodes.
2019-01-31 22:15:56 +00:00
J0an Josep
19be1f4ace
Codechange: [NPF] Add some consts.
2019-01-31 22:15:56 +00:00
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
2018-10-31 12:35:54 +01:00
frosch
a23f707f92
(svn r27733) -Codechange: Pass NPF user data as void* instead of as array of integers.
2017-01-15 13:59:46 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
truebrain
160bfd8851
(svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
2011-11-30 01:22:18 +00:00
alberth
7c312f602c
(svn r20890) -Doc: Make documentation accessible to doxygen.
2010-10-02 19:55:13 +00:00
alberth
6a9b205670
(svn r20889) -Codechange: Make ClosedListHash, OpenListQueue, and OpenListHash data protected, and rename for coding style.
2010-10-02 19:53:20 +00:00
alberth
a7ffc9a268
(svn r20879) -Codechange: Make AyStarMain_ClosedList_IsInList a method.
2010-10-02 19:34:32 +00:00
alberth
4f8af5d336
(svn r20878) -Codechange: Make AyStarMain_ClosedList_Add a method.
2010-10-02 19:33:23 +00:00
alberth
fa661e4075
(svn r20877) -Codechange: Make AyStarMain_OpenList_IsInList a method.
2010-10-02 19:32:21 +00:00
alberth
5e636d6a5c
(svn r20876) -Codechange: Make AyStarMain_OpenList_Pop a method.
2010-10-02 19:31:24 +00:00
alberth
969139b343
(svn r20875) -Codechange: Make AyStarMain_OpenList_Add a method.
2010-10-02 19:30:24 +00:00
alberth
9b21dfaeb0
(svn r20874) -Codechange: Make init_AyStar a method.
2010-10-02 19:29:00 +00:00
alberth
7bb7d6c35a
(svn r20868) -Codechange: Make AyStarMain_Main() a method.
2010-10-02 10:00:05 +00:00
alberth
49ba3539b5
(svn r20867) -Codechange: Make AyStarMain_AddStartNode() a method.
2010-10-02 09:58:32 +00:00
alberth
92f0bdec2c
(svn r20866) -Codechange: CheckTile() always returns the same (ignored) value.
2010-10-02 09:55:58 +00:00
alberth
776d541a89
(svn r20865) -Codechange: Make AyStarMain_CheckTile() a method.
2010-10-02 09:53:44 +00:00
alberth
8e5aaca653
(svn r20864) -Codechange: Make AyStar_Clear() a method.
2010-10-02 09:49:32 +00:00
alberth
2a796187ef
(svn r20863) -Codechange: Make AyStarMain_Loop a method.
2010-10-02 09:48:01 +00:00
alberth
581d1070b4
(svn r20862) -Codechange: Make AyStar_Free() a method.
2010-10-02 09:46:40 +00:00
alberth
219ad6e003
(svn r20688) -Codechange: Rename Queue struct to BinaryHeap.
2010-08-29 13:47:15 +00:00
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
2010-05-13 09:44:44 +00:00
smatz
c5b34444af
(svn r19084) -Codechange: minor coding-style fixups
2010-02-10 17:37:47 +00:00
rubidium
f52e27c688
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
2009-12-01 22:45:39 +00:00