Age | Commit message (Collapse) | Author |
|
directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
|
|
|
|
|
|
be more flexible.
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
|
|
the current
language. Since only one error can be loaded anyway, if the language didn't
match you'd get "Undefined string". Also since we're only loading one language
there's no need to use AddGRFString any more.
|
|
any full paths (again).
|
|
|
|
Note: as the 'full' path is stored of the newgrfs, the newgrfs in the old cfgs are not made default (you have to set them again).
|
|
newgrf searching.
-Codechange: do not add duplicate files to the newgrf list.
|
|
|
|
|
|
|
|
|
|
that are
mutually exclusive. At the same time, add an INITIALISED state which makes it
possible to check if a grf is not yet active but will be later on during the
GLS_ACTIVATION loading stage.
|
|
their GRF info/name set.
|
|
and load custom error messages properly.
|
|
add the allocated GRFConfig to its list and not copy it.
|
|
newgrf gui
window. GRFs with an error have a warning symbol shown before the name.
|
|
on non-windows because this wrapper was only active for win32 (thx Rubidium)
|
|
filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself.
|
|
allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron.
|
|
when loading the game and hide the intrinsics of adding elements to the GRFConfig list by using an AppendToGRFConfigList function.
|
|
GRFIdentifier so it can be reused.
|
|
NOT the original one. Reason for this is that this md5sum is saved, and otherwise a wrong md5sum would be stored in a savegame.
|
|
removing duplicates as the PEBKAC effect can result in the user adding the same grf's in the config file.
|
|
|
|
in savegame) instead of that of the replacement so a user can still go hunt for the original GRF if needed.
|
|
have the exact GRF files in your list. GRF files that are found based on GRFID (but not on matching md5sum) are used instead of disabling them. This does not affect MP games, there you still need an exact match.
-GRF Window colour-codes changed a bit: Static is now grey, and compatible GRF (found locally only based on GRFID) are shown in orange. Compatible GRF's also have an orange status/warning text saying they're not the original the game was saved with.
-Loaded games with something amiss regarding GRF's will show an appropiate warning message.
|
|
omitted (or NULL)
only a check for GRFID is done and not on md5sum as well. Remove blanksum in the function as it's obsoleted
|
|
MD5SUM and use it.
|
|
pointer to allocated memory instead of modifying the pointer given as parameter
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|