summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
AgeCommit message (Collapse)Author
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.
2008-01-25(svn r11981) -Fix [FS#1698]: Use unicode glyph mapping to fix up ↵peter1138
missing/shuffled sprites in original data files instead of shuffling or skipping sprites directly. Some required glyphs were not loaded. -Fix: Large capital U with grave (Ù) along with some other glyphs are broken in the original data files, so do no display them.
2008-01-22(svn r11942) -Codechange: Merge chars.grf into openttd[d|w].grf using action ↵peter1138
12. Remove obsolete tables used for index mapping.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
2007-12-25(svn r11695) -Codechange: Converted the md5 algorithm to OOPskidd13
-Codechange: Adapt the md5 algorithm to the OpenTTD source
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
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-07(svn r11391) -Change: print all error messages related to missing/corrupted ↵rubidium
files in one message including the location where they can get said missing/corrupted files.
2007-10-29(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled ↵rubidium
gracefully causing crashes and such.
2007-10-27(svn r11350) -Change: add missing elrail sprites for some rail build ↵rubidium
buttons/cursors. Sprites by skidd13.
2007-10-22(svn r11339) -Add: autoroad; same as autorail, but for road and trams and ↵rubidium
only on X and Y direction. Patch by Octopussy and skidd13.
2007-10-20(svn r11321) -Codechange: add support to load different graphics for ↵rubidium
halftile slopes using a NewGRF. Patch by frosch.
2007-10-20(svn r11316) -Codechange: add support for the half-tile (selection) graphics.rubidium
2007-09-19(svn r11128) -Fix: a lot of graphical glitches by changing some bounding ↵rubidium
boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
2007-09-16(svn r11119) -Codechange: analyze .tar files upon loading, remembering their ↵truelight
files and offsets, which speeds up .tar handling with a big factor -Fix: several win32 .tar support problems -Fix: better checking of .tar versions and other minor things -Codechange: don't call fclose() but FioFClose to close a file
2007-09-13(svn r11099) -Codechange: allow on opening of a file via FioFOpenFile to ↵truelight
request the size of the file, so we can keep that in mind
2007-06-16(svn r10170) -Codechange: remove some duplication of code.rubidium
2007-06-14(svn r10157) -Fix: use as indentified for PNGs, the place of the image as it ↵truelight
was in the grf, not the internal SpriteID