summaryrefslogtreecommitdiff
path: root/table
AgeCommit message (Collapse)Author
2006-03-01(svn r3707) -Fix: made the generated Finnish town names sound more Finnish (ln-)bjarni
note: <ln-> Bjarni: please go ahead and commit it, i'll take the responsibility if something should go wrong.
2006-02-28(svn r3685) Include a file missed from r3684...peter1138
2006-02-13(svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and ↵peter1138
remove global variable to return data as we can now access this directly.
2006-02-11(svn r3586) - NewGRF: Load callback masks for all vehicle types.peter1138
2006-02-06(svn r3564) Several smaller changes:tron
- Don't treat non-booleans as booleans - Reduce variable scope - Bracing - Use DeMorgan's law to make conditionals easier to read - if cascade -> switch - Replace some magic numbers by symbolic names - Avoid assignments within other statements
2006-02-03(svn r3523) Undefine helper macros after using thempeter1138
2006-02-03(svn r3522) - Wrap the vehicle info tables with a macro to simplify adding ↵peter1138
new fields in the future.
2006-02-01(svn r3510) Fiddle with whitespace and parenthesestron
2006-01-28(svn r3464) - Fix: restate some of the sprites in their old spaces. Was ↵Darkvater
missed out because the patch was so huge. Thanks to Tron for pointing out the command of diff to ignore whitespace-only changes (--diff-cmd diff -x -ub)
2006-01-26(svn r3447) - CodeChange: [ 1360866 ] station_land.h Naming ALL sprites. ↵Darkvater
Also replaced the SPTR_STATUE_GROUND by the more obvious SPR_CONCRETE_GROUND in unmovable_cmd.c. No functional changes except for commenting out PALETTE_RECOLOR_SPRITE in table/sprites.h. (Belugas)
2006-01-07(svn r3388) - NewGRF: Allow train running cost class to differ from engine ↵peter1138
class. Also fix typo in r3384.
2005-12-18(svn r3314) Add 2 times statictron
2005-12-14(svn r3297) Staticisetron
2005-12-11(svn r3289) 32 times statictron
2005-12-02(svn r3254) - Fix: graphical glitch with autorail tool on a certain tile-type.Darkvater
- CodeChange: adhere the global variables in autorail.h to the coding style (eg. start with underscore).
2005-11-16(svn r3196) Use structs instead of magic offsets into arraystron
2005-11-16(svn r3195) Use bitfields instead of explicit shifting/maskingtron
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-06(svn r3148) -NewGRF, Feature: Add support for cargo refitting specification ↵peter1138
by cargo classes.
2005-11-04(svn r3135) Use symbolic names in the tables, which hold the information ↵tron
about accepted goods of industry tiles, instead of magic numbers
2005-11-03(svn r3125) Symbolic names for skiping sprites and the end of the sprite listtron
2005-11-02(svn r3118) Name 3 palette modifiers properly (belugas)tron
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-22(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in ↵tron
comments, excess empty lines, minor other changes nothing spectacular, just some stuff, which piled up
2005-10-19(svn r3064) Replace some numbers by sprite namestron
2005-10-19(svn r3063) -Codechange: Demystified and commented bridge_land.h. Also ↵celestar
removed two arrays that are not referred to
2005-10-18(svn r3059) Use bitfields to encode railtype and climates of engines instead ↵tron
of manual shifting/anding
2005-10-16(svn r3050) Augment the rail vehicle table with symbolic names for dual-head ↵tron
engines and wagons
2005-10-15(svn r3046) Replace some numbers with sprite names and fix a typo in the ↵tron
sprite list
2005-10-14(svn r3040) Don't deduce the cursor sprites when building rails from magic ↵tron
numbers, but fetch them from the central rail info array.
2005-10-13(svn r3037) Don't deduce the sprites for tunnels and level crossings from ↵tron
magic numbers, but fetch them from the central rail info array. This is a preparation step for electrified rails
2005-10-13(svn r3035) Augment the engine table with symbolic names for rail types and ↵tron
climates
2005-09-26(svn r2989) - Make engine/vehicle information tables constant. Duplicate ↵peter1138
them so NewGRF data can be loaded without wiping out the default data.
2005-09-16(svn r2957) - Feature: [ 1263280 ] Danish town names (fey_dk)Darkvater
2005-08-06(svn r2815) Store the currency information in one central place instead of ↵tron
scattering it in several unrelated files
2005-08-01(svn r2781) Fix some of the issues with variables in .h files.ludde
2005-07-31(svn r2764) -Feature: Clone vehiclesbjarni
-This allows a player to clone an excisting vehicle of his own -[fix]: this uncovered an excisting bug in CmdBuildRailVehicle() where depots could build trains of the wrong track type. This is fixed -Thanks to Celestar for drawing the sprites and _luca_ for including them in openttd.grf
2005-07-28(svn r2736) -Codechange: De-mystified GfxDrawFillRect a bit, and used enums ↵celestar
from table/sprites.h. You can now change the number of bits used for sprites and switches in the SpriteSetup enum and the rest should work automagically. Can be used to increase the number of active sprites to 2^19 in case there are no colortables (recolor sprites) in any newgrf. We should possibly move the the colortables to an own list, but how to detect them in a newgrf.
2005-07-25(svn r2704) Remove . from include path again, too much trouble. Also add ↵tron
some #ifdefs and #includes for the Windows build
2005-07-24(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic ↵celestar
numbers by enums. There remains work in gfx.c to move the "transparency" and "recolor" bits around to make space for more sprites. However, 2800 additional sprites can now be loaded. There also remains cleanup and Doxygen work on many of the header files.
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-23(svn r2685) -Codechange: Split the music/sound/video drivers into separate ↵tron
files and move them into subfolders. This results in shorter and hopefully easier to maintain files. Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
2005-07-20(svn r2657) -Codechange: The available railtypes per player are now a ↵celestar
bitmask, so that railtypes do not be in ascending order of appearance. Allows easier implementation or more railtypes
2005-07-19(svn r2639) -Add: Added the vehicle names in table/engines.h so that you ↵celestar
know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
2005-07-08(svn r2534) Small cleanuptron
2005-07-08(svn r2532) - Fix: Don't waste space using an int where a byte would ↵hackykid
suffice. (ludde)
2005-07-04(svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows ↵hackykid
multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal. - Feature: [pbs] Implement autoplacement of pbs blocks, when a block has an entry and an exit pbs signal, covert the entire block to pbs. Can be turned off in the patch settings. - Feature: [pbs] Allow showing of reserved status by making the tracks darker, when the pbs debug level is at least 1.