Commit Graph

145 Commits (221494bd3fa26c47294424b4c53f28f494a38a53)

Author SHA1 Message Date
belugas 034150c199 (svn r12081) -Codechange: Rename table/roadveh.h to table/roadveh_movment.h
It is more descriptive name and it will not upset the generate script anymore
17 years ago
belugas 3003986e67 (svn r12064) -Codechange : Give grf bridges their own ResetBridges function, and put bridge spec in table/bridge_land.h, where it should be. 17 years ago
belugas 7cf2c83462 (svn r12041) -Codechange: Add the loader and the property for action 00 industries, prop 24, nearby station name.
No assignation yet, no real work either.
17 years ago
peter1138 1cdee354b4 (svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains. 17 years ago
peter1138 1a9b741e43 (svn r12002) -Cleanup (r11981): Remove obsolete code to skip sprites from indexed GRFs. 17 years ago
peter1138 eeeeeb9336 (svn r11981) -Fix [FS#1698]: Use unicode glyph mapping to fix up 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.
17 years ago
peter1138 39f6173401 (svn r11949) -Codechange: add river icon and cursor, drawn by skidd13. 17 years ago
peter1138 30bac58bde (svn r11942) -Codechange: Merge chars.grf into openttd[d|w].grf using action 12. Remove obsolete tables used for index mapping. 17 years ago
rubidium 26c621945d (svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too. 17 years ago
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium a78d73805f (svn r11827) -Codechange: do not include enum_type.hpp unnecessary. 17 years ago
peter1138 ab8382c0db (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium 998d7644f6 (svn r11800) -Codechange: move some functions to a more logical location + some type safety. 17 years ago
peter1138 a27a240b87 (svn r11791) -Cleanup: move railtype data into table/, like other data files. 17 years ago
peter1138 a01fc4c142 (svn r11789) -Codechange: coding style for global variable names 17 years ago
rubidium 0e517fe023 (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
peter1138 6a13067931 (svn r11758) -Fix(ette): Populate 'void' cargo slots (unused slots in temperate and arctic) with default data as per pre-newcargo support. These slots are still disabled by default, but some NewGRFs (erroneously?) expect the default data. 17 years ago
belugas aebcd80088 (svn r11748) -Codechange: Remove magic numbers introduced on r11746 and r11727
-Codechange: A few bad coding style inadvertendly applied too
17 years ago
belugas 8ee1faca6c (svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch by BigBB 17 years ago
peter1138 06d578d07e (svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile layouts; forcing a sprite to always be opaque. 17 years ago
rubidium e5e75bd8f8 (svn r11719) -Codechange: split sound.h in a header with types and one with functions. 17 years ago
smatz 17d1b522bc (svn r11689) -Fix: compilation error and most of warnings for gcc 4.3 17 years ago
rubidium a773d45885 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
skidd13 7be55559b8 (svn r11550) -Fix (r11547): Updated the data files regarding to r11549 17 years ago
rubidium 08ab4e1850 (svn r11547) -Add: signal selection GUI for the ones that really like to use that over CTRL. Patch by BigBB. 17 years ago
belugas 440608a6f0 (svn r11536) -Codechange: Align some elements of the _tree_layout_sprite table a little better looking for the eye 17 years ago
belugas b10eea628d (svn r11534) -Feature(newgrf): Implement property 23h for Industries.
This will add a cost to the removal of an industry using the cheat magic bulldozer.
Note that the removal of regular or newgrf industries without specified removal cost will have no cost applied to.
This is a difference from original spec, where a default base cost is added.
17 years ago
skidd13 9737bf20c0 (svn r11457) -Fix: (r11455) Reenable the accidentaly removed one way roads option
-Change: Enable one way roads like the remove via a toolbar icon
17 years ago
rubidium ef6c4c1cdf (svn r11449) -Fix [FS#1160]: trams could deadlock themselves. As of now trams will turn as roadvehicles do when the player cannot build a tram track piece on the next tile without destroying anything. It will not turn when the player can build the before mentioned track piece on the 'next' tile. 17 years ago
belugas 8b86e9b14d (svn r11447) -Fix(r11433): Wrong offset to the helipad made it look like the autoroad button 17 years ago
skidd13 9b4252bd62 (svn r11446) -Codechange: change the naming of road related code parts to something more descriptive
-Change: invert the two single roads gui buttons, making it consistent with rails toolbar
Based on a patch by Octopussy
17 years ago
rubidium f546de602b (svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of 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.
17 years ago
glx a6a7b905af (svn r11428) -Fix: wrong string used for candy/sweets units_volume 17 years ago
glx 63b36d9330 (svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200' 17 years ago
glx 3e8493c851 (svn r11394) -Fix: default value for input cargo multipliers is 256 even for invalid cargo. Exceptions are temperate banks and oil rigs, default value is 0 for them 17 years ago
rubidium 32e5e8db72 (svn r11391) -Change: print all error messages related to missing/corrupted files in one message including the location where they can get said missing/corrupted files. 17 years ago
glx 1626ff3948 (svn r11384) -Fix: second and third accepted cargo were inverted in original industry tiles 17 years ago
rubidium c0747d26f0 (svn r11350) -Change: add missing elrail sprites for some rail build buttons/cursors. Sprites by skidd13. 17 years ago
rubidium 2c1bfe10ac (svn r11339) -Add: autoroad; same as autorail, but for road and trams and only on X and Y direction. Patch by Octopussy and skidd13. 17 years ago
rubidium fce4c5e2c2 (svn r11321) -Codechange: add support to load different graphics for halftile slopes using a NewGRF. Patch by frosch. 17 years ago
rubidium 5718567d1e (svn r11316) -Codechange: add support for the half-tile (selection) graphics. 17 years ago
belugas e74e187006 (svn r11266) -Documentation: Add a few comments. Parts of BigBB's work on shores 17 years ago
rubidium 240285b8d8 (svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F. 17 years ago
rubidium 7d325672eb (svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch. 17 years ago
rubidium 6f296b9870 (svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch. 17 years ago
rubidium 8daaea0398 (svn r11054) -Fix [FS#944]: mismatch between TTDP's and OTTD's placement of catenary, creating graphical glitches when loading a catenary replacement. Patch by frosch. 17 years ago
belugas 116de48fdf (svn r10961) -Codechange: Flag default substitutes of industry/tiles with a value that cannot be legal.
This avoids the forest of coal mine error in the futur
17 years ago
rubidium c46e445e69 (svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
17 years ago
rubidium d624f66c79 (svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch. 17 years ago
rubidium fe8e297995 (svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code. 17 years ago