summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
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-22(svn r19212) -Fix: base graphics set with an empty filename in the obg file ↵yexo
caused segfaults
2010-02-22(svn r19206) -Add: concept of fallback base sets, i.e. do not automatically ↵rubidium
load the NoMusic/NoSound sets when there is another set
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-22(svn r18608) -Change: add the concept of music setsrubidium
2009-12-13(svn r18483) -Document [FS#3367]: that OpenGFX/OpenSFX can be used and where ↵rubidium
to find them. Also refer to the readme in some error messages.
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-21(svn r17247) -Change: move '3rd party' MD5 implementation also to the ↵rubidium
3rdparty directory.
2009-08-20(svn r17241) -Change: make a distinction between missing and corrupted data ↵rubidium
files. If (at least) one data file is missing do not consider the set to be useable. Do also no autodetect sets with missing files.
2009-08-20(svn r17238) -Codechange: Clean up CheckExternalFiles a bit and improve the ↵matthijs
error message it outputs. This makes the function return faster in the common case when all files are in order, by not doing another set of MD5 checks.
2009-08-10(svn r17142) -Fix [FS#3103] (r17139): MSVC didn't like some template stuffrubidium
2009-08-09(svn r17139) -Change: add the concept of sound setsrubidium
2009-08-09(svn r17133) -Codechange: generalise the code that searches for base graphicsrubidium
2009-06-10(svn r16548) -Fix (r16538): removing of duplicates of base graphics set ↵smatz
could behave randomly
2009-06-08(svn r16538) -Fix (r16503): when finding duplicate graphics sets favour the ↵rubidium
more complete one
2009-06-03(svn r16507) -Fix (r16503): segfault when deleting non-last graphics setsmatz
2009-06-02(svn r16503) -Fix: base graphics names must be unique, so don't add ↵rubidium
duplicates (even if the versions differ).
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-17(svn r16342) -Feature(tte): Display base graphics description in game ↵frosch
options window.
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-03-12(svn r15694) -Codechange/feature/fix: invert the order in which base ↵rubidium
graphics sets are queried making it fairly unlikely that downloaded graphics sets override the original graphics.
2009-02-14(svn r15476) -Fix [FS#2630]: crash when opening the game options when the ↵rubidium
currently loaded base graphics pack has less than 2 valid graphics files. For example when someone replaces all his/her original base graphics with custom work (but keeps the name) or renames the dos ones to windows or vice versa.
2009-02-07(svn r15394) -Fix (r15389): no new line at end of line warningglx
2009-02-07(svn r15389) -Feature: Add ability to select which base graphics set is used ↵peter1138
from the Game Options window. The change takes effect when the window is closed. This option can only be used from the intro menu, as reloading graphics during a game may cause issues.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-23(svn r15218) -Fix: base graphics detection did mark too much as duplicaterubidium
2009-01-17(svn r15126) -Feature: downloading content from a central server ↵rubidium
(content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
2009-01-16(svn r15110) -Fix: reading the shortname of graphicssets always missed the ↵rubidium
first character.
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-08(svn r14907) -Codechange: Remove 32 character limit from driver/blitter ↵peter1138
selection and parameters.
2008-10-28(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf ↵rubidium
but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
2008-09-04(svn r14245) -Fix: NewGRF configs loaded from the config file would always ↵rubidium
default to the DOS palette instead of the "default" palette.
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-09-02(svn r14229) -Feature: allow overriding the palette of the base GRFs. This ↵rubidium
way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported.
2008-08-31(svn r14208) -Fix (r14197): Crash if no .obg files are found.peter1138
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-31(svn r14197) -Codechange: rework (original) base graphics determination ↵rubidium
methods. This yields in the following: -Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible. -Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics. -Feature: allow people to create their own base graphics easily and without requiring code changes.
2008-08-24(svn r14152) -Fix (r14146): Apple decided to use a name I wanted to use... ↵rubidium
thus making compilation fail on OSX (planetmaker)
2008-08-24(svn r14151) -Codechange: make it possible to choose between the DOS and ↵rubidium
Windows graphics packs while retaining the possibility to override the palette.
2008-08-23(svn r14146) -Codechange: allow palette override in both ways and remove ↵rubidium
some unneeded '(x == 0) ? 0 : 1' constructs.
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
2008-06-01(svn r13351) -Codechange: disable warnings about unused variable for builds ↵smatz
without asserts
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
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-01-28(svn r12002) -Cleanup (r11981): Remove obsolete code to skip sprites from ↵peter1138
indexed GRFs.