Commit Graph

17 Commits (03a07461f2032f59a782c119a7163eaedafbbe78)

Author SHA1 Message Date
Darkvater ba25cf7def (svn r7692) -Fix: OpenTTD didn't compile without network enabled (newgrf sync code) 18 years ago
peter1138 822646b9a9 (svn r7594) -Fix (r7522): GRF config list wasn't cleared when no GRFs should be used. 18 years ago
rubidium 8a812544ec (svn r7582) -Fix (r7490): appending static GRFs to the list of to-be loaded GRF for a game could result in duplicate GRFs in that list, which can cause a segmentation fault while loading the GRFs. 18 years ago
Darkvater 073e0eb3c9 (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
use in debug.h. grfmsg() is now used as a specific debug-function for grf.
18 years ago
rubidium b1cfea6596 (svn r7551) -Fix (r7523): segmentation fault on showing NewGRF settings of a network game. 18 years ago
Darkvater 739e93fd23 (svn r7522) -Codechange: Have CopyGRFConfigList clear the destination list before assigning
values to it. This cuts down on memleaks which could exist when the function was
 not used carefully.
18 years ago
rubidium 52cf13bff6 (svn r7520) -Fix(r7348): memleak due to unconditionally overwriting the filename, name and info of a GRFConfig in IsGoodGRFConfigList. 18 years ago
Darkvater 28042b65ac (svn r7518) -Codechange: more NULL pointer resets after free. 18 years ago
Darkvater 1812bcfc8c (svn r7517) -Codechange: Set pointers to NULL when freeing the newgrf config variables and add the proper const to CopyGRFConfigList 18 years ago
rubidium 32db875d97 (svn r7505) -Feature: show NewGRFs used on a game server, show which NewGRFs you do and do not have.
-Feature: show NewGRF compatability of network games in the Game List window; a green square if you got the same OpenTTD version and have the needed NewGRF, a red square if the version does not match and a yellow square if the version matches, but the client is missing at least one of the NewGRFs.
18 years ago
peter1138 5772da18b2 (svn r7495) -Fix (r7354): [NewGRF] Deactivate the target GRF, not the current GRF. 18 years ago
peter1138 be3e653db3 (svn r7490) -Feature: Load a list of NewGRFs from the config (in the [newgrf-static] section) that should always be loaded. These will also be active during the intro screen, and in multiplayer games. Only "network-safe" NewGRFs are permitted, such as fonts and sprite replacement sets. 18 years ago
peter1138 0d5e3344fb (svn r7464) -Codechange: move BuildParamList from newgrf_gui to newgrf_config and
prefix with GRF.
18 years ago
Darkvater f87c8834e2 (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because
it interferes with OS/2 symbol in libc (psmedley)
18 years ago
peter1138 11474c26d7 (svn r7354) -Codechange: Remove grffile->flags and use grfconfig->flags exclusively. Update action 7/9 now that we know if GRFs are disabled. 18 years ago
peter1138 39e52ca845 (svn r7349) -Fix (r7348): Stripping data path didn't work for absolute paths. 18 years ago
peter1138 bd66cc5756 (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 18 years ago