summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
AgeCommit message (Collapse)Author
2007-06-12(svn r10114) -Fix: Only load newgrf error messages if the language matches ↵maedhros
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.
2007-06-08(svn r10073) -Codechange: make the NewGRF paths in the config file without ↵rubidium
any full paths (again).
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-04-04(svn r9561) -Fix (r9561): loading the newgrfs in openttd.cfg was broken.rubidium
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).
2007-04-04(svn r9560) -Codechange: add support for multiple 'base' directories for ↵rubidium
newgrf searching. -Codechange: do not add duplicate files to the newgrf list.
2007-04-02(svn r9545) -Documentation: Some corrections to previous doxygen workbelugas
2007-03-21(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.belugas
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9031) -Codechange: Introduce grfconfig->status, and use it for states ↵maedhros
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.
2007-03-01(svn r8955) -Fix: crash on loading savegames with GRFs that do not have ↵rubidium
their GRF info/name set.
2007-02-24(svn r8881) -Feature: Allow built-in newgrf error messages to be translated, ↵maedhros
and load custom error messages properly.
2007-02-22(svn r8844) -Revert partly (r8820, r8806): Change AppendToGRFConfigList to ↵Darkvater
add the allocated GRFConfig to its list and not copy it.
2007-02-21(svn r8838) -Feature: Show newgrf error messages loaded in Action B in the ↵maedhros
newgrf gui window. GRFs with an error have a warning symbol shown before the name.
2007-02-20(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed ↵Darkvater
on non-windows because this wrapper was only active for win32 (thx Rubidium)
2007-02-20(svn r8821) -Regression: Unable to browse directories on *nix if the ↵Darkvater
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.
2007-02-20(svn r8820) -Codechange (r8807, r8806): Remove the unneeded calloc/free ↵Darkvater
allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron.
2007-02-18(svn r8806) -Codechange (r7582): Remove a duplicate append of static GRF's ↵Darkvater
when loading the game and hide the intrinsics of adding elements to the GRFConfig list by using an AppendToGRFConfigList function.
2007-01-21(svn r8316) -Codechange: move the GRF ID and MD5 checksum from GRFConfig to ↵rubidium
GRFIdentifier so it can be reused.
2007-01-16(svn r8165) -Revert r8107 and show the MD5SUM of the *REPLACEMENT* grf file, ↵Darkvater
NOT the original one. Reason for this is that this md5sum is saved, and otherwise a wrong md5sum would be stored in a savegame.
2007-01-14(svn r8135) -Fix (r7582): Don't assert on duplicate non-static grfs when ↵Darkvater
removing duplicates as the PEBKAC effect can result in the user adding the same grf's in the config file.
2007-01-13(svn r8111) -Fix r8106: silence warningsglx
2007-01-13(svn r8107) -Codechange (r8106): Show the MD5SUM of the original GRF (saved ↵Darkvater
in savegame) instead of that of the replacement so a user can still go hunt for the original GRF if needed.
2007-01-13(svn r8106) -Feature/Fix: Add the ability to load savegames when you don't ↵Darkvater
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.
2007-01-13(svn r8105) -Codechange: Change FindGRFConfig so that if md5sum parameter is ↵Darkvater
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
2007-01-13(svn r8093) -Codechange: Add a function to get a string representation of an ↵Darkvater
MD5SUM and use it.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)