Peter Nelson
Peter Nelson
## Motivation / Problem Use of C-style API along with 'hidden' define for Windows for testing if file exists with `access()` or `_taccess()`. ## Description Use platform-independent `std::filesystem::exists()` instead. ##...
## Motivation / Problem Temporary buffer for rendering glyphs in `CoreTextFontCache::InternalGetGlyph()` was not freed after use. ## Description Instead of using manual allocation, or any allocation, let CGBitmapContextCreate() handle the...
## Motivation / Problem Picker class list should not list classes with no items. The house picker could break this 'rule' with NewGRFs loaded. ## Description When setting up the...
## Motivation / Problem In-game console is not translatable and uses English strings, but becomes a mess when the game language is RTL. Here is the how the console appears...
## Motivation / Problem Manual memory allocation and freeing when reading heightmap BMP files. ## Description Replace raw pointers with std::vectors. This avoids manual memory management and allows BmpData to...
## Motivation / Problem Authors have asked for more custom waypoint classes, as lumping all waypoints into just one class gives a very big list. The simplest way to achieve...
## Motivation / Problem Font listing! ## Description Implement an interface to list system fonts instead of having a user search by path and filename. This adds an interface to...
## Motivation / Problem The WindowDesc list `_window_descs` is a pointer to a vector with manual initialisation with `new` on first use, as long as it's used correctly. This was...
## Motivation / Problem User of `FILE *` are expected to clean up manually. There is the `FileCloser` class which wraps a `FILE *`, but this has to be manually...
## Motivation / Problem When placing houses with the House Selection window in the scenario editor, there is no information about the selected house. ## Description Add brief house information...