Age | Commit message (Collapse) | Author |
|
Co-Authored-By: Patric Stout <truebrain@openttd.org>
|
|
Basically, this changes "SaveLoad *" to either:
1) "SaveLoadTable" if a list of SaveLoads was meant
2) "SaveLoad &" if a single entry was meant
As added bonus, this removes SL_END / SLE_END / SLEG_END. This
also adds core/span.hpp, a "std::span"-lite.
|
|
|
|
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
|
|
|
|
|
|
|
|
|
|
(This was mostly achieved with a few in-place regexes)
|
|
was removed instead of version object last appeared.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IsSavegameVersionBefore().
|
|
some headers
|
|
missed :)
|
|
VARDEF and put them in a more logical location
|
|
|
|
checking savegames (empty for now).
|
|
if a header require a header make it include that header
|
|
|
|
|
|
|
|
|
|
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
|
|
|
|
that we allow removing towns now, but better not have desync prone code lingering around)
|
|
|
|
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
|
|
appropriate headers.
|
|
|
|
overflow for values > 2.4 years
|
|
|