Commit Graph

9894 Commits

Author SHA1 Message Date
rubidium
92767f454e (svn r20409) -Codechange: reduce the number of includes needed by newgrf.h 2010-08-08 09:07:40 +00:00
frosch
eb7ea24aec (svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays. 2010-08-08 08:52:47 +00:00
rubidium
b6263d2034 (svn r20407) -Codechange: make AirportClass use the new generic class 2010-08-07 22:08:20 +00:00
rubidium
40ab6a3298 (svn r20406) -Codechange: make StationClass use the new generic class 2010-08-07 22:07:07 +00:00
rubidium
abcd7ffa5f (svn r20405) -Add: generic class for "classes" for NewGRFs, e.g. the Station classes and Airport classes 2010-08-07 22:05:58 +00:00
rubidium
7796204a82 (svn r20404) -Codechange: remove the need for StationSpec::allocated 2010-08-07 21:39:30 +00:00
rubidium
8f1d0358bd (svn r20402) -Codechange: rename the airport/station class id to something slightly more generic 2010-08-07 21:10:57 +00:00
rubidium
da8c058b89 (svn r20401) -Codechange: let HouseSpec use GRFFileProps 2010-08-07 21:03:38 +00:00
rubidium
3285c6ab58 (svn r20400) -Codechange: let StationSpec use GRFFilePropsBase 2010-08-07 20:52:45 +00:00
yexo
ecb6d8cf74 (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 2010-08-07 20:51:53 +00:00
rubidium
c9c46be3fb (svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase 2010-08-07 20:51:07 +00:00
alberth
a90c30d614 (svn r20397) -Feature: Display industry smallmap colour in the industry chain window. 2010-08-07 20:36:23 +00:00
yexo
5162f28c27 (svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo 2010-08-07 20:11:27 +00:00
translators
79dd7df9fb (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
2010-08-07 17:45:19 +00:00
yexo
a08fe2ac41 (svn r20394) -Fix [FS#4010]: make the default minimum width for editboxes 10 pixels 2010-08-06 20:52:53 +00:00
alberth
f5964a46d2 (svn r20393) -Fix [FS#3993]: Prevent taking over competitors when you'd get too many vehicles. 2010-08-06 20:28:16 +00:00
alberth
3db5cfb95d (svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles. 2010-08-06 20:26:01 +00:00
alberth
015195c312 (svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed. 2010-08-06 20:10:53 +00:00
alberth
2157341f90 (svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp. 2010-08-06 19:56:14 +00:00
rubidium
75f6f6eb0b (svn r20389) [NoAI] -Add: AIOrder::IsVoidOrder to find void "(Invalid Order)" orders.
[NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders.
2010-08-06 19:04:21 +00:00
translators
894e9fc508 (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
2010-08-06 17:45:42 +00:00
alberth
9fed86a814 (svn r20387) -Fix [FS#4000]: Allow the industry-chain button for non-fundable industries, and disallow for the 'many random industries'. 2010-08-06 12:23:44 +00:00
alberth
03e8fe7c0e (svn r20386) -Fix: Initialize fund-industry buttons when opening window. 2010-08-06 12:19:01 +00:00
alberth
5f9d74467f (svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method. 2010-08-06 12:12:20 +00:00
frosch
c8758fc7a7 (svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. changing base graphics, so the cursor does not glitch if it becomes bigger. 2010-08-05 19:23:19 +00:00
translators
80149f0f0a (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
2010-08-05 17:45:37 +00:00
frosch
20d2aec66c (svn r20382) -Codechange: Hide default airport layoutname if there is only one layout. 2010-08-05 17:24:45 +00:00
frosch
4e0c6408eb (svn r20379) -Codechange: Draw airport preview using company colours. 2010-08-05 17:16:31 +00:00
yexo
917d4cb7be (svn r20377) -Feature: [NewGRF] prop 0x0A tile layout for airports 2010-08-05 12:10:22 +00:00
yexo
c8d8c996c2 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 2010-08-05 12:09:08 +00:00
yexo
e6025117e2 (svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid 2010-08-05 12:06:53 +00:00
yexo
ccccb2c490 (svn r20374) -Codechange: add persistant storage for airports 2010-08-05 12:06:13 +00:00
yexo
51fe375651 (svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for airport layouts than the default "Layout x" 2010-08-05 12:05:56 +00:00
yexo
0f131719aa (svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information about an airport in the build gui 2010-08-05 12:05:15 +00:00
yexo
7c2eaeee09 (svn r20371) -Codechange: add general function to call text callbacks for airports 2010-08-05 12:04:33 +00:00
yexo
f9f141c480 (svn r20370) -Add: [NewGRF] new action 5 block to add airport preview sprites 2010-08-05 12:03:58 +00:00
yexo
f0bc18a792 (svn r20369) -Feature: preview sprites for airports 2010-08-05 12:03:34 +00:00
yexo
5d5ddf780a (svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated 2010-08-05 12:03:06 +00:00
yexo
518241bc1b (svn r20367) -Codechange; don't use a pointer to access the AirportMovingData of the current position 2010-08-05 12:02:22 +00:00
yexo
2743532ae5 (svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles 2010-08-05 12:00:09 +00:00
yexo
7f7e3d4a3a (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 2010-08-05 11:59:07 +00:00
yexo
c072b50dc6 (svn r20364) -Codechange: add infrastructure for airport callbacks 2010-08-05 11:57:55 +00:00
translators
dc98432669 (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
2010-08-04 17:45:20 +00:00
yexo
b08037a3b4 (svn r20362) -Codechange: use correct parameter type for SetFill in airport gui 2010-08-04 10:33:18 +00:00
terkhen
aa0e57ad31 (svn r20361) -Fix [FS#3989]: Stop vehicle following after zooming out. 2010-08-04 08:58:45 +00:00
rubidium
73bbbabfa8 (svn r20360) -Update: move Belarusian to the finished languages
-Add: stub for Marathi language (one of the languages in India)
2010-08-04 08:47:44 +00:00
translators
73ce8f1c10 (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
2010-08-04 08:46:28 +00:00
rubidium
f5d93f1961 (svn r20358) -Fix [FS#4008]: (r20281) crash when building some stuff when the measurement tooltip is disabled 2010-08-04 07:31:29 +00:00
frosch
dc60f8ce1a (svn r20357) -Fix (r20356): Call GetAllRoadBits() only if there is road. 2010-08-04 06:27:20 +00:00
rubidium
e69a9ba31d (svn r20356) -Fix [FS#3983]: apparantly one generic error message can't be understood... 2010-08-03 18:32:53 +00:00
michi_cc
b666885303 (svn r20355) -Fix (r20353): Stale comment. 2010-08-03 18:29:26 +00:00
rubidium
8dabbb1ebc (svn r20354) -Fix: some compilation errors in (unfinished) translations 2010-08-03 18:08:49 +00:00
michi_cc
95f5ad8c79 (svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals. 2010-08-03 17:48:07 +00:00
michi_cc
33ab403be8 (svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout. 2010-08-03 17:48:03 +00:00
michi_cc
80943c5ec7 (svn r20351) -Codechange: Uncouple water lock and depot drawing. 2010-08-03 17:47:43 +00:00
translators
80eea10a48 (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
2010-08-03 17:45:43 +00:00
rubidium
afb7c7d813 (svn r20349) -Fix: don't pay stuff you didn't have to pay for previously :) 2010-08-03 16:42:47 +00:00
rubidium
f1458067e9 (svn r20348) -Fix [FS#4004]: [NoAI] Ship depots were constructed along the wrong axis 2010-08-03 16:38:15 +00:00
yexo
67adf766d0 (svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found 2010-08-03 13:32:02 +00:00
rubidium
c8efb43aaf (svn r20345) -Codechange: unify removing of objects a bit more 2010-08-03 13:03:25 +00:00
yexo
939abcc07c (svn r20344) -Feature: add rescan_newgrf console command 2010-08-03 12:54:19 +00:00
rubidium
16ea560aaf (svn r20343) -Fix (r20342): don't start svn commit too early... it won't see the later changes 2010-08-03 12:47:11 +00:00
rubidium
ac5e8d9825 (svn r20342) -Codechange: unify the construction of objects 2010-08-03 12:41:24 +00:00
rubidium
f475a7f5e7 (svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ 2010-08-03 12:36:40 +00:00
rubidium
e72a0a39bb (svn r20340) -Codechange: introduce some flags for objects and use them in some places 2010-08-03 12:07:55 +00:00
rubidium
fbda65a676 (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. 2010-08-03 11:39:17 +00:00
rubidium
d23e2d64b8 (svn r20338) -Codechange: unify the unmovable tile drawing 2010-08-03 11:35:57 +00:00
rubidium
d7921b24e6 (svn r20337) -Codechange: unify the construction of objects on the map 2010-08-03 08:58:12 +00:00
rubidium
3a971a7f03 (svn r20336) -Codechange: rework the HQ updating 2010-08-03 08:32:58 +00:00
rubidium
eb0fa68722 (svn r20335) -Codechange: change the name of some unmovable map accessors 2010-08-03 08:16:06 +00:00
rubidium
5ed887648c (svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension 2010-08-03 08:09:45 +00:00
frosch
f273f2a656 (svn r20333) -Fix (r20332): Mask second operand to 5 bits to avoid differences between platforms. 2010-08-02 23:35:47 +00:00
frosch
253fd969fd (svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR. 2010-08-02 23:12:43 +00:00
yexo
0cd442ea18 (svn r20331) -Doc: some more airport-related code 2010-08-02 23:09:38 +00:00
rubidium
b5b5c21ee5 (svn r20330) -Codechange: unify the removal of unmovables a bit 2010-08-02 23:05:54 +00:00
yexo
ebd2f999f0 (svn r20329) -Codechange: align the data of the original airports so it's better readable 2010-08-02 22:27:42 +00:00
rubidium
7fe695dc28 (svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command 2010-08-02 22:10:05 +00:00
rubidium
2ac0a086ce (svn r20327) -Change: don't let building e.g. road remove light houses and transmitters in the scenario editor 2010-08-02 22:03:28 +00:00
rubidium
9d76cac1a7 (svn r20326) -Codechange: move UnmovableType to its own file 2010-08-02 21:35:59 +00:00
yexo
2ead6100a2 (svn r20325) -Fix (r20322): surround variable declarations in a switch-block with {} 2010-08-02 21:25:17 +00:00
yexo
d96f73665f (svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station 2010-08-02 21:11:52 +00:00
terkhen
ec6cba6b92 (svn r20323) -Codechange: Move Delete town code to a command. 2010-08-02 21:07:23 +00:00
terkhen
014771848d (svn r20322) -Codechange: Move Expand town code to a command. 2010-08-02 21:06:06 +00:00
rubidium
fd08e5d2d7 (svn r20321) -Codechange: rename GetUnmovableSpec to UnmovableSpec::Get and add+use a ::GetByTile 2010-08-02 20:57:32 +00:00
alberth
91eba89331 (svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition. 2010-08-02 20:47:27 +00:00
alberth
66b3d60b60 (svn r20319) -Codechange: Align comments, add indent to a function call. 2010-08-02 20:37:32 +00:00
alberth
ccbacfc298 (svn r20318) -Doc: Doxygen additions. 2010-08-02 20:32:39 +00:00
alberth
6c01a5833c (svn r20317) -Codechange: Move variable declaration to their first use. 2010-08-02 20:19:10 +00:00
rubidium
742c0cd614 (svn r20316) -Document: some members/structs and functions and rename some slightly to better catch their meaning 2010-08-02 20:12:02 +00:00
michi_cc
b3b1102a1a (svn r20315) -Codechange: Replace magic numbers by named constants. 2010-08-02 18:47:03 +00:00
michi_cc
ea41f5f5f2 (svn r20314) -Fix (r20312): Too many parameters, missed one. 2010-08-02 18:40:25 +00:00
michi_cc
cfdf92d290 (svn r20312) -Doc: Add missing doxygen comments to road map accessors. 2010-08-02 18:34:46 +00:00
yexo
3cf8186f54 (svn r20311) -Codechange: don't reserve extra space in the savegame that is never used 2010-08-02 18:24:09 +00:00
translators
d94a783735 (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
2010-08-02 17:45:39 +00:00
yexo
5087690b09 (svn r20307) -Fix (r20305): the palette for baseset extra grfs was never set so it defaulted to dos 2010-08-02 16:04:24 +00:00
rubidium
6634d6ab82 (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. 2010-08-02 15:29:31 +00:00
terkhen
bd254b06d3 (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. 2010-08-02 14:54:47 +00:00
terkhen
7f786ae7b8 (svn r20302) -Add: Method for getting the air drag of a ground vehicle. 2010-08-02 14:52:51 +00:00
terkhen
bd1dd17bf2 (svn r20301) -Add: [NewGRF] Read air drag property from Action 0 for trains. 2010-08-02 14:51:35 +00:00
terkhen
df44a20fcc (svn r20300) -Add: Air drag field to the rail engine information. 2010-08-02 14:50:26 +00:00
terkhen
f33a0370ae (svn r20299) -Add: Make trains and road vehicles use a different area value to calculate air drag. 2010-08-02 14:49:23 +00:00
terkhen
094841cba3 (svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for road vehicles. 2010-08-02 14:48:13 +00:00
terkhen
da80ebb00d (svn r20297) -Doc: Explain the default tractive effort value used by standard road vehicles. 2010-08-02 14:44:00 +00:00
alberth
26e4044e60 (svn r20296) -Fix: Fallback font selection due to missing glyphs did not work as intended. 2010-08-02 12:10:48 +00:00
frosch
4d18e6c435 (svn r20294) -Fix [FS#3996](r20281): 'break' got in wrong position. 2010-08-01 23:49:03 +00:00
yexo
6fcdf71825 (svn r20293) -Doc: add more doxygen comments in ai_gui.cp 2010-08-01 22:08:29 +00:00
yexo
5642ef777e (svn r20292) -Codechange: remove some unused variables from AIConfigWindow 2010-08-01 22:03:55 +00:00
alberth
2182b44bb6 (svn r20291) -Codechange: Unify break coding style. 2010-08-01 21:19:49 +00:00
alberth
cf33572ef8 (svn r20290) -Codechange: Add missing 'break' statements. 2010-08-01 20:58:35 +00:00
terkhen
04134c1e51 (svn r20289) -Codechange: Unify fall through coding style. 2010-08-01 20:52:11 +00:00
yexo
65de287071 (svn r20288) -Doc: add doxygen string to all GetClassName functions (part of all AI api classes) 2010-08-01 20:41:46 +00:00
rubidium
03f06dc2ac (svn r20287) -Fix: GCC 4.1 warning 2010-08-01 19:52:51 +00:00
frosch
c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
yexo
971691b691 (svn r20285) -Codechange: use ///< for single-line doxygen comments in the AI code 2010-08-01 19:36:56 +00:00
yexo
1e554947bb (svn r20284) -Codechange: use ///< for single-line doxygen comments in the AI code 2010-08-01 19:36:36 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium
1c83b21e90 (svn r20282) -Codechange: add some spaces where they should've been 2010-08-01 19:01:09 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
rubidium
7385008cb0 (svn r20280) -Fix: indentation of some switch cases 2010-08-01 18:48:00 +00:00
alberth
e5b703ddf9 (svn r20279) -Doc: Doxygen additions/improvements. 2010-08-01 17:45:53 +00:00
translators
6021079c6d (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
2010-08-01 17:45:46 +00:00
alberth
2600624395 (svn r20277) -Codechange: Move CmdSetAutoReplace() from company_cmd.cpp to autoreplace_cmd.cpp. 2010-08-01 14:43:39 +00:00
rubidium
48b712ca08 (svn r20276) -Update: add some genders/cases to Belarusian 2010-08-01 14:27:38 +00:00
yexo
91cc0ea4a2 (svn r20275) -Fix (r20274): some compilers are complaining about signed/unsigned comparison 2010-08-01 10:53:39 +00:00
yexo
536884233a (svn r20274) -Fix: special keycodes were matched if a code matched the start of the string (ie 'C' matched 'CTRL') 2010-08-01 10:42:18 +00:00
yexo
86b738afb5 (svn r20273) -Fix [FS#3930]: '-' and '=' were not correctly read from hotkeys.cfg 2010-07-31 23:33:09 +00:00
yexo
323b2608fc (svn r20272) -Doc: [NoAI] document return value of AIGroup::SetAutoReplace 2010-07-31 22:46:29 +00:00
yexo
844e62546b (svn r20271) -Doc: add doxygen comments to several items under src/ai/ 2010-07-31 22:16:34 +00:00
alberth
603c33efc1 (svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals. 2010-07-31 21:43:07 +00:00
yexo
461da5e1d3 (svn r20268) -Add: append 'On'/'Off' after the name for boolean NewGRF settings 2010-07-31 21:24:59 +00:00
alberth
1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
yexo
165452bad6 (svn r20264) -Fix (r20258): saving a new preset was broken 2010-07-31 20:28:10 +00:00
rubidium
a16d3c9988 (svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled 2010-07-31 20:04:14 +00:00
alberth
7d3de0632d (svn r20262) -Codechange: Remove unused ScoreInfo::id field, and doxyment the data structures. 2010-07-31 19:45:48 +00:00
translators
6177d938a6 (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
2010-07-31 17:45:18 +00:00
rubidium
a777266426 (svn r20259) -Add: allow NewGRFs to specify their version and use that to hide old NewGRFs / to choose the newest when loading compatible NewGRFs 2010-07-31 14:40:50 +00:00
yexo
f4c46dd701 (svn r20258) -Feature: more user-friendly gui to change NewGRF parameters 2010-07-31 12:15:12 +00:00
rubidium
c594a1692e (svn r20257) -Codechange: unify some node handling code and don't require a single root node 2010-07-31 12:05:41 +00:00
yexo
ed9d663f58 (svn r20256) -Codechange: add a DrawStringMultiline variant that accepts const char* instead of StringID 2010-07-31 11:47:08 +00:00
yexo
0ef99605cc (svn r20255) -Add: allow NewGRFs to specify static info about their user-changeable parameters 2010-07-31 09:51:04 +00:00
rubidium
f03106db1c (svn r20254) -Add: allow NewGRFs to specify their palette 2010-07-31 09:44:38 +00:00
rubidium
d9393035ea (svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset 2010-07-31 09:40:43 +00:00
rubidium
6c22efc840 (svn r20252) -Codechange: deduplicate logic for setting a suitable (initial) palette for NewGRFs 2010-07-31 09:36:09 +00:00
yexo
eacf65598f (svn r20251) -Add: [NewGRF] allow grfs to specify the number of valid parameters 2010-07-31 09:35:49 +00:00
yexo
15976c5deb (svn r20250) -Feature: [NewGRF] add support for action14 (static grf info) 2010-07-31 09:35:42 +00:00
yexo
6117b0abc7 (svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible 2010-07-31 09:33:39 +00:00
yexo
cb5cfd7f8c (svn r20248) -Codechange: use a copy-constructor instead of a separate function co clone GRFConfig/GRFError 2010-07-31 09:32:44 +00:00
rubidium
1e86effbd3 (svn r20247) -Fix: when it is known the loading an old savegame is going to fail, bail out immediately (using an exception) instead of going on until e.g. the expected number of byte is read 2010-07-30 22:57:46 +00:00
translators
dd2335e7c1 (svn r20246) -Update from WebTranslator v3.0:
basque - 20 changes by Thadah
belarusian - 276 changes by KorneySan
chuvash - 2 changes by mefisteron
finnish - 1 changes by jpx_
french - 1 changes by ElNounch
polish - 12 changes by lion
romanian - 1 changes by eliberatorM
serbian - 6 changes by etran
thai - 64 changes by sf_alpha
2010-07-30 17:45:26 +00:00
rubidium
ee558acd59 (svn r20245) -Update: the other languages in accordance with r20244 2010-07-30 12:27:42 +00:00
rubidium
d11de00a15 (svn r20244) -Fix: the caption of the "Available vehicle" lists was black, whereas for building those vehicles, which uses the exact same window, it was white. 2010-07-30 12:26:58 +00:00
rubidium
ff01e536d9 (svn r20243) -Update: the strings; they don't need the {WHITE} colour code anymore either 2010-07-30 12:17:14 +00:00
rubidium
22053279a5 (svn r20242) -Change: remove the need for "{WHITE}" control codes in some of the railtype NewGRF strings
-Fix: make it possible to properly assess the length of the rail toolbar caption
2010-07-30 12:15:22 +00:00
alberth
3cd9351618 (svn r20241) -Codechange: Move variable declarations to their first use. 2010-07-30 10:39:24 +00:00
translators
07208fdc90 (svn r20240) -Update from WebTranslator v3.0:
belarusian - 3 changes by Wowanxm
chuvash - 50 changes by mefisteron
irish - 9 changes by tem
vietnamese - 17 changes by myquartz
2010-07-29 17:45:10 +00:00
terkhen
c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 2010-07-29 14:26:28 +00:00
yexo
10aa6608ab (svn r20238) -Doc: [NoAI] clarify the documentation for AIBaseStation::GetLocation 2010-07-29 13:08:57 +00:00
michi_cc
40935ee4a1 (svn r20237) -Fix (r20049): Check for disallowed level crossings also when converting rail. 2010-07-28 22:23:28 +00:00
rubidium
27acb9644c (svn r20236) -Add: stub for Belarusian translation 2010-07-28 19:07:06 +00:00
translators
867906982f (svn r20235) -Update from WebTranslator v3.0:
basque - 8 changes by Thadah
chuvash - 7 changes by mefisteron
croatian - 5 changes by VoyagerOne
dutch - 1 changes by habell
german - 8 changes by planetmaker
hungarian - 6 changes by IPG
indonesian - 4 changes by prof
italian - 12 changes by lorenzodv
korean - 1 changes by junho2813
russian - 1 changes by Lone_Wolf
ukrainian - 1 changes by Fixer
2010-07-28 17:45:31 +00:00
yexo
d94364c638 (svn r20234) -Fix [FS#3988]: refit costs from refit orders are subtracted from the vehicle yearly income 2010-07-28 14:18:58 +00:00
rubidium
a94031d60c (svn r20233) -Codechange: fix/unify coding and comment style a bit 2010-07-28 09:48:35 +00:00
rubidium
5153532a7f (svn r20232) -Codechange: shuffle a few functions around so they don't need to be declared in advance 2010-07-28 09:47:31 +00:00
rubidium
caf65f71de (svn r20231) -Document: which version had which savegame version 2010-07-28 09:23:42 +00:00
rubidium
9901b84729 (svn r20230) -Fix [FS#3961]: road vehicles could be dead locked with one way roads. This allows one wayness to be removed if there are vehicles on a tile; it does not allow you to add one wayness to roads that have vehicles on them as it makes turning vehicles jump 2010-07-27 22:00:43 +00:00
rubidium
f10c7255f4 (svn r20229) -Fix [FS#3986]: "Service at nearest depot" behaved the same as "Go to nearest depot" 2010-07-27 21:46:55 +00:00
translators
b35c53529f (svn r20228) -Update from WebTranslator v3.0:
basque - 10 changes by Thadah
dutch - 9 changes by habell
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 3 changes by planetmaker
italian - 9 changes by lorenzodv
portuguese - 8 changes by SupSuper
spanish - 9 changes by Terkhen
ukrainian - 9 changes by Fixer
2010-07-27 17:45:27 +00:00
terkhen
a6c7630e82 (svn r20227) -Fix [FS#3985]: Don't spend cash when building a statue fails. 2010-07-27 16:40:16 +00:00
rubidium
5e4d15f6d8 (svn r20226) -Fix: make "space after ..." usage uniform in English (UK) again 2010-07-27 14:54:39 +00:00
translators
1f96667838 (svn r20225) -Update from WebTranslator v3.0:
portuguese - 11 changes by SupSuper
romanian - 16 changes by tonny
russian - 37 changes by 
slovak - 11 changes by keso53
2010-07-26 17:45:15 +00:00
frosch
422d9e3b77 (svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises. 2010-07-26 17:37:50 +00:00
alberth
a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 2010-07-26 13:08:48 +00:00
alberth
6734f083b0 (svn r20222) -Add: Add functions to compute the row in a scrolled widget. 2010-07-26 13:03:40 +00:00
alberth
71aac2192f (svn r20221) -Codechange: Move unscrolled row calculation into a function. 2010-07-26 13:02:28 +00:00
rubidium
f48fca6bfc (svn r20220) -Fix [FS#3974]: strip non-printable characters before showing it in an edit box, so when renaming a vehicle type you won't get the "SETX stuff" that some NewGRFs use 2010-07-25 23:14:59 +00:00
translators
a8b264e8c8 (svn r20218) -Update from WebTranslator v3.0:
traditional_chinese - 9 changes by josesun
hungarian - 9 changes by IPG
irish - 4 changes by tem
korean - 38 changes by junho2813
russian - 46 changes by Lone_Wolf
2010-07-25 17:45:18 +00:00
frosch
91c8ef91b1 (svn r20217) -Fix [FS#3969]: Invalidate saveload GUI after rescanning NewGRFs. 2010-07-25 14:33:17 +00:00
alberth
b378deff33 (svn r20216) -Fix: Increase scrolling speed of industry cargoes window, enlarge height slightly so small chains fit by default. 2010-07-25 12:38:06 +00:00
alberth
b97aba9da7 (svn r20215) -Fix [FS#3971]: Remove all road pieces rather than aborting at the first ownership error (Krille). 2010-07-25 10:04:13 +00:00
translators
817d4cf805 (svn r20214) -Update from WebTranslator v3.0:
croatian - 9 changes by VoyagerOne
finnish - 9 changes by jpx_
french - 9 changes by glx
german - 9 changes by planetmaker
indonesian - 9 changes by prof
serbian - 9 changes by etran
spanish - 9 changes by Terkhen
2010-07-24 17:45:26 +00:00
alberth
137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
alberth
3dc9989841 (svn r20210) -Fix (r20206): Allow other compilers to enjoy the new window too. 2010-07-23 19:07:00 +00:00
alberth
a5e0362851 (svn r20209) -Add: Allow access to the industry cargoes window from the fund industry window. 2010-07-23 18:46:52 +00:00
alberth
76a00e51ad (svn r20208) -Add: Allow access of the industry cargoes window from the industry view window. 2010-07-23 18:44:04 +00:00
alberth
6490c06a66 (svn r20207) -Codechange: Move variable declaration to first use. 2010-07-23 18:40:39 +00:00
alberth
b4358056ee (svn r20206) -Feature: Display suppliers and customers of an industry or cargo. 2010-07-23 18:39:02 +00:00
translators
abe3983b60 (svn r20205) -Update from WebTranslator v3.0:
czech - 15 changes by ReisRyos
polish - 7 changes by xine
ukrainian - 1 changes by Fixer
2010-07-23 17:45:14 +00:00
translators
8ae9ec9a71 (svn r20204) -Update from WebTranslator v3.0:
czech - 1 changes by ReisRyos
2010-07-22 17:45:07 +00:00
rubidium
ed20526231 (svn r20203) -Fix: some file "headers" were incorrect, including doxygen @file so they wouldn't be picked up by doxygen. 2010-07-22 16:50:58 +00:00
translators
14c45fa251 (svn r20202) -Update from WebTranslator v3.0:
chuvash - 93 changes by mefisteron
irish - 5 changes by tem
norwegian_nynorsk - 1 changes by 2rB
2010-07-21 17:45:09 +00:00
yexo
f357bf9674 (svn r20201) -Feature [FS#3926]: add several new hotkeys to the global hotkey list and to the order windows. None of them has a default keybinding. 2010-07-21 14:28:06 +00:00
yexo
cafe07dde8 (svn r20200) -Fix [FS#3930]: terraform and extra viewport hotkeys didn't work in the scenario editor (jawsper) 2010-07-21 13:11:11 +00:00
yexo
c5f12c337d (svn r20199) -Fix [FS#3964]: NewGRFs that defined a vehicle without either loaded or loading groups could crash OpenTTD 2010-07-21 11:29:59 +00:00
translators
7484eba2db (svn r20198) -Update from WebTranslator v3.0:
chuvash - 39 changes by mefisteron
portuguese - 31 changes by ABCRic, SupSuper
2010-07-20 17:45:08 +00:00
rubidium
d28515d16c (svn r20197) -Fix [FS#3963]: GetNearbyTileInformation can be used to get the terrain type of a MP_VOID tile. 2010-07-19 23:51:22 +00:00
terkhen
34c580ee96 (svn r20196) -Fix: Remove autofocus of the edit box in the world generation window. 2010-07-19 20:57:13 +00:00
terkhen
4b921170b8 (svn r20195) -Fix [FS#3891]: Remove autofocus of the edit box in the found town window (Zuu). 2010-07-19 20:52:14 +00:00
rubidium
1062330ba1 (svn r20194) -Fix: compilation with network disabled failed 2010-07-19 17:46:53 +00:00
translators
658dc6b931 (svn r20193) -Update from WebTranslator v3.0:
chuvash - 15 changes by mefisteron
indonesian - 9 changes by prof
korean - 6 changes by junho2813
norwegian_bokmal - 15 changes by CyberKenny
portuguese - 58 changes by SupSuper
brazilian_portuguese - 15 changes by Tucalipe
russian - 1 changes by Lone_Wolf
2010-07-19 17:45:22 +00:00
rubidium
9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium
6ef7b78c8b (svn r20191) -Codechange: unVARDEF _tick_counter and move it to a more logical location 2010-07-19 17:24:33 +00:00
rubidium
60b93f5c69 (svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld 2010-07-19 17:17:36 +00:00
rubidium
3744fda3c1 (svn r20189) -Codechange: unVARDEF _display_opt and move it to a more logical location 2010-07-19 17:13:46 +00:00
rubidium
54ec48f7ce (svn r20188) -Codechange: unVARDEF the _[config|log|highscore]_file variables and move them to a more logical location 2010-07-19 17:11:09 +00:00
rubidium
035d0ef16b (svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name 2010-07-19 17:00:54 +00:00
rubidium
2ab8035604 (svn r20186) -Codechange: remove VARDEF from _realtime_tick and _rightclick_emulate 2010-07-19 16:21:49 +00:00
rubidium
cd5bc729d4 (svn r20185) -Codechange: reduce the scope of _palette_animation_counter 2010-07-19 16:05:29 +00:00
rubidium
4a2901eea4 (svn r20184) -Codechange: make _trees_tick_ctr and _disaster_delay not use VARDEF and put them in a more logical location 2010-07-19 15:51:06 +00:00
rubidium
8894ae2ccb (svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location 2010-07-19 15:44:49 +00:00
translators
1441de3950 (svn r20180) -Update from WebTranslator v3.0:
chuvash - 65 changes by mefisteron
korean - 16 changes by junho2813
portuguese - 11 changes by SupSuper
ukrainian - 3 changes by Madvin
2010-07-18 17:45:14 +00:00
translators
c4c6ccb1eb (svn r20176) -Update from WebTranslator v3.0:
chuvash - 19 changes by mefisteron
greek - 9 changes by fumantsu
indonesian - 7 changes by prof
italian - 13 changes by lorenzodv
swedish - 2 changes by tool
turkish - 7 changes by niw3
2010-07-17 17:45:19 +00:00
frosch
fb0ac38f3d (svn r20175) -Change: [NewGRF] Adapt vehicle var FE bit 6 to new railtypes. 2010-07-17 15:38:51 +00:00
frosch
de785d2875 (svn r20174) -Codechange [FS#3955]: Allow horizontal resizing for all vehicle lists. 2010-07-17 15:06:28 +00:00
frosch
d8e9cbc77d (svn r20173) -Codechange: Make the normal vehiclelist fit the longest action dropdown text. 2010-07-17 15:03:07 +00:00
frosch
ca5acaa616 (svn r20172) -Codechange: Use BaseVehicleListWindow::BuildActionDropdownList() also for the normal vehicle list. 2010-07-17 14:58:35 +00:00
frosch
598b0e6be6 (svn r20171) -Fix: Make the group list action dropdown also use vehicletype-specific texts like the normal vehicle list. 2010-07-17 14:53:46 +00:00
frosch
ea4bb0bec0 (svn r20170) -Codechange: Add BaseVehicleListWindow::GetActionDropdownSize(). 2010-07-17 14:47:54 +00:00
frosch
d10c265d75 (svn r20169) -Codechange: Replace ShowGroupActionDropdown() with BaseVehicleListWindow::BuildActionDropdownList(). 2010-07-17 14:36:36 +00:00
michi_cc
eeaa6995e6 (svn r20167) -Add: Vehicle var 4A to the NewGRF debug window. 2010-07-16 19:39:38 +00:00
rubidium
0ca6c03b1e (svn r20166) -Fix [FS#3949]: do not scan /data and ~/data (if they happen to be your working directory). If it's the directory where your binary is located it will still scan them. 2010-07-16 19:32:39 +00:00
michi_cc
3ad7f8b455 (svn r20165) -Feature: [NewGRF] Information (var 4A) about the current railtype a train is on. 2010-07-16 19:02:59 +00:00
rubidium
1b507dcf66 (svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as "base" unit for aircraft speeds 2010-07-16 17:45:34 +00:00
translators
ad1dde1bd9 (svn r20163) -Update from WebTranslator v3.0:
dutch - 3 changes by habell
hungarian - 2 changes by IPG
irish - 6 changes by tem
portuguese - 18 changes by ABCRic
russian - 73 changes by Lone_Wolf, perk11
ukrainian - 8 changes by Fixer
2010-07-16 17:45:21 +00:00
rubidium
489c169291 (svn r20162) -Fix [FS#3954]: integer comparison failed in case the difference was more than "MAX_UINT"/2 2010-07-16 17:42:58 +00:00
rubidium
d63751f8e5 (svn r20160) -Merge: changelog updates from the 1.0 branch 2010-07-16 08:20:33 +00:00
rubidium
b673d7cd3a (svn r20159) -Change: clarify use of OpenTTD directories and don't use the "TTD" abbreviation for Transport Tycoon Deluxe (parts by planetmaker) 2010-07-15 22:30:38 +00:00
rubidium
0acdea15ca (svn r20158) -Fix (r20155): error in Russian language file 2010-07-15 22:21:46 +00:00
rubidium
28a43a711d (svn r20157) -Fix [FS#3950]: make it *very* clear that saveconfig doesn't save the configuration of a running savegame to openttd.cfg, but the one that would be used for new games 2010-07-15 20:43:47 +00:00
michi_cc
8ac286f229 (svn r20156) -Fix [FS#3937]: [YAPP] Converting a one-way block to a path signal with trains on both sides could lead to a train crash. 2010-07-15 19:15:21 +00:00
translators
120312d999 (svn r20155) -Update from WebTranslator v3.0:
simplified_chinese - 4 changes by pda1573
traditional_chinese - 15 changes by josesun
chuvash - 10 changes by mefisteron
croatian - 8 changes by VoyagerOne
finnish - 65 changes by jpx_
french - 3 changes by glx
german - 3 changes by planetmaker
irish - 2 changes by tem
polish - 5 changes by amateja
russian - 110 changes by perk11
serbian - 5 changes by etran
slovak - 3 changes by keso53
spanish - 1 changes by Terkhen
2010-07-15 17:45:44 +00:00
frosch
6820cd1488 (svn r20153) -Fix (r20125): Make the snowchecks for clear land and trees consistent with the other tiletypes. 2010-07-14 20:26:01 +00:00
frosch
ca8a953395 (svn r20152) -Fix: Silence a gcc warning. 2010-07-14 20:24:45 +00:00
terkhen
9f14507ec5 (svn r20150) -Cleanup: Remove an unused function header. 2010-07-14 19:37:04 +00:00
rubidium
bb21d277ff (svn r20147) -Change: make some of the english strings more consistent with eachother and OpenTTD's behaviour 2010-07-14 19:22:53 +00:00
translators
6e60207636 (svn r20146) -Update from WebTranslator v3.0:
simplified_chinese - 110 changes by pda1573
traditional_chinese - 2 changes by pda1573
chuvash - 25 changes by mefisteron
czech - 1 changes by Hadez
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
hungarian - 3 changes by IPG
irish - 38 changes by tem
russian - 1 changes by Lone_Wolf
slovak - 20 changes by keso53
spanish - 2 changes by Terkhen
2010-07-14 17:45:38 +00:00
rubidium
5e83d73679 (svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering is disabled and there is no handled right click event for the widget, i.e. if a widget would handle the right click you won't see the tooltip anymore by right clicking; by enabling hovering you would get access to that tooltip again. 2010-07-14 17:36:27 +00:00
terkhen
6154b346e3 (svn r20144) -Feature: Allow to configure the delay of hover events, or to disable them completely. 2010-07-14 15:08:31 +00:00
terkhen
39e5c7e526 (svn r20143) -Codechange: Remove RecalcShipStuff function. 2010-07-14 12:27:51 +00:00
terkhen
5dfe48f2ce (svn r20142) -Fix [FS#3880]: Ships were not marked as dirty when stopping inside a depot. 2010-07-14 12:20:48 +00:00
terkhen
67f32213b1 (svn r20141) -Fix: Initialize the state of OnKeyPress at the AI debug window (Zuu). 2010-07-14 12:03:30 +00:00
terkhen
83d7a38c95 (svn r20140) -Fix: Initialize the state of OnKeyPress at the world generation window (Zuu). 2010-07-14 12:01:40 +00:00
terkhen
bec213d60b (svn r20139) -Fix [FS#3902]: Found town window ignored all hotkeys (Zuu). 2010-07-14 11:43:46 +00:00
rubidium
a690872333 (svn r20138) -Change: also put the base set version number in the crash log 2010-07-14 09:06:41 +00:00
rubidium
4f7ad57c98 (svn r20137) -Fix [FS#3945]: desync due to (temporary) wrong railtype; when loading a savegame the railtype of some (high ID) trains could be wrong.
After loading the vehicle data in the trains are updated, but after that the "electrification" checks are done which can change the "global" vehicle data. However, this update is not propagated to the vehicles until the consist is updated, e.g. turning around and going to a depot.
This makes some of the trains of a just joined client run as non-electrified trains which can cause it to take a wrong path or to not (randomly) show the electric sparks.
2010-07-13 23:33:31 +00:00
rubidium
59fa346cbf (svn r20136) -Codechange: check more of the vehicle caches (when desync debug is turned on) 2010-07-13 20:12:44 +00:00
translators
8edd47f588 (svn r20135) -Update from WebTranslator v3.0:
simplified_chinese - 26 changes by pda1573
traditional_chinese - 6 changes by josesun
dutch - 10 changes by habell
romanian - 10 changes by kkmic
serbian - 5 changes by etran
2010-07-13 17:45:18 +00:00
truebrain
03a7b789b9 (svn r20134) -Revert (r20131): OOM is a nasty person 2010-07-12 21:21:05 +00:00
frosch
0a01f91f54 (svn r20133) -Revert (r20130): Vehicles could deadlock themself in roadstops. 2010-07-12 19:36:06 +00:00
frosch
4e34b1b9fb (svn r20132) -Fix [FS#3944](r20126): There can also be halftile foundations on slopes with opposite corners raised. 2010-07-12 18:15:37 +00:00
translators
ad9116c735 (svn r20131) -Update from WebTranslator v3.0:
bulgarian - 6 changes by kokobongo
korean - 5 changes by junho2813
portuguese - 9 changes by ABCRic
russian - 9 changes by Lone_Wolf
2010-07-12 17:45:14 +00:00