summaryrefslogtreecommitdiff
path: root/gfxinit.c
AgeCommit message (Collapse)Author
2006-10-10(svn r6717) -Codechange: move OPENTTD_SPRITES_COUNT into table/sprites.h to ↵Darkvater
use it from there.
2006-09-30(svn r6593) -Fix: [depot window] added sprites to the buttons, that lacked onebjarni
Also changed the sprites on some of the other buttons to make the buttons consistent Credits for this: Drawing: skidd13 (first sprite copied/heavily inspired by Bot_40) Grfencoding: peter1138 Coding to apply the new sprites: peter1138 (modified by me) Ideas: Born Acorn MeusH ValHallA|SW XeryusTC Sorry if I forgot to mention somebody
2006-08-31(svn r6257) Use memcmp() to check the MD5 sum instead of using a home brewed ↵tron
loop
2006-08-01(svn r5697) -Fix [r5684]: tolower() was undefined for certain architectures, ↵Darkvater
strangly VS2003 didn't complain, VS2005 did. Thanks glx
2006-07-31(svn r5684) - Codechange: create an strtolower() function that uses ↵Darkvater
tolower() on a whole string and apply it in the places this was used.
2006-06-23(svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.richk
Commuter airport: Small. 5x4. 3 terminals, 2 helipads. Intercontinental: massive. 9x11. 8 terminals, 2 helipads, 4 runways. Helidepot: a small heliport with a depot for helis only. Helistation: a large heliport with 3 helipads and a depot.
2006-03-29(svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of ↵celestar
code and proofreading, thanks to peter1138 for another lot of code and ideas.
2006-03-18(svn r3940) - FS#56 [Crash] Missing glyph(s) in big-font. Added several ↵Darkvater
missing glyphs for the big font.
2006-03-01(svn r3717) - [2cc] Add 2cc colour maps and use for newgrf engines requiring ↵peter1138
them. Currently the second colour is fixed to be the player's colour.
2005-11-14(svn r3181) -Bracingtron
-Indentation -Whitespace -DeMorgan's Law -Test with NULL or 0 for non-booleans -'\0' instead of 0 for chars -Remove redundantly redundant comments (like DoFoo(); // Do foo) -Join multiple short lines with a single statement -Split single lines with multiple statements -Avoid assignments in if
2005-11-03(svn r3125) Symbolic names for skiping sprites and the end of the sprite listtron
2005-11-01(svn r3114) Close two gaps in the sprite array when loading openttd.grf. ↵tron
That's seven more free sprite slots, yay!
2005-10-31(svn r3108) Confine the use of SPR_OPENTTD_BASE to table/sprites.h by ↵tron
adding/using some sprite enums
2005-10-29(svn r3102) - Fix (regression): Newly added sprite had problems when ↵Darkvater
newgrf's where loaded. Thanks Tron for explaining what the problem was and how it should be solved.
2005-10-28(svn r3096) - Feature: 'HOME' icon to saveload dialogs that jumps to the ↵Darkvater
default save/load directory based on the dialog (added icon to openttd.grf, introduced FIOS_TYPE_DIRECT that allows arbitrary directory jumping). - Fix: on Win32 capitalize the drive-letter in the saveload dialog windows when it is first opened.
2005-10-14(svn r3039) Revert accidently commited changes from last committron
2005-10-14(svn r3038) Reorder the loading of standard graphics files to reflect a bit ↵tron
where in the sprite array the sprites end up and assert, that the indices are equal to the corresponding sprite base enums, to guard against typos.
2005-09-10(svn r2937) Add sprites for {, |, } and ~tron
2005-09-10(svn r2934) Remove the {STATIONFEATURES} tag from the tiny station label - ↵tron
there are no tiny transport marker sprites
2005-09-10(svn r2933) Implement the non-breaking spacetron
2005-08-20(svn r2879) Major step twoards ISO-8859-15tron
Add several missing chars: - Š/š (S with hacek, all sizes) - Ž/ž (Z with hacek, all sizes) - Œ/œ (OE ligature, all sizes) - Ð/ð (eth, large font was missing) - Þ/þ (thorn, large font was missing) - º (male ordinal sign, all sizes) Also move Ÿ (Y with umlaut, all sizes) to the correct position in the charset To add some chars it was necessary to shuffle some OTTD specific chars (arrows, transport type markers) around
2005-08-15(svn r2868) Change the way NewGRFs are loaded: The loading process i no ↵tron
longer bolted onto the normal graphics loading. This has two major advantages: - Removal of a maze of global variables and distinction of cases from the sprite loading routines, which weren't directly related to the loading process in the first place - NewGRF actions no longer occupy sprite slots - for example when using DBSetXL this saves about 2000 slots! (you could regard this as a bug fix) If i didn't make a major mistake this change should have no negative effect on NewGRF support, please test!
2005-08-14(svn r2866) Move all functions and tables which aren't directly involved in ↵tron
managing the sprite heap to a new file gfxinit.c. This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier.