devilutionX/test
ephphatha 730f0e65d5 Introduce FindClosestValidPosition function
The pre-calculated crawl table is replaced with partially unrolled loops to handle the special cases covered by the table.

Arbitrary limit of 50 placed to allow using this function for searches where vanilla logic would check up to (±49, ±49).
2021-11-07 20:13:31 +01:00
..
.clang-format 🔨 Align .clang-format files 2021-04-11 16:41:02 +02:00
animationinfo_test.cpp Rename DelayLen -> TicksPerFrame 2021-06-27 01:26:49 -07:00
appfat_test.cpp Allow forcing Hellfire with command-line flags 2021-10-25 13:52:14 +01:00
automap_test.cpp ♻️ Replace Point addition with 'Point + Displacement' 2021-06-28 20:37:44 -07:00
codec_test.cpp 🎨 Fix line endings 2021-05-07 23:22:51 +02:00
control_test.cpp Introduce GetSpellListSelection and remove selection game logic from DrawSpellList 2021-08-11 02:44:51 +02:00
cursor_test.cpp ♻️ Replace 'icursW' and 'icursH' globals with single 'icursSize' 2021-08-30 06:45:51 +02:00
dead_test.cpp Use scoped enum for Direction 2021-09-12 02:27:47 +02:00
diablo_test.cpp 🎨 Fix line endings 2021-05-07 23:22:51 +02:00
drlg_l1_test.cpp Rename lighting globals 2021-07-08 02:01:14 -07:00
effects_test.cpp ♻️Use monster by reference when possible 2021-07-14 20:22:35 -07:00
file_util_test.cpp 🚚 Restructure files 2021-04-16 03:57:22 +02:00
inv_test.cpp ♻️ Convert 'ItemType' enum to enum class 2021-09-13 00:25:49 +02:00
lighting_test.cpp Move CrawlNum to CrawlTable and make it extern visible 2021-09-11 14:41:30 +02:00
main.cpp Replace C++ RUN_TEST define with gbQuietMode 2021-05-15 02:08:26 +02:00
missiles_test.cpp Use scoped enum for Direction16. 2021-09-12 02:27:47 +02:00
pack_test.cpp Migrate to libmpq 2021-11-06 23:51:42 +00:00
path_test.cpp Introduce FindClosestValidPosition function 2021-11-07 20:13:31 +01:00
player_test.cpp Use scoped enum for Direction 2021-09-12 02:27:47 +02:00
player_test.h 🚚 Rename 'ItemStruct' to 'Item' 2021-08-30 13:40:08 +02:00
quests_test.cpp Add tests for quest randomisation code 2021-07-16 15:13:32 +02:00
random_test.cpp Apply clang-format 2021-08-11 20:52:32 +02:00
scrollrt_test.cpp 🎨 Fix line endings 2021-05-07 23:22:51 +02:00
stores_test.cpp 🚚 Rename 'ItemStruct' to 'Item' 2021-08-30 13:40:08 +02:00
writehero_test.cpp 🐛 Correctly wipe temp data from saves 2021-10-26 16:51:56 +02:00