OpenTTD/src/game
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 Feature: [UI] Split AI/Game Script configuration windows and add them to world gen window (#10058) 2022-11-10 21:39:09 +01:00
game.hpp Codechange: use fmt::format_to to format the help message 2023-05-20 16:50:03 +02:00
game_config.cpp Codechange: use std::string for script info/library finding 2023-05-14 22:54:10 +02:00
game_config.hpp Codechange: use std::string for script info/library finding 2023-05-14 22:54:10 +02:00
game_core.cpp Codechange: use fmt::format_to to format the help message 2023-05-20 16:50:03 +02:00
game_gui.cpp Codechange: Use begin/end of nwidget parts of begin/length. 2023-09-04 10:20:45 +01:00
game_gui.hpp Feature: [UI] Split AI/Game Script configuration windows and add them to world gen window (#10058) 2022-11-10 21:39:09 +01:00
game_info.cpp Codechange: Move includes for common STL headers to stdafx. 2023-05-17 10:14:41 +01:00
game_info.hpp Codechange: use std::string for script library category 2023-05-14 22:54:10 +02:00
game_instance.cpp Codechange: replace 'const char *' script API parameters with std::string 2023-05-14 22:54:10 +02:00
game_instance.hpp Codechange: replace 'const char *' script API parameters with std::string 2023-05-14 22:54:10 +02:00
game_scanner.cpp Codechange: use std::string for script info/library finding 2023-05-14 22:54:10 +02:00
game_scanner.hpp Codechange: use std::string for script info/library finding 2023-05-14 22:54:10 +02:00
game_text.cpp Codechange: let ReadLine return a string instead of passing a buffer 2023-06-09 19:58:29 +02:00
game_text.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00