Age | Commit message (Collapse) | Author |
|
instead of an AutoFreeSmallVector.
|
|
|
|
|
|
|
|
|
|
This switch has been a pain for years. Often disabling broke
compilation, as no developer compiles OpenTTD without, neither do
any of our official binaries.
Additionaly, it has grown so hugely in our codebase, that it
clearly shows that the current solution was a poor one. 350+
instances of "#ifdef ENABLE_NETWORK" were in the code, of which
only ~30 in the networking code itself. The rest were all around
the code to do the right thing, from GUI to NewGRF.
A more proper solution would be to stub all the functions, and
make sure the rest of the code can simply assume network is
available. This was also partially done, and most variables were
correct if networking was disabled. Despite that, often the #ifdefs
were still used.
With the recent removal of DOS, there is also no platform anymore
which we support where networking isn't working out-of-the-box.
All in all, it is time to remove the ENABLE_NETWORK switch. No
replacement is planned, but if you feel we really need this option,
we welcome any Pull Request which implements this in a way that
doesn't crawl through the code like this diff shows we used to.
|
|
|
|
|
|
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
|
|
and be more verbose
|
|
properly
|
|
SaveLoadOperation to avoid nameclash with windows compiler toolkit.
|
|
of _file_to_saveload.
|
|
DetailedFileType.
|
|
FiosType with it.
|
|
most of SaveLoadDialogMode
|
|
|
|
and move both to FileList.
|
|
file list.
|
|
class.
|
|
function.
|
|
|
|
the return is not NULL)
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
command, to limit the content list to only content where the name match the filter
|
|
args, display all selected content
|
|
90c920601c84975acb694f3673e2beb08b013753)
|
|
Eagle_rainbow)
|
|
also in singleplayer.
|
|
|
|
compiles stumble on
|
|
|
|
player is in
|
|
|
|
only with GS prefix (and in game/library)
|
|
the console
|
|
that directory
|
|
instead of declaring it in 6 other files
|
|
parts some compilers failed at, are integrated in other parts of the code now too
|
|
|
|
two words "CamelCased" after eachother
|
|
|
|
limited set of sub directories
|
|
between bankruptcy and manual removal of companies even though the API suggested that
|
|
|
|
forgotten
|
|
|
|
on servers (including starting a company with the default password) failed, so no client could join.
|
|
values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS.
|
|
|