Commit Graph

12 Commits (18052668255fddeca2cb52f81a38ca4e8ba28b28)

Author SHA1 Message Date
Darkvater 5cd081b6cd (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 0f06c40be7 (svn r7520) -Fix(r7348): memleak due to unconditionally overwriting the filename, name and info of a GRFConfig in IsGoodGRFConfigList. 18 years ago
Darkvater 4b1fb7ff61 (svn r7518) -Codechange: more NULL pointer resets after free. 18 years ago
Darkvater d849b8f66b (svn r7517) -Codechange: Set pointers to NULL when freeing the newgrf config variables and add the proper const to CopyGRFConfigList 18 years ago
rubidium 78c1aad22c (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 107656f9c9 (svn r7495) -Fix (r7354): [NewGRF] Deactivate the target GRF, not the current GRF. 18 years ago
peter1138 08a494f184 (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 f27cc51674 (svn r7464) -Codechange: move BuildParamList from newgrf_gui to newgrf_config and
prefix with GRF.
18 years ago
Darkvater 1422f6a17a (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 301d392b2c (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 a1f5d2078f (svn r7349) -Fix (r7348): Stripping data path didn't work for absolute paths. 18 years ago
peter1138 3b6d2ed064 (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 18 years ago