Commit Graph

9804 Commits (a65345d7edd92bcb86befa568d676470b276d164)

Author SHA1 Message Date
frosch 67c21f7e01 (svn r20419) -Codechange: Rename dummy_land.cpp to void_cmd.cpp 14 years ago
frosch a56f8ba801 (svn r20418) -Fix [FS#4017](r20125): During world generation the snow-mapbits are not yet available, so test the snowline variable directly (as before). 14 years ago
rubidium 747634a687 (svn r20417) -Fix (r20345) [FS#4018]: the offset stored for objects shouldn't be substracted immediately from the TileIndex as that doesn't quite do the right thing 14 years ago
translators f072c099ee (svn r20416) -Update from WebTranslator v3.0:
finnish - 3 changes by jpx_
german - 1 changes by BRFBlake
italian - 8 changes by lorenzodv
romanian - 2 changes by tonny
14 years ago
alberth 7ad1f5ccef (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 14 years ago
alberth 2fa665114e (svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window. 14 years ago
rubidium 7362ff4409 (svn r20413) -Fix (r20326): some comments got a bit outdated 14 years ago
alberth e1e8e245a0 (svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick. 14 years ago
rubidium 3da3d131c6 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 14 years ago
alberth abc14d8fbf (svn r20410) -Codechange: Move smallmap map-type switching to a function. 14 years ago
rubidium 412bb37f59 (svn r20409) -Codechange: reduce the number of includes needed by newgrf.h 14 years ago
frosch 5f874b90f9 (svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays. 14 years ago
rubidium ef50a89ca5 (svn r20407) -Codechange: make AirportClass use the new generic class 14 years ago
rubidium edbadde301 (svn r20406) -Codechange: make StationClass use the new generic class 14 years ago
rubidium cb4ab6a231 (svn r20405) -Add: generic class for "classes" for NewGRFs, e.g. the Station classes and Airport classes 14 years ago
rubidium 2b645d1b0d (svn r20404) -Codechange: remove the need for StationSpec::allocated 14 years ago
rubidium 2d3ee123af (svn r20402) -Codechange: rename the airport/station class id to something slightly more generic 14 years ago
rubidium 6d6939f844 (svn r20401) -Codechange: let HouseSpec use GRFFileProps 14 years ago
rubidium b6a0806948 (svn r20400) -Codechange: let StationSpec use GRFFilePropsBase 14 years ago
yexo 178f74c31c (svn r20399) -Change: [NoAI] AIIndustry::IsCargoAccepted now returns 3 possible values so AIs can detect a temporaral refusal from an industry to accept some cargo type 14 years ago
rubidium af9d8824bd (svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase 14 years ago
alberth f5d972cade (svn r20397) -Feature: Display industry smallmap colour in the industry chain window. 14 years ago
yexo e80f339086 (svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo 14 years ago
translators 50fe2264ec (svn r20395) -Update from WebTranslator v3.0:
romanian - 126 changes by tonny
russian - 2 changes by Lone_Wolf
serbian - 5 changes by etran
swedish - 1 changes by Zuu
ukrainian - 9 changes by Fixer
14 years ago
yexo 0b4d80ae54 (svn r20394) -Fix [FS#4010]: make the default minimum width for editboxes 10 pixels 14 years ago
alberth 3536357cc6 (svn r20393) -Fix [FS#3993]: Prevent taking over competitors when you'd get too many vehicles. 14 years ago
alberth 422a1ad242 (svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles. 14 years ago
alberth 5cfc029523 (svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed. 14 years ago
alberth e0e66b6ed0 (svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp. 14 years ago
rubidium 90a35d2e5b (svn r20389) [NoAI] -Add: AIOrder::IsVoidOrder to find void "(Invalid Order)" orders.
[NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders.
14 years ago
translators d54f2ba21f (svn r20388) -Update from WebTranslator v3.0:
belarusian - 216 changes by KorneySan, Wowanxm
croatian - 5 changes by VoyagerOne
dutch - 5 changes by Yexo
hungarian - 7 changes by IPG
italian - 5 changes by lorenzodv
korean - 5 changes by junho2813
polish - 5 changes by lion
portuguese - 10 changes by SupSuper
romanian - 11 changes by tonny
russian - 9 changes by KorneySan
spanish - 5 changes by Terkhen
swedish - 9 changes by tool
vietnamese - 4 changes by nglekhoi
14 years ago
alberth 16dfc7a04d (svn r20387) -Fix [FS#4000]: Allow the industry-chain button for non-fundable industries, and disallow for the 'many random industries'. 14 years ago
alberth d9c9ae8fcf (svn r20386) -Fix: Initialize fund-industry buttons when opening window. 14 years ago
alberth 3ca0ed3e82 (svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method. 14 years ago
frosch 01833039bd (svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. changing base graphics, so the cursor does not glitch if it becomes bigger. 14 years ago
translators b2181365b0 (svn r20383) -Update from WebTranslator v3.0:
belarusian - 672 changes by KorneySan, Wowanxm
croatian - 2 changes by VoyagerOne
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 4 changes by dihedral
greek - 2 changes by fumantsu
hungarian - 10 changes by IPG
irish - 4 changes by tem
marathi - 44 changes by amitst
romanian - 77 changes by kkmic, tonny
russian - 6 changes by KorneySan
swedish - 17 changes by Zuu
14 years ago
frosch 1cd34128d6 (svn r20382) -Codechange: Hide default airport layoutname if there is only one layout. 14 years ago
frosch 66dd872bdc (svn r20379) -Codechange: Draw airport preview using company colours. 14 years ago
yexo d00cf48323 (svn r20377) -Feature: [NewGRF] prop 0x0A tile layout for airports 14 years ago
yexo a3a24f4c68 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 14 years ago
yexo f8b7163b34 (svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid 14 years ago
yexo 2e6713ce95 (svn r20374) -Codechange: add persistant storage for airports 14 years ago
yexo 00902294b3 (svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for airport layouts than the default "Layout x" 14 years ago
yexo d6fa76b044 (svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information about an airport in the build gui 14 years ago
yexo 5bacbba9f2 (svn r20371) -Codechange: add general function to call text callbacks for airports 14 years ago
yexo a48dbd7c51 (svn r20370) -Add: [NewGRF] new action 5 block to add airport preview sprites 14 years ago
yexo 3e6f8165d4 (svn r20369) -Feature: preview sprites for airports 14 years ago
yexo 7e4bdbbc9d (svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated 14 years ago
yexo c421b6fef5 (svn r20367) -Codechange; don't use a pointer to access the AirportMovingData of the current position 14 years ago
yexo d2f9b87ccd (svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles 14 years ago
yexo 330c2f979e (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 14 years ago
yexo 6321eb5a00 (svn r20364) -Codechange: add infrastructure for airport callbacks 14 years ago
translators fe6c557705 (svn r20363) -Update from WebTranslator v3.0:
belarusian - 83 changes by Wowanxm
dutch - 2 changes by habell
german - 9 changes by dihedral
italian - 5 changes by lorenzodv
korean - 2 changes by junho2813
spanish - 2 changes by Terkhen
14 years ago
yexo 63951fada6 (svn r20362) -Codechange: use correct parameter type for SetFill in airport gui 14 years ago
terkhen 2339b34021 (svn r20361) -Fix [FS#3989]: Stop vehicle following after zooming out. 14 years ago
rubidium cf88a1bc3b (svn r20360) -Update: move Belarusian to the finished languages
-Add: stub for Marathi language (one of the languages in India)
14 years ago
translators d4cbd1d784 (svn r20359) -Update from WebTranslator v3.0:
belarusian - 597 changes by KorneySan, Wowanxm
finnish - 2 changes by jpx_
french - 2 changes by glx
polish - 5 changes by silver_777
russian - 20 changes by KorneySan
serbian - 2 changes by etran
14 years ago
rubidium 3fd1fc35e6 (svn r20358) -Fix [FS#4008]: (r20281) crash when building some stuff when the measurement tooltip is disabled 14 years ago
frosch ba527ec56e (svn r20357) -Fix (r20356): Call GetAllRoadBits() only if there is road. 14 years ago
rubidium b74cee45be (svn r20356) -Fix [FS#3983]: apparantly one generic error message can't be understood... 14 years ago
michi_cc fff8524fb9 (svn r20355) -Fix (r20353): Stale comment. 14 years ago
rubidium e23db5db21 (svn r20354) -Fix: some compilation errors in (unfinished) translations 14 years ago
michi_cc 4d927af488 (svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals. 14 years ago
michi_cc bd2f7e998c (svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout. 14 years ago
michi_cc f67c727c68 (svn r20351) -Codechange: Uncouple water lock and depot drawing. 14 years ago
translators 71f9c4fe79 (svn r20350) -Update from WebTranslator v3.0:
belarusian - 1070 changes by KorneySan, Wowanxm
simplified_chinese - 7 changes by pda1573
croatian - 2 changes by VoyagerOne
dutch - 2 changes by habell
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 44 changes by NG
indonesian - 6 changes by prof
korean - 2 changes by junho2813
russian - 8 changes by KorneySan, Lone_Wolf
serbian - 2 changes by etran
spanish - 6 changes by Terkhen
vietnamese - 2 changes by nglekhoi
14 years ago
rubidium d1a7f7a672 (svn r20349) -Fix: don't pay stuff you didn't have to pay for previously :) 14 years ago
rubidium fc39a8bec1 (svn r20348) -Fix [FS#4004]: [NoAI] Ship depots were constructed along the wrong axis 14 years ago
yexo 04a9a58ecd (svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found 14 years ago
rubidium 87386cabc4 (svn r20345) -Codechange: unify removing of objects a bit more 14 years ago
yexo e2d706cd21 (svn r20344) -Feature: add rescan_newgrf console command 14 years ago
rubidium 0664955db7 (svn r20343) -Fix (r20342): don't start svn commit too early... it won't see the later changes 14 years ago
rubidium 725c181445 (svn r20342) -Codechange: unify the construction of objects 14 years ago
rubidium 92ac2e485b (svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ 14 years ago
rubidium 1c86321d35 (svn r20340) -Codechange: introduce some flags for objects and use them in some places 14 years ago
rubidium d687b49a4e (svn r20339) -Codechange: reorder the HQ drawing data so it's in a slightly more logical order from the map array's point of view. 14 years ago
rubidium fbde46c028 (svn r20338) -Codechange: unify the unmovable tile drawing 14 years ago
rubidium 3bfe26c69d (svn r20337) -Codechange: unify the construction of objects on the map 14 years ago
rubidium f812e80002 (svn r20336) -Codechange: rework the HQ updating 14 years ago
rubidium ffedcc6533 (svn r20335) -Codechange: change the name of some unmovable map accessors 14 years ago
rubidium f44c51577b (svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension 14 years ago
frosch 1a9d5ae076 (svn r20333) -Fix (r20332): Mask second operand to 5 bits to avoid differences between platforms. 14 years ago
frosch 0e5c562da4 (svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR. 14 years ago
yexo 689d4bef04 (svn r20331) -Doc: some more airport-related code 14 years ago
rubidium aae7ef73bb (svn r20330) -Codechange: unify the removal of unmovables a bit 14 years ago
yexo d65a967027 (svn r20329) -Codechange: align the data of the original airports so it's better readable 14 years ago
rubidium 49cee72fa4 (svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command 14 years ago
rubidium f2d71c1196 (svn r20327) -Change: don't let building e.g. road remove light houses and transmitters in the scenario editor 14 years ago
rubidium 55129f1fbb (svn r20326) -Codechange: move UnmovableType to its own file 14 years ago
yexo 5ae4e27446 (svn r20325) -Fix (r20322): surround variable declarations in a switch-block with {} 14 years ago
yexo c7516f230f (svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station 14 years ago
terkhen 7a6df202d0 (svn r20323) -Codechange: Move Delete town code to a command. 14 years ago
terkhen ca0751adb8 (svn r20322) -Codechange: Move Expand town code to a command. 14 years ago
rubidium f2edc728e6 (svn r20321) -Codechange: rename GetUnmovableSpec to UnmovableSpec::Get and add+use a ::GetByTile 14 years ago
alberth 0e900039f3 (svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition. 14 years ago
alberth 4781f1fa92 (svn r20319) -Codechange: Align comments, add indent to a function call. 14 years ago
alberth 5556955960 (svn r20318) -Doc: Doxygen additions. 14 years ago
alberth 73f45d16d1 (svn r20317) -Codechange: Move variable declaration to their first use. 14 years ago
rubidium 00dcb16760 (svn r20316) -Document: some members/structs and functions and rename some slightly to better catch their meaning 14 years ago
michi_cc 9f5e49eaad (svn r20315) -Codechange: Replace magic numbers by named constants. 14 years ago
michi_cc e34faa8e15 (svn r20314) -Fix (r20312): Too many parameters, missed one. 14 years ago
michi_cc 3c7b220d59 (svn r20312) -Doc: Add missing doxygen comments to road map accessors. 14 years ago
yexo dff871b40d (svn r20311) -Codechange: don't reserve extra space in the savegame that is never used 14 years ago
translators 9b9d8088b0 (svn r20310) -Update from WebTranslator v3.0:
basque - 8 changes by Thadah
belarusian - 354 changes by KorneySan, Wowanxm
simplified_chinese - 5 changes by pda1573
traditional_chinese - 1 changes by pda1573
chuvash - 17 changes by mefisteron
french - 4 changes by glx
greek - 18 changes by fumantsu
italian - 4 changes by lorenzodv
brazilian_portuguese - 15 changes by Tucalipe
russian - 28 changes by KorneySan
swedish - 14 changes by tool
thai - 23 changes by sf_alpha
ukrainian - 14 changes by Madvin
vietnamese - 9 changes by nglekhoi
14 years ago
yexo 6371e6c4db (svn r20307) -Fix (r20305): the palette for baseset extra grfs was never set so it defaulted to dos 14 years ago
rubidium dfb0a2c9a5 (svn r20305) -Change: reduce OpenTTD's install size by roughly 460 KiB by only providing the "extra" base graphics in one palette and doing the conversion upon loading; the conversion has existed for a while, but now the NewGRF can tell its palette using Action 14 thus it can enable the conversion for only that NewGRF. 14 years ago
terkhen cded122da5 (svn r20303) -Feature: [NewGRF] Air drag property support for trains and road vehicles. Air drag for vehicles with air drag not set or set to zero will use a default value depending on their max speed. 14 years ago
terkhen 7d0297f967 (svn r20302) -Add: Method for getting the air drag of a ground vehicle. 14 years ago
terkhen 8203749e68 (svn r20301) -Add: [NewGRF] Read air drag property from Action 0 for trains. 14 years ago
terkhen 5c633159ca (svn r20300) -Add: Air drag field to the rail engine information. 14 years ago
terkhen 1fd66d7cc4 (svn r20299) -Add: Make trains and road vehicles use a different area value to calculate air drag. 14 years ago
terkhen 14d58e9978 (svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for road vehicles. 14 years ago
terkhen 6dde1417d8 (svn r20297) -Doc: Explain the default tractive effort value used by standard road vehicles. 14 years ago
alberth f0ebe530ad (svn r20296) -Fix: Fallback font selection due to missing glyphs did not work as intended. 14 years ago
frosch edf9b36b81 (svn r20294) -Fix [FS#3996](r20281): 'break' got in wrong position. 14 years ago
yexo 9dbe84922b (svn r20293) -Doc: add more doxygen comments in ai_gui.cp 14 years ago
yexo 6bfe29308c (svn r20292) -Codechange: remove some unused variables from AIConfigWindow 14 years ago
alberth ee01ec9136 (svn r20291) -Codechange: Unify break coding style. 14 years ago
alberth c32e35c30d (svn r20290) -Codechange: Add missing 'break' statements. 14 years ago
terkhen 80c43f52e8 (svn r20289) -Codechange: Unify fall through coding style. 14 years ago
yexo 7b62e4dc8e (svn r20288) -Doc: add doxygen string to all GetClassName functions (part of all AI api classes) 14 years ago
rubidium d1787d884c (svn r20287) -Fix: GCC 4.1 warning 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
yexo 613b273f36 (svn r20285) -Codechange: use ///< for single-line doxygen comments in the AI code 14 years ago
yexo 99cb47a382 (svn r20284) -Codechange: use ///< for single-line doxygen comments in the AI code 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 4871baf44d (svn r20282) -Codechange: add some spaces where they should've been 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
rubidium 605f6d0ed3 (svn r20280) -Fix: indentation of some switch cases 14 years ago
alberth dc6ed2c2c0 (svn r20279) -Doc: Doxygen additions/improvements. 14 years ago
translators 2d25def2ff (svn r20278) -Update from WebTranslator v3.0:
afrikaans - 9 changes by burgerd
belarusian - 840 changes by KorneySan, Wowanxm
croatian - 4 changes by VoyagerOne
czech - 10 changes by ReisRyos
finnish - 1 changes by jpx_
hungarian - 4 changes by IPG
irish - 4 changes by tem
korean - 1 changes by junho2813
polish - 4 changes by lion
portuguese - 5 changes by SupSuper
romanian - 4 changes by tonny
russian - 13 changes by KorneySan
serbian - 4 changes by etran
thai - 176 changes by sf_alpha
ukrainian - 4 changes by Fixer
14 years ago
alberth 9f8d730cc4 (svn r20277) -Codechange: Move CmdSetAutoReplace() from company_cmd.cpp to autoreplace_cmd.cpp. 14 years ago
rubidium aa8ac7885a (svn r20276) -Update: add some genders/cases to Belarusian 14 years ago
yexo 09bfbee90e (svn r20275) -Fix (r20274): some compilers are complaining about signed/unsigned comparison 14 years ago
yexo dc3271b705 (svn r20274) -Fix: special keycodes were matched if a code matched the start of the string (ie 'C' matched 'CTRL') 14 years ago
yexo b0b0a21617 (svn r20273) -Fix [FS#3930]: '-' and '=' were not correctly read from hotkeys.cfg 14 years ago
yexo 33ccd9ada8 (svn r20272) -Doc: [NoAI] document return value of AIGroup::SetAutoReplace 14 years ago
yexo 6d4900ed7c (svn r20271) -Doc: add doxygen comments to several items under src/ai/ 14 years ago
alberth 7aabb887d4 (svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals. 14 years ago
yexo b65a9eb856 (svn r20268) -Add: append 'On'/'Off' after the name for boolean NewGRF settings 14 years ago
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
yexo adf94b8529 (svn r20264) -Fix (r20258): saving a new preset was broken 14 years ago
rubidium 5f8cfba77a (svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled 14 years ago
alberth 3f62ee6355 (svn r20262) -Codechange: Remove unused ScoreInfo::id field, and doxyment the data structures. 14 years ago
translators ea05f284a9 (svn r20260) -Update from WebTranslator v3.0:
basque - 13 changes by Thadah
belarusian - 313 changes by KorneySan
dutch - 4 changes by Yexo
finnish - 3 changes by jpx_
korean - 5 changes by telk5093
russian - 10 changes by KorneySan
thai - 60 changes by sf_alpha
14 years ago
rubidium ac280af8bc (svn r20259) -Add: allow NewGRFs to specify their version and use that to hide old NewGRFs / to choose the newest when loading compatible NewGRFs 14 years ago
yexo 5a2862814a (svn r20258) -Feature: more user-friendly gui to change NewGRF parameters 14 years ago
rubidium 9c241135f2 (svn r20257) -Codechange: unify some node handling code and don't require a single root node 14 years ago
yexo d9bc65cdd8 (svn r20256) -Codechange: add a DrawStringMultiline variant that accepts const char* instead of StringID 14 years ago
yexo d6eab96a22 (svn r20255) -Add: allow NewGRFs to specify static info about their user-changeable parameters 14 years ago