Peter Nelson
Peter Nelson
This is my solution for #670. This works in the same way for SqlExpression evaluation as SqlBuilder's ReuseParameters, except it is always on. This is helpful for e.g. search parameters....
I'm migrating a system that was on MS SQL to PostgreSQL. To help protect against deadlocks, the old code used Hint quite often: ```c# db.Query().Hint("WITH (UPDLOCK)").Where(...) ``` The PostgreSQL equivalent...
In `SqlBuilder` and `ParameterHelper.ProcessParams` there is the option to reuse parameters. When using LINQ-style queries, this is hidden away. 1) Is it possible to expose this? 2) Does reusing parameters...
Rail vehicle y-offsets are incorrectly setup as if "Y-Offset for train sprites (0E / 8E)" has been changed, which is not possible for a baseset. This means the sprites are...
As seen in OpenTTD/OpenTTD#8905, the OpenGFX's small font is too large for window bounds. Sprite fonts are expected to be a specific size.  The only real solution to this...
## Motivation / Problem std::filesystem::path does not expect UTF-8 strings, and it seems may produce invalid results when done so, so they must be converted to native format first (and...
## Motivation / Problem `GetMusicCatEntryName()` and `GetMusicCatEntryData()` both allocate memory with malloc, which needs to be freed by the caller. ## Description Instead return the data as `std:;string` or `std::vector`,...
## Motivation / Problem When loading NewGRFs without cargo translation table, we have to check to see if we need to perform a bitnum lookup or just treat the slot...
## Motivation / Problem Size configuration for default font was ignored as a different code path to load the font was followed. Size of default font could only be changed...
## Motivation / Problem Objects, Stations, Waypoints and Roadstops all support selecting add-on content from NewGRF files. The original design is that you select from a list of classes (up...