Commit Graph

498 Commits (f0ad5fd7493b1c8de65e2e1e5ce2d4689172e28f)

Author SHA1 Message Date
frosch f60a437d36 (svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself. 15 years ago
rubidium 5d685f7195 (svn r18192) -Codechange: make the music window RTL aware 15 years ago
rubidium 7aec375ce6 (svn r18181) -Add: the concept of zero filled numbers to strgen 15 years ago
rubidium b2d7edddfa (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 15 years ago
frosch d6e65fc173 (svn r18008) -Codechange: Rename NUM_PRICES to PR_END, and use the Price enum some more. 15 years ago
frosch 040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago
rubidium 9fc2e8d269 (svn r17971) -Codechange: make the code of the toolbar more uniform; give the switch bar a tooltip and unify the naming of sprites. 15 years ago
rubidium 95bcee3fde (svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/ 15 years ago
rubidium d5f168ce27 (svn r17902) -Fix: make the plane speed setting unchangeable in network games because it can be read by NewGRFs on game load and thus if it changes cause desyncs 15 years ago
rubidium e87f2ece70 (svn r17900) -Fix (r2497): ExtraPaletteValues' tables were all a factor 3 too big
-Codechange: replace some magic numbers related to palette animation with constants
15 years ago
rubidium f656dd4cf3 (svn r17893) -Feature [FS#2633]: make it possible to disable background saving, only via the config file/in game console though 15 years ago
frosch 76ff3aaf8f (svn r17758) -Revert (r17208): Use assert_compile() if you cannot count.
-Fix (r7326): Powernaut Helicopter got wrong 'load amount'.
-Fix (r2639): Call the Evil by its name.
15 years ago
smatz fa937901cb (svn r17701) -Codechange: don't start line with a space if it's not inside comment 15 years ago
rubidium 3bcec1e931 (svn r17651) -Fix [FS#3238] (r17644): crashes when commands related to company settings where done 15 years ago
rubidium a8709a5e6b (svn r17646) -Fix (r17644): GCC 4.4/4.5 compile failure 15 years ago
rubidium 27ef5b3255 (svn r17644) -Fix [FS#3219]: some inconsistencies with the difficulty settings in the scenario editor. Also re-enable changing some difficulty settings (e.g. max loan) in the scenario editor. 15 years ago
smatz a9d0dde464 (svn r17597) -Codechange: rename namegen* to townname* 15 years ago
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium aeb59f8e19 (svn r17488) -Feature [FS#2339]: add the date to all logging in the (real, not in-game) console if show_date_in_console is set. For dedicated server binaries the default is 'on', for the rest it is 'off'. 15 years ago
smatz 4c342c6f76 (svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or icc >= 11.0 15 years ago
yexo d384908d56 (svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names 15 years ago
rubidium f660dd7109 (svn r17446) -Codechange: rename BUILD with BUY for strings that are about building (in the future buying) vehicles. 15 years ago
frosch d7bf8b74c7 (svn r17435) -Codechange: Move _cargo_payment_rates[] to CargoSpec::current_payment. 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
frosch 51b7f4d0ff (svn r17211) -Cleanup: Remove unused RailVehicleInfo::ai_rank. 15 years ago
frosch 0ddf9c86e1 (svn r17209) -Codechange: Move cargo_type from (Rail|Road|Ship)VehicleInfo to EngineInfo. 15 years ago
frosch 8a2dd6907f (svn r17208) -Cleanup: Remove never accessed EngineInfo for engine 255. 15 years ago
smatz 1f2e0d3cfe (svn r17157) -Add: localised decimal separator 15 years ago
rubidium 93493827b6 (svn r17139) -Change: add the concept of sound sets 15 years ago
rubidium cdb969e164 (svn r17133) -Codechange: generalise the code that searches for base graphics 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
frosch 29d4316064 (svn r17037) -Fix (r17036): 'Polygonal Capabilities' are a core feature of windows. 15 years ago
frosch 8b50754b19 (svn r17036) -Codechange: Split price bases from economy.cpp to table/pricebase.h. 15 years ago
rubidium 37cd0ef443 (svn r16949) -Codechange: unify the way the DisplayOption enums are written 15 years ago
rubidium 01eabc5f4c (svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it. 15 years ago
rubidium 39e6dbd5e3 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
rubidium a78751ee9a (svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations 15 years ago
rubidium 0a1b4912ef (svn r16811) -Change: introduce a plural 'rule' for Korean 15 years ago
smatz 72bee4ad2d (svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made 15 years ago
smatz 721a0b0608 (svn r16628) -Codechange: remove one gcc2 hack 15 years ago
rubidium 0704883074 (svn r16622) -Fix: {CARGO} only consumes 1 argument 15 years ago
yexo 679ffee940 (svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
15 years ago
smatz d65963a48f (svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo) 15 years ago
yexo 7d4e41c977 (svn r16568) -Codechange: rename all arrays with airport-tile sprites 15 years ago
smatz d091c7d80f (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. 15 years ago
yexo f044ad6f80 (svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them. 15 years ago
yexo 68042a6dde (svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting 15 years ago
yexo 7eb9ad0415 (svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies. 15 years ago
rubidium 8df6765823 (svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant. 15 years ago
yexo d489f93473 (svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct 15 years ago
rubidium 8a8ec3001a (svn r16296) -Codechange: silence some ICC warnings 15 years ago
rubidium 3c6ad988fb (svn r16145) -Add: '-export-pragmas' to strgen so external tools can (hopefully) automatically be updated to support new pragmas 15 years ago
rubidium ad7beef9fb (svn r16131) -Fix (r16129): some compile warnings on some compilers 15 years ago
rubidium ca04dc1916 (svn r16129) -Feature-ish: configurable digit group separator per language with user override. 15 years ago
rubidium 79df89e5ec (svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium f341382e73 (svn r16116) -Fix (r16115): note to self: copy the right subversion config file from 'the other' computer otherwise it won't do what you expect it to do, like automatically setting svn:eol-style and svn:keywords. 15 years ago
rubidium 26b0f71a97 (svn r16115) -Change: make strgen able to 'export' the important command and plural information so external tools can easily get that information instead of needing manual updating 15 years ago
frosch 5b636b9fc3 (svn r16090) -Fix: s/Slovakish/Slovak/ (unimatrix) 15 years ago
rubidium f31da17fb5 (svn r16041) -Fix [FS#774]: the currency abbreviation for the Romanian Leu is now RON. 15 years ago
rubidium 4c707c7414 (svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station. 15 years ago
rubidium 1c9b299ed1 (svn r16028) -Fix [FS#2826]: storing/loading some currencies failed due to inconsistent "tables".
-Codechange: unduplicate settings "tables" that might be made inconsistent in the future (to prevent other cases like FS#2826).
15 years ago
rubidium 8cd7def31c (svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses] 15 years ago
rubidium fe42ae8ad4 (svn r16000) -Feature: IPv6 support 15 years ago
peter1138 3b748ec62f (svn r15848) -Feature: Add autoclean_novehicles setting which will, when autoclean_companies is true, remove any company with no vehicles and no active client after autoclean_novehciles-months. 15 years ago
yexo 8517899d37 (svn r15798) -Fix (r15795): gcc doesn't like static functions that are not declared static. 16 years ago
yexo 790af95126 (svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :) 16 years ago
glx 6d9b2ac76a (svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them 16 years ago
rubidium 1ba5811024 (svn r15760) -Codechange [FS#2704]: support that the resize box is at the left side of the window too (based on work by Alberth) 16 years ago
smatz 2168f2f4b9 (svn r15727) -Codechange: apply coding style to namegen arrays
-Fix (r1307): missing comma in _name_original_english_4
16 years ago
smatz e0fe28fdc9 (svn r15726) -Codechange: unify coding style for const pointers 16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium 332846e9e2 (svn r15717) -Cleanup: apply some documentation coding style upon the stuff in table/ 16 years ago
rubidium f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
rubidium 8976465c69 (svn r15560) -Fix: typos in Spanish town names (Erregerre) 16 years ago
frosch 8eb906dda9 (svn r15534) -Codechange: Rename some variables. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium a7693c6059 (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago
peter1138 793eabf61e (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 16 years ago
rubidium f30961b5ab (svn r15351) -Fix (r15350): gcc compile failure 16 years ago
belugas b53add9025 (svn r15350) -Codechange: Create a spec array to hold the data definitions of unmovables objects.
Note that this is the very basic spec, it will be populated a bit more, later.
16 years ago
peter1138 4b30614f72 (svn r15321) -Codechange: Load road vehicle 'realistic' acceleration properties from NewGRF, and supply defaults as used by TTDPatch. These values are not yet used. 16 years ago
peter1138 4546a29729 (svn r15271) -Codechange: Use offsets for drawing elrail wires & pylons instead of absolute sprite IDs. 16 years ago
smatz 3126914f36 (svn r15223) -Codechange: move GetOldTownName to oldloader_sl.cpp as it is specific to loading of TTO/TTD savegames 16 years ago
rubidium eff693d2e9 (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 16 years ago
smatz 96529b2f0c (svn r15037) -Cleanup: remove unused file src/table/ai_rail.h 16 years ago
rubidium 7642fd7b34 (svn r14969) -Codechange: make drawing trees possible (Alberth) 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium 054787f082 (svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces 16 years ago
rubidium 761a3037c3 (svn r14791) -Add: the ability to make ISO dates with the string system (PhilSophus) 16 years ago
rubidium 3ee482ca1b (svn r14461) -Document: add some doxygen comments (Albert) 16 years ago
rubidium 96156a8ab1 (svn r14423) -Codechange: also do r14221 for the strings. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium 0f56f52080 (svn r14368) -Fix [FS#1852]: trams jumping when reversing on a single trambit (like caused during road construction reworks) or when (manually) reversing in a corner. 16 years ago
rubidium feb15bb421 (svn r14321) -Add: support for newgrfs printing bytes/words/dwords as hexadecimals. 16 years ago
frosch 7a13b29190 (svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff. 16 years ago
rubidium 9ca1972e01 (svn r14229) -Feature: allow overriding the palette of the base GRFs. This 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. 16 years ago
rubidium 915a09e4c6 (svn r14197) -Codechange: rework (original) base graphics determination 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.
16 years ago
peter1138 2ea575e36c (svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct. 16 years ago
peter1138 e999f189e6 (svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed. 16 years ago
peter1138 6261063689 (svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs. 16 years ago
rubidium 2ced86e7ae (svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette. 16 years ago
rubidium 07c20252c3 (svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs. 16 years ago
peter1138 1de6c87cdd (svn r14144) -Fix (r8826): Incorrect cargo weights 16 years ago
belugas 15d8d1d74b (svn r14123) -Codechange: a few magical number to sprite name conversions 16 years ago
belugas ba3d49df40 (svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array. 16 years ago
peter1138 fc442ce9af (svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi) 16 years ago
belugas 754c825b2c (svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table 16 years ago
rubidium b3656c78ad (svn r13938) -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc) 16 years ago
rubidium 019a519446 (svn r13910) -Document: string drawing related functions and types (Alberth) 16 years ago
frosch d54d8bf295 (svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific. 16 years ago
rubidium 5a94972c2d (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
16 years ago
frosch cfdc710104 (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. 16 years ago
smatz 5259d13da7 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 16 years ago
rubidium ecbf3bd0de (svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h. 16 years ago
skidd13 a7348eb7a0 (svn r13490) -Add: a seperate icon for aqueducts 16 years ago
rubidium 7ccf05ff35 (svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future. 16 years ago
rubidium ee843728bf (svn r13464) -Codechange: support NewGRF Action 0x05, type 12. 16 years ago
peter1138 0a41936df8 (svn r13388) -Codechange: Remove "my invented flag for something that is a wagon" 16 years ago
belugas 0cf79d70d0 (svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date 16 years ago
rubidium fe9ce6eac4 (svn r13339) -Feature: splitting of the main toolbar when the resolution becomes very low so the buttons are still visible and useable. Patch by Dominik. 16 years ago
smatz 8841f3be40 (svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes 16 years ago
peter1138 839070028e (svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly. 16 years ago
peter1138 edc756697e (svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct. 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
peter1138 45034bc522 (svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist. 16 years ago
rubidium 6dc210b171 (svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory. 16 years ago
peter1138 d577b0504a (svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly. 16 years ago
smatz fcf4a7067d (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 16 years ago
belugas a84a913f3e (svn r12535) -Fix: A little typo and 4 omissions on bridge sprites. 16 years ago
rubidium 6db0edda7c (svn r12447) -Add: company colours to hangars and road depots; train depots already have them. 17 years ago
rubidium a606fe9610 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 17 years ago
glx 15cd2931f3 (svn r12407) -Add [FS#1866]: more language flags for servers 17 years ago
glx 457acecda5 (svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, toys and bubbles in total cargo tab 17 years ago
glx 7fe1703170 (svn r12360) -Fix: openttdd.grf was using the wrong colours for glyphs due to a grfcodec bug (fixed in grfcodec 0.9.10 r1837) 17 years ago
belugas 37babfaad0 (svn r12328) -Fix(r3447): Wrong Y pillar specified for girder with arch bridge. Spotted and fixed by a lot of people ;) 17 years ago
belugas 5a0ebacc54 (svn r12289) -Fix(r12288)[FS#1808]: Wrong bridge head table associated 17 years ago
belugas 90595cc83d (svn r12288) -Fix(r12287): forgot to include two sprite renames out of consistency.
And obviously forgot to compile before committing, as the array rename would have been evident.
17 years ago
belugas 30b0e31f15 (svn r12287) -Codechange: Give meaning to two other bridges sprites arrays.
A bit of re-indenting too
17 years ago
belugas 2f8e2743d7 (svn r12272) -Codechange: A bit of code style fixes (tabs instead of spaces), one space too many before macro definition and rename marco MB (MakeBridge) for MBR(MakeBRidge) 17 years ago
belugas ed6bfe4964 (svn r12263) -Codechange: Give meaning to the concrete bridge sprites arrays.
Add macro MR (PALETTE_TO_STRUCT_RED) for easier viewing.
Still more to come.
17 years ago
belugas adb1507e4e (svn r12262) -Codechange: Give meaning to the wooden bridge sprites arrays.
Add macro MN for easier viewing.
More to come.
17 years ago
peter1138 f6e4dc4d8c (svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it. 17 years ago
belugas 6ff5a8a29f (svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching
-Codechange: Replace two magic numbers with according sprite names
17 years ago
frosch a13899ee8e (svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID 17 years ago
frosch ae996a270b (svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID 17 years ago
frosch 03315e88e3 (svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land. 17 years ago
frosch 4f394c19e2 (svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land. 17 years ago
belugas f3adf67a7b (svn r12145) -Codechange: includes should be at the top of the source file
-Codechange: undefine a defined macro once work is finished, just in case
17 years ago
peter1138 32691590fb (svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially. 17 years ago
belugas d465b23ee2 (svn r12118) -Codechange: Put the two descriptions of bridges in an array instead of two single variables, following the transport type it represents 17 years ago
belugas 6a717aa49b (svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used. 17 years ago
belugas 70241f804b (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 0ee48fc6d3 (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 6e761a18d6 (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 1268a70466 (svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains. 17 years ago
peter1138 af2429f8e0 (svn r12002) -Cleanup (r11981): Remove obsolete code to skip sprites from indexed GRFs. 17 years ago
peter1138 e37b88ebfc (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 d213987a13 (svn r11949) -Codechange: add river icon and cursor, drawn by skidd13. 17 years ago
peter1138 5e4f4bcdc5 (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 fcee6dad93 (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 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium 72c9b35b11 (svn r11827) -Codechange: do not include enum_type.hpp unnecessary. 17 years ago
peter1138 0f7392bd61 (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 2d2e1e3863 (svn r11800) -Codechange: move some functions to a more logical location + some type safety. 17 years ago
peter1138 323f6e461a (svn r11791) -Cleanup: move railtype data into table/, like other data files. 17 years ago
peter1138 0ae26a0312 (svn r11789) -Codechange: coding style for global variable names 17 years ago
rubidium 64d691bacc (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
peter1138 89fa5dc142 (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 87a68bd80f (svn r11748) -Codechange: Remove magic numbers introduced on r11746 and r11727
-Codechange: A few bad coding style inadvertendly applied too
17 years ago
belugas 361b12eff0 (svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch by BigBB 17 years ago
peter1138 6da72ec156 (svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile layouts; forcing a sprite to always be opaque. 17 years ago
rubidium 445a733eb6 (svn r11719) -Codechange: split sound.h in a header with types and one with functions. 17 years ago
smatz 9060dbdb04 (svn r11689) -Fix: compilation error and most of warnings for gcc 4.3 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
skidd13 b9c3ea6a01 (svn r11550) -Fix (r11547): Updated the data files regarding to r11549 17 years ago
rubidium 99dbfd3866 (svn r11547) -Add: signal selection GUI for the ones that really like to use that over CTRL. Patch by BigBB. 17 years ago
belugas b350debceb (svn r11536) -Codechange: Align some elements of the _tree_layout_sprite table a little better looking for the eye 17 years ago
belugas b98847e489 (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 be0da30572 (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 2245094822 (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 3b9ad8d73f (svn r11447) -Fix(r11433): Wrong offset to the helipad made it look like the autoroad button 17 years ago
skidd13 67c371f3d9 (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 af0616729a (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 dac5cf2c59 (svn r11428) -Fix: wrong string used for candy/sweets units_volume 17 years ago
glx df35372b9b (svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200' 17 years ago
glx 1502373441 (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 153cba2ef3 (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 7131f6262d (svn r11384) -Fix: second and third accepted cargo were inverted in original industry tiles 17 years ago
rubidium 31141bd6bd (svn r11350) -Change: add missing elrail sprites for some rail build buttons/cursors. Sprites by skidd13. 17 years ago
rubidium 3a785b000a (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 1d9542ce2d (svn r11321) -Codechange: add support to load different graphics for halftile slopes using a NewGRF. Patch by frosch. 17 years ago
rubidium fc9ebd257f (svn r11316) -Codechange: add support for the half-tile (selection) graphics. 17 years ago
belugas c5a8f4a857 (svn r11266) -Documentation: Add a few comments. Parts of BigBB's work on shores 17 years ago
rubidium 08c5765c0b (svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F. 17 years ago
rubidium 5c9553d48b (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 556035f448 (svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch. 17 years ago
rubidium 8110b9f517 (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 dd61fd374f (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 34545a381a (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 903a0a08c2 (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 151262c1eb (svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code. 17 years ago
rubidium 9c9fc1a79e (svn r10672) -Codechange: typify some parameters/variables. 17 years ago
belugas 0bc5d4b768 (svn r10670) -Fix: Use proper initialization for grf_prop override member 17 years ago
truelight 1583b5b4db (svn r10659) -Codechange: updated documentation around RAIL_GROUND_FENCE_VERT[12] (frosch)
-Codechange: added documentation and SPR_ enums for track fences (frosch)
17 years ago
rubidium 5b15a202ea (svn r10604) -Fix [FS#1044] (r9866): some industries produced cargo they should not be producing, which would result in the industry offering invalid cargo to a station resulting in crashes.. 17 years ago
rubidium 45b0b7755d (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
rubidium d1ef87f914 (svn r10508) -Codechange: allow customizable animation schemes for industries. 17 years ago
rubidium 00afab46ab (svn r10507) -Fix [FS#1019]: apparantly we used the wrong sprites for some pieces of the tram catenary (even though TTDP did so too). 17 years ago
rubidium b8f658db94 (svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an amount of money and then it might (with a given chance) build a raw industry somewhere on the map. 17 years ago
belugas 0805d0b03e (svn r10424) -Fix : Toy shop seems to be working exactly like power stations, water tower and banks, i.e: they require cargo but do nothing with it.
So, make it an INDUSTRYLIFE_BLACK_HOLE, exactly like the above mentioned industries.
Thanks to glx who spotted, and Csaboka who confirmed it could very well be a CS bug.
17 years ago
rubidium 9534c9795b (svn r10418) -Codechange: implement/resurrect the industry production flags. 17 years ago
peter1138 76874f34bf (svn r10324) -Codechange: reference engine names by index 17 years ago
peter1138 8ee9e8bf1e (svn r10323) -Codechange: reference company name, number and player (president) name
by index
17 years ago
peter1138 97a2f5bf2a (svn r10321) -Codechange: refer to sign text by index 17 years ago
peter1138 3878c55f34 (svn r10314) -Codechange: Refer to vehicle names by index 17 years ago
rubidium f91e05a66b (svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default. 17 years ago
rubidium 6c0ba8e879 (svn r10185) -Codechange: make the bounding boxes of the drive through road stops a little larger so NewGRFs authors have more possibilities when replacing them (minime). 17 years ago
rubidium 76e25154bd (svn r10098) -Codechange: bilbo cared about the performance of the AI with respect to the airport placement, so he rewrote the aircraft handling of the AI; now it can actually make lots of money again :) 17 years ago
rubidium b0421273f2 (svn r10054) -Codechange: make the industries cost modifier look more like the original one, so it's much easier to support industries that use this original format. 17 years ago
glx 9113b5721a (svn r10017) -Add (FS#790): more languages flags for servers 17 years ago
belugas 78151810d7 (svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data 17 years ago
rubidium 294a154bf7 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 17 years ago
belugas c3f8c58157 (svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing" 17 years ago
belugas e4785e0376 (svn r9976) -Codechange: Declare a writable array of specs for industry and industry tiles.
It will be initialized by the original data upon game start.
Rename some enums to be more consistent too
17 years ago
belugas 21b4b14f79 (svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit). 17 years ago
rubidium ed0a6a641e (svn r9972) -Fix (r9969): silence a warning. 17 years ago
belugas e7bbb79ff5 (svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile 17 years ago
rubidium 493494a35d (svn r9961) -Fix (r7182): some file were still in iso8859-15 instead of utf8. 17 years ago
rubidium a6ab2f26a0 (svn r9926) -Fix (r9923): the vehicle should continue on the next tile, not 'finishing' the turn. 17 years ago
rubidium a8d9b4e040 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 17 years ago
belugas a4c6bca9c2 (svn r9906) -Codechange: Add common properties for both industry and industry tiles specs 17 years ago
belugas 2e65d6e4e7 (svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec. 17 years ago
rubidium 8f0f090c51 (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13. 17 years ago
peter1138 96e9044249 (svn r9871) -Fix (r8826): Some cargo costs were wrong for different climates. Multiple definitions of the same cargo type are sometimes required. 17 years ago
rubidium b007a3419c (svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later. 17 years ago
peter1138 f7ccb6e31e (svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement. 17 years ago
maedhros 304075b389 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 17 years ago
maedhros 7b5e3dbb82 (svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files. 17 years ago
rubidium 7cd82bd6f5 (svn r9813) -Fix (r9799): wagons must have EC_STEAM, otherwise they don't show up in the purchase list (mart3p). 17 years ago
rubidium f47e81c900 (svn r9799) -Codechange: separate engine class and engine running cost class (mart3p). 17 years ago
peter1138 e109773636 (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 17 years ago
rubidium 425923c8d2 (svn r9795) -Codechange: enumify the EngineClass. 17 years ago
belugas cd97dec5a7 (svn r9705) -Codechange: Merge some data arrays together, making a bit more logical units.
Calculate with a macro (for _industry_anim_offs_toys) the value of x, instead of doing it at run time.
And give some more descriptive names too...
17 years ago
belugas 31a3208257 (svn r9704) -Documentation: Add comments on industry data macro 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
belugas d1c2c90ad0 (svn r9669) -Documentation: some more doxygen fixes 17 years ago
belugas 0eaa72e324 (svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections... 17 years ago
maedhros 535f0dae1e (svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files. 17 years ago