Commit Graph

310 Commits

Author SHA1 Message Date
rubidium bb9fee178d (svn r16811) -Change: introduce a plural 'rule' for Korean 2009-07-13 14:42:09 +00:00
smatz fa1ad0fd3c (svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made 2009-06-25 15:42:03 +00:00
smatz d703f0c3b5 (svn r16628) -Codechange: remove one gcc2 hack 2009-06-22 23:15:27 +00:00
rubidium 95a1bbdd7d (svn r16622) -Fix: {CARGO} only consumes 1 argument 2009-06-22 19:09:48 +00:00
yexo c7bd6c8d34 (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
2009-06-21 13:26:30 +00:00
smatz 4419366f94 (svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo) 2009-06-20 11:25:39 +00:00
yexo 1e9ddd18b3 (svn r16568) -Codechange: rename all arrays with airport-tile sprites 2009-06-12 18:32:10 +00:00
smatz c03ce4b1c7 (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. 2009-06-01 11:49:46 +00:00
yexo 0d56cfabfa (svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them. 2009-05-26 21:59:49 +00:00
yexo 2a5a8f395c (svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting 2009-05-26 13:29:01 +00:00
yexo a10e5f707a (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. 2009-05-26 11:40:14 +00:00
rubidium 9c24e2bb8f (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. 2009-05-17 17:17:48 +00:00
yexo 31eff1d4c3 (svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct 2009-05-15 23:55:06 +00:00
rubidium d23f616e9f (svn r16296) -Codechange: silence some ICC warnings 2009-05-13 16:52:51 +00:00
rubidium a36ab04d5d (svn r16145) -Add: '-export-pragmas' to strgen so external tools can (hopefully) automatically be updated to support new pragmas 2009-04-25 21:09:42 +00:00
rubidium 81dccf32c1 (svn r16131) -Fix (r16129): some compile warnings on some compilers 2009-04-23 23:30:54 +00:00
rubidium ff05dc8446 (svn r16129) -Feature-ish: configurable digit group separator per language with user override. 2009-04-23 21:05:00 +00:00
rubidium 1f25d9126f (svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo 2009-04-23 14:06:57 +00:00
rubidium 59d45a04d6 (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. 2009-04-21 23:40:56 +00:00
rubidium 6dc4fed75c (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. 2009-04-21 21:41:20 +00:00
rubidium d56d462eca (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 2009-04-21 21:34:26 +00:00
frosch 713da56d9b (svn r16090) -Fix: s/Slovakish/Slovak/ (unimatrix) 2009-04-19 14:11:17 +00:00
rubidium 13d6412c22 (svn r16041) -Fix [FS#774]: the currency abbreviation for the Romanian Leu is now RON. 2009-04-12 17:27:44 +00:00
rubidium 5790293af6 (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. 2009-04-12 14:11:14 +00:00
rubidium ec0635e59b (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).
2009-04-11 15:23:54 +00:00
rubidium 7d3db3ee91 (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] 2009-04-10 12:56:55 +00:00
rubidium c0f9af5607 (svn r16000) -Feature: IPv6 support 2009-04-09 01:22:45 +00:00
peter1138 28d3123dfd (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. 2009-03-25 16:30:33 +00:00
yexo d1fd756755 (svn r15798) -Fix (r15795): gcc doesn't like static functions that are not declared static. 2009-03-21 23:45:46 +00:00
yexo 0f7b9af9fa (svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :) 2009-03-21 23:16:09 +00:00
glx ea2c50281e (svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them 2009-03-18 17:55:47 +00:00
rubidium 35e4dc0f4b (svn r15760) -Codechange [FS#2704]: support that the resize box is at the left side of the window too (based on work by Alberth) 2009-03-18 01:06:48 +00:00
smatz 36dfa1f21e (svn r15727) -Codechange: apply coding style to namegen arrays
-Fix (r1307): missing comma in _name_original_english_4
2009-03-15 16:31:16 +00:00
smatz 8585aa71ed (svn r15726) -Codechange: unify coding style for const pointers 2009-03-15 16:04:39 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium d72273d1f3 (svn r15717) -Cleanup: apply some documentation coding style upon the stuff in table/ 2009-03-15 00:03:27 +00:00
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 2009-03-14 18:16:29 +00:00
rubidium cfc233e2ab (svn r15560) -Fix: typos in Spanish town names (Erregerre) 2009-02-23 20:42:20 +00:00
frosch 15789a76c1 (svn r15534) -Codechange: Rename some variables. 2009-02-20 23:21:04 +00:00
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
rubidium 8dae160d0f (svn r15425) -Codechange: some color->colour changes and type safety. 2009-02-09 02:09:47 +00:00
peter1138 a68e0ee42f (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 2009-02-08 18:11:06 +00:00
rubidium 9d94c8f369 (svn r15351) -Fix (r15350): gcc compile failure 2009-02-05 08:10:59 +00:00
belugas bf82545b4a (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.
2009-02-05 03:41:42 +00:00
peter1138 5e6e4417a5 (svn r15321) -Codechange: Load road vehicle 'realistic' acceleration properties from NewGRF, and supply defaults as used by TTDPatch. These values are not yet used. 2009-02-02 21:52:34 +00:00
peter1138 c4ccf1a28d (svn r15271) -Codechange: Use offsets for drawing elrail wires & pylons instead of absolute sprite IDs. 2009-01-25 19:27:13 +00:00
smatz 042d7800d0 (svn r15223) -Codechange: move GetOldTownName to oldloader_sl.cpp as it is specific to loading of TTO/TTD savegames 2009-01-23 13:36:12 +00:00
rubidium b1a33a494f (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 2009-01-16 12:59:47 +00:00
smatz 4a5044e61a (svn r15037) -Cleanup: remove unused file src/table/ai_rail.h 2009-01-12 19:26:21 +00:00
rubidium 8ad56c4229 (svn r14969) -Codechange: make drawing trees possible (Alberth) 2009-01-10 17:13:41 +00:00
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
rubidium c08f520acf (svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces 2009-01-09 22:48:57 +00:00
rubidium aff7feb767 (svn r14791) -Add: the ability to make ISO dates with the string system (PhilSophus) 2009-01-03 00:56:16 +00:00
rubidium f1f5b248c2 (svn r14461) -Document: add some doxygen comments (Albert) 2008-10-13 03:26:48 +00:00
rubidium c9a82ac3e7 (svn r14423) -Codechange: also do r14221 for the strings. 2008-09-30 21:18:28 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
rubidium cccd1a8739 (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. 2008-09-21 11:26:50 +00:00
rubidium 6ce4fe40f7 (svn r14321) -Add: support for newgrfs printing bytes/words/dwords as hexadecimals. 2008-09-14 14:31:37 +00:00
frosch 3ce1a5672e (svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff. 2008-09-02 20:01:18 +00:00
rubidium fc216aeeb8 (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. 2008-09-02 18:45:15 +00:00
rubidium c3a9653c89 (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.
2008-08-31 08:46:43 +00:00
peter1138 b45ced35ee (svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct. 2008-08-24 23:10:23 +00:00
peter1138 2f80a277eb (svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed. 2008-08-24 23:00:11 +00:00
peter1138 ff07598ce2 (svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs. 2008-08-24 21:31:24 +00:00
rubidium 8c73b5c42d (svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette. 2008-08-24 08:41:38 +00:00
rubidium 200f405706 (svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs. 2008-08-23 20:16:54 +00:00
peter1138 2e28978264 (svn r14144) -Fix (r8826): Incorrect cargo weights 2008-08-23 18:05:52 +00:00
belugas f520a702e0 (svn r14123) -Codechange: a few magical number to sprite name conversions 2008-08-21 19:12:24 +00:00
belugas 7f5173bf94 (svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array. 2008-08-11 18:30:52 +00:00
peter1138 8531a1f430 (svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi) 2008-08-09 18:46:51 +00:00
belugas d21f73658c (svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table 2008-08-04 17:12:23 +00:00
rubidium 908591b40a (svn r13938) -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc) 2008-08-02 22:50:22 +00:00
rubidium c5a4e90338 (svn r13910) -Document: string drawing related functions and types (Alberth) 2008-08-01 09:34:34 +00:00
frosch 93d0ca8731 (svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific. 2008-07-30 18:23:12 +00:00
rubidium ab234cf90c (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'.
2008-07-17 13:47:04 +00:00
frosch ecc5d648df (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. 2008-06-28 15:44:24 +00:00
smatz 7a7ff65ac5 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 2008-06-18 21:19:04 +00:00
rubidium 005d612227 (svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h. 2008-06-12 18:51:35 +00:00
skidd13 d99aef2f71 (svn r13490) -Add: a seperate icon for aqueducts 2008-06-12 16:30:41 +00:00
rubidium 3d5fe9bfc1 (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. 2008-06-11 14:55:02 +00:00
rubidium 7f6382badd (svn r13464) -Codechange: support NewGRF Action 0x05, type 12. 2008-06-11 13:54:01 +00:00
peter1138 261018fc8c (svn r13388) -Codechange: Remove "my invented flag for something that is a wagon" 2008-06-05 12:08:20 +00:00
belugas 4b4e73c1dd (svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date 2008-06-03 03:06:16 +00:00
rubidium 933c9df335 (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. 2008-05-29 23:33:37 +00:00
smatz 3866effe71 (svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes 2008-05-23 16:08:58 +00:00
peter1138 eb112946a7 (svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly. 2008-05-13 20:39:57 +00:00
peter1138 486172e07f (svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct. 2008-05-09 07:47:30 +00:00
rubidium d03994098b (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. 2008-05-06 15:11:33 +00:00
peter1138 a00371c8db (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. 2008-04-29 21:31:29 +00:00
rubidium 00f0bf98ee (svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory. 2008-04-17 11:47:22 +00:00
peter1138 310170364f (svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly. 2008-04-08 07:19:29 +00:00
smatz febc5150c9 (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 2008-04-03 19:55:40 +00:00
belugas 81b6125ac2 (svn r12535) -Fix: A little typo and 4 omissions on bridge sprites. 2008-04-01 17:21:24 +00:00
rubidium 692ac96625 (svn r12447) -Add: company colours to hangars and road depots; train depots already have them. 2008-03-27 15:59:56 +00:00
rubidium 327e870962 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 2008-03-26 10:08:17 +00:00
glx fed6a25799 (svn r12407) -Add [FS#1866]: more language flags for servers 2008-03-24 20:30:08 +00:00
glx faa1483ee6 (svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, toys and bubbles in total cargo tab 2008-03-18 16:57:05 +00:00
glx 7056428d15 (svn r12360) -Fix: openttdd.grf was using the wrong colours for glyphs due to a grfcodec bug (fixed in grfcodec 0.9.10 r1837) 2008-03-12 01:49:21 +00:00
belugas 56ed79e448 (svn r12328) -Fix(r3447): Wrong Y pillar specified for girder with arch bridge. Spotted and fixed by a lot of people ;) 2008-03-03 18:20:42 +00:00
belugas 46a3508f50 (svn r12289) -Fix(r12288)[FS#1808]: Wrong bridge head table associated 2008-02-27 14:55:16 +00:00