Commit Graph

14 Commits

Author SHA1 Message Date
Darkvater
04628a1979 (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.
2006-12-26 17:36:18 +00:00
rubidium
acb4f49de0 (svn r7551) -Fix (r7523): segmentation fault on showing NewGRF settings of a network game. 2006-12-23 09:06:37 +00:00
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.
2006-12-21 10:09:43 +00:00
rubidium
0f06c40be7 (svn r7520) -Fix(r7348): memleak due to unconditionally overwriting the filename, name and info of a GRFConfig in IsGoodGRFConfigList. 2006-12-20 23:44:39 +00:00
Darkvater
4b1fb7ff61 (svn r7518) -Codechange: more NULL pointer resets after free. 2006-12-20 21:17:33 +00:00
Darkvater
d849b8f66b (svn r7517) -Codechange: Set pointers to NULL when freeing the newgrf config variables and add the proper const to CopyGRFConfigList 2006-12-20 20:43:52 +00:00
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.
2006-12-18 12:26:55 +00:00
peter1138
107656f9c9 (svn r7495) -Fix (r7354): [NewGRF] Deactivate the target GRF, not the current GRF. 2006-12-14 15:14:29 +00:00
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. 2006-12-12 19:38:41 +00:00
peter1138
f27cc51674 (svn r7464) -Codechange: move BuildParamList from newgrf_gui to newgrf_config and
prefix with GRF.
2006-12-10 11:29:14 +00:00
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)
2006-12-09 10:56:12 +00:00
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. 2006-12-04 13:45:20 +00:00
peter1138
a1f5d2078f (svn r7349) -Fix (r7348): Stripping data path didn't work for absolute paths. 2006-12-04 10:44:17 +00:00
peter1138
3b6d2ed064 (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 2006-12-04 08:30:04 +00:00