summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
AgeCommit message (Collapse)Author
2010-02-25(svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make ↵yexo
sure all members are properly initialized
2010-02-25(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of ↵yexo
subclassing it
2010-02-25(svn r19251) -Codechange: add a contructor to GRFError and use it to ↵yexo
allocating errors more uniform. -Fix: some grf error messages didn't free the previous error messages, creating a memory leak
2010-01-15(svn r18813) -Codechange: deduplicate copying a newgrf configyexo
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-05-04(svn r16223) -Fix (r8881): ActionB should use the online parameters from ↵frosch
GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown.
2009-03-13(svn r15701) -Fix [FS#2595]: Blame NewGRFs returning inconsistent ↵frosch
information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing.
2009-01-16(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a ↵peter1138
mask for GRFID checks.
2008-09-03(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs ↵rubidium
in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
2008-07-24(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a ↵smatz
depot (callback 0x11) and give a warning about that
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-02(svn r12537) -Cleanup: comment newgrf_config.h a bitsmatz
2007-12-26(svn r11704) -Codechange: remove another bunch of useless includes.rubidium
2007-11-15(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of ↵rubidium
the box. -Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5. -Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5. Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
2007-11-04(svn r11381) -Fix [FS#1227]: redo the fix in a less breaking wayglx
2007-06-23(svn r10298) -Fix [FS#903]: show the subdirectory below the default data ↵rubidium
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.
2007-06-18(svn r10211) -Feature: [NewGRF] Add support for action 0Fglx
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-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-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-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-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-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-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.