OpenTTD/src/ai
Peter Nelson e8015e497d Codechange: Use begin/end of nwidget parts of begin/length.
This simplifies processing nwidget parts as, unlike the remaining length, the pointer to the end of the list never changes. This is the same principle as we use(d) for tracking end instead of length for C-style strings.

And this removes 160~ instances of the lengthof() macro.
2023-09-04 10:20:45 +01:00
..
CMakeLists.txt Add: introduce CMake for project management 2020-06-05 19:36:05 +02:00
ai.hpp Codechange: use fmt::format_to to format the help message 2023-05-20 16:50:03 +02:00
ai_config.cpp Codechange: use std::string for script info/library finding 2023-05-14 22:54:10 +02:00
ai_config.hpp Codechange: use std::string for script info/library finding 2023-05-14 22:54:10 +02:00
ai_core.cpp Codechange: use fmt::format_to to format the help message 2023-05-20 16:50:03 +02:00
ai_gui.cpp Codechange: Use begin/end of nwidget parts of begin/length. 2023-09-04 10:20:45 +01:00
ai_gui.hpp Codechange: move windows common to AI and GS out of ai_gui 2023-02-05 19:27:25 +01:00
ai_info.cpp Codechange: Move includes for common STL headers to stdafx. 2023-05-17 10:14:41 +01:00
ai_info.hpp Codechange: use std::string for script library category 2023-05-14 22:54:10 +02:00
ai_instance.cpp Codechange: replace 'const char *' script API parameters with std::string 2023-05-14 22:54:10 +02:00
ai_instance.hpp Codechange: replace 'const char *' script API parameters with std::string 2023-05-14 22:54:10 +02:00
ai_scanner.cpp Codechange: use std::string for script info/library finding 2023-05-14 22:54:10 +02:00
ai_scanner.hpp Codechange: use std::string for script info/library finding 2023-05-14 22:54:10 +02:00