alberth
6a3dbaf99a
(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.
2010-03-06 13:23:33 +00:00
terkhen
ef5764f98a
(svn r19349) -Add: [NoAI] AIs can get the power, weight and tractive effort of a road vehicle.
2010-03-06 13:04:25 +00:00
terkhen
3ed1442e05
(svn r19348) -Add: Allow to sort road vehicles by power and by power vs running cost at the engine preview window.
2010-03-06 13:03:17 +00:00
terkhen
be3b839ded
(svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles.
2010-03-06 12:59:28 +00:00
terkhen
b443a3ee0a
(svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%.
2010-03-06 12:58:33 +00:00
terkhen
c958c2c31f
(svn r19345) -Feature: Realistic acceleration for road vehicles.
2010-03-06 12:56:57 +00:00
terkhen
e770b3d6bb
(svn r19344) -Codechange: RoadVehicle uses UpdateInclination instead of its own function.
2010-03-06 12:55:56 +00:00
terkhen
06a3faa651
(svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.
...
-Add: Required acceleration functions at RoadVehicle.
2010-03-06 12:54:42 +00:00
terkhen
a5f9a7c1a5
(svn r19342) -Codechange: Move inclination update functions to GroundVehicle.
2010-03-06 12:52:44 +00:00
terkhen
4e6cac84d6
(svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
...
-Codechange: Move GetSlopeResistance to GroundVehicle.
2010-03-06 12:50:55 +00:00
terkhen
1c3b7c35a7
(svn r19340) -Documentation: Add a list of required functions to GroundVehicle.
2010-03-06 12:45:47 +00:00
terkhen
07c373d60a
(svn r19339) -Codechange: Move acceleration functions to GroundVehicle.
2010-03-06 12:44:30 +00:00
terkhen
e4a5a556b4
(svn r19338) -Codechange: Move the acceleration cache to GroundVehicle.
2010-03-06 12:42:53 +00:00
terkhen
f428102092
(svn r19337) -Codechange: Create the GroundVehicle class.
2010-03-06 12:41:18 +00:00
terkhen
b5714c3597
(svn r19336) -Codechange: Move rail speed limit to its own function.
2010-03-06 12:27:23 +00:00
alberth
d4b748e27e
(svn r19335) -Codechange: StationRect::BeforeAddTile() returns a CommandCost.
2010-03-06 12:15:03 +00:00
alberth
993c9e6f62
(svn r19334) -Codechange: method-call codestyle fixes, and introduction of const reference formal parameter.
2010-03-06 11:54:59 +00:00
alberth
c7a5695d9d
(svn r19333) -Fix (r19328): int versus uint comparison warning fixed.
2010-03-06 11:08:39 +00:00
peter1138
77fe7e0a74
(svn r19332) -Codechange: Simplify sound panning by using float data, and switch to sinusoidal algorithm to maintain output level.
2010-03-06 11:08:31 +00:00
yexo
1eb52326cf
(svn r19331) -Fix: when deleting an airport the size from the AirportSpec was used instead of the stored airport size
...
-Fix (r19319): detecting if a plane was landed at an airport failed
-Fix: reset the airporttile mapping when restarting a game
2010-03-06 01:58:55 +00:00
yexo
46d5ef925b
(svn r19330) -Cleanup: remove the now unused 'oilrig' from AirportSpec
2010-03-06 00:38:21 +00:00
yexo
d69a43af4a
(svn r19329) -Codechange: language updates for the previous commits
2010-03-05 23:22:31 +00:00
yexo
b8d7680e66
(svn r19328) -Feature: a more extendable gui for building airports
2010-03-05 23:21:56 +00:00
yexo
585b036c90
(svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed
2010-03-05 23:21:51 +00:00
yexo
c42e2a9bfc
(svn r19326) -Codechange: store the airport name as property in AirportSpec
2010-03-05 23:21:41 +00:00
yexo
a71462bb94
(svn r19325) -Codechange: introduce airport classes and split the default airports in 4 classes
2010-03-05 23:21:35 +00:00
yexo
d03d990f33
(svn r19324) -Codechange: introduce AirportSpec::GetWithoutOverride to get a non-const pointer to a given airportspec
2010-03-05 23:21:30 +00:00
yexo
664934e6f6
(svn r19323) -Codechange: copy the AirportSpec original array to an internal array in AirportSpec
2010-03-05 23:21:23 +00:00
yexo
308781664b
(svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9
2010-03-05 23:20:02 +00:00
rubidium
833169d894
(svn r19321) -Codechange [FS#3630]: unify the rail station widget descriptions (sbr)
2010-03-05 22:48:58 +00:00
alberth
71d28afe67
(svn r19320) -Fix (r19291): Forgot to set error message.
2010-03-05 21:34:12 +00:00
alberth
c395b93acd
(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.
2010-03-05 21:20:22 +00:00
yexo
0bfd06245b
(svn r19318) -Fix [FS#3661](r19198): crash when building an airport at a station where a plane was headed
2010-03-05 19:19:29 +00:00
translators
c4cf153c52
(svn r19317) -Update from WebTranslator v3.0:
...
croatian - 15 changes by UnderwaterHesus
estonian - 58 changes by irve
indonesian - 1 changes by fanioz
brazilian_portuguese - 3 changes by Tucalipe
2010-03-05 18:45:15 +00:00
alberth
f747b980c6
(svn r19316) -Fix (r19186): Give correct error when failing to flatten land.
2010-03-04 21:35:26 +00:00
yexo
4d5125f0c4
(svn r19315) -Fix (r19295): Show the filename in the newgrf windows if the newgrf name is not empty
2010-03-04 20:07:39 +00:00
translators
4ddcd2ebc2
(svn r19314) -Update from WebTranslator v3.0:
...
simplified_chinese - 7 changes by Gavin
frisian - 43 changes by Fopper
greek - 13 changes by fumantsu
hungarian - 1 changes by Petert
korean - 45 changes by dlunch
luxembourgish - 5 changes by Phreeze
russian - 19 changes by LazyBoy
serbian - 27 changes by etran
2010-03-04 18:45:29 +00:00
rubidium
1e6c2576cc
(svn r19308) -Change [FS#3655]: Increase the default small font size for freetype fonts as 6 point fonts are usually unreadable
2010-03-03 20:16:55 +00:00
peter1138
1025d003b3
(svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet.
2010-03-03 19:07:34 +00:00
peter1138
c3d3e7d383
(svn r19306) -Change: Railtype cost factor from byte to word value
2010-03-03 18:58:32 +00:00
translators
4963296f03
(svn r19305) -Update from WebTranslator v3.0:
...
afrikaans - 3 changes by burgerd
malay - 1 changes by Kwokfu
russian - 1 changes by Lone_Wolf
serbian - 27 changes by etran
thai - 7 changes by decoze
2010-03-03 18:45:16 +00:00
glx
4167a5b647
(svn r19304) -Fix [FS#3652]: disable sound when a sound error happen instead crashing
2010-03-02 23:11:23 +00:00
frosch
4559dfe7e7
(svn r19303) -Codechange: Silence a gcc warning.
2010-03-02 20:31:05 +00:00
translators
0ed2e41f45
(svn r19302) -Update from WebTranslator v3.0:
...
german - 1 changes by planetmaker
italian - 41 changes by lorenzodv
korean - 1 changes by junho2813
malay - 19 changes by Kwokfu
serbian - 18 changes by etran
swedish - 24 changes by accatyyc
2010-03-02 18:45:21 +00:00
michi_cc
e4824c4293
(svn r19301) -Feature: [YAPF] Consider the railtype imposed speed limit for pathfinding.
2010-03-02 03:31:02 +00:00
yexo
3cda09170c
(svn r19299) -Codechange: store the most compatible ttd airport type in AirportSpec
...
-Fix: [NewGRF] return the ttd airport type in station var 0xF1
2010-03-01 20:17:21 +00:00
yexo
fe5bb036a0
(svn r19298) -Fix: [NewGRF] segfault when station vars 0xF2/0xF3 is accessed when there is no truck/bus stop
2010-03-01 19:53:28 +00:00
frosch
5152cb1a26
(svn r19297) -Codechange: Variable scope and documentation of DoCreateNewIndustry().
2010-03-01 19:34:04 +00:00
translators
9f6f03fce3
(svn r19296) -Update from WebTranslator v3.0:
...
afrikaans - 12 changes by Kayos
traditional_chinese - 1 changes by josesun
dutch - 1 changes by habell
esperanto - 22 changes by Ailanto, kristjan
greek - 1 changes by fumantsu
italian - 2 changes by lorenzodv
russian - 4 changes by LazyBoy, Lone_Wolf
serbian - 73 changes by etran
turkish - 3 changes by niw3
vietnamese - 21 changes by myquartz
2010-03-01 18:45:35 +00:00
yexo
404df87b1f
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
2010-02-28 20:28:08 +00:00
frosch
333249ce50
(svn r19294) -Change: [NoAI] Remove HasNext() from all lists/iterators and add IsEnd() instead.
2010-02-28 20:25:03 +00:00
frosch
ac1a08ef4a
(svn r19293) -Fix [FS#3566]: Some methods of AIAbstractList left invalid iterators.
2010-02-28 19:53:11 +00:00
translators
b3f2f3e278
(svn r19292) -Update from WebTranslator v3.0:
...
afrikaans - 1 changes by Kayos
croatian - 1 changes by VoyagerOne
danish - 1 changes by silentStatic
esperanto - 46 changes by Ailanto, kristjan
french - 1 changes by glx
hebrew - 1 changes by dnd_man
hungarian - 8 changes by Petert
italian - 1 changes by lorenzodv
lithuanian - 1 changes by BlinK_
norwegian_bokmal - 18 changes by mantaray
norwegian_nynorsk - 54 changes by mantaray
polish - 64 changes by silver_777
portuguese - 2 changes by JayCity
romanian - 1 changes by tonny
serbian - 3 changes by etran
slovak - 1 changes by keso53
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-02-28 18:45:56 +00:00
alberth
63dd6ce6b0
(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status.
2010-02-28 18:15:19 +00:00
alberth
993d82b879
(svn r19289) -Codechange: Move _error_message assignment from check routine to caller.
2010-02-28 10:47:46 +00:00
alberth
8408b42dee
(svn r19288) -Codechange: Move EnsureNoVehicleOnGround() and HasVehicleOnTunnelBridge() functions.
2010-02-28 10:44:53 +00:00
alberth
f73898a4ef
(svn r19287) -Fix [FS#3650] (r19263): Don't store a boolean in a CommandCost.
2010-02-28 09:44:35 +00:00
michi_cc
eae120361d
(svn r19286) -Fix (r18648): [YAPP] If reversing at path signals was disabled, a train would not reverse when hitting the back of an one-way signal.
2010-02-28 08:18:20 +00:00
frosch
3926b62446
(svn r19283) -Fix (r19256): GRFConfig is not zeroed for non-dynamic construction. GRFIdentifier is sufficient though.
2010-02-27 20:26:42 +00:00
alberth
d7698bb6db
(svn r19282) -Doc: Add some doxygen doc markup.
2010-02-27 19:53:37 +00:00
rubidium
981ad67020
(svn r19281) -Fix (r19280): typo in Hungarian caused compile failure of the language
2010-02-27 18:57:01 +00:00
translators
bf9806c594
(svn r19280) -Update from WebTranslator v3.0:
...
catalan - 10 changes by arnau
esperanto - 89 changes by Ailanto, kristjan
finnish - 1 changes by jpx_
greek - 17 changes by vesnikos
hebrew - 1 changes by dnd_man
hungarian - 507 changes by IPG
russian - 1 changes by Lone_Wolf
slovenian - 1 changes by ntadej
turkish - 1 changes by niw3
ukrainian - 6 changes by Madvin
2010-02-27 18:45:34 +00:00
alberth
566f87b2de
(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost.
2010-02-27 17:42:55 +00:00
rubidium
e338c26504
(svn r19277) -Fix [FS#3646]: [NewGRF] Ensure prices can't be set to zero. Zero prices break a lot of the internal logic to determine whether something has been done.
2010-02-27 16:27:28 +00:00
terkhen
d9b2bf78c5
(svn r19276) -Fix [FS#3649](r19229): Newly built road stops were not always repainted.
2010-02-27 16:27:15 +00:00
alberth
b8f811c7ff
(svn r19275) -Codechange: CanExpandRailStation() returns a CommandCost.
2010-02-27 14:17:33 +00:00
alberth
fee81aedcb
(svn r19274) -Codechange: CmdBuildAirport() returns the 'too spread out' error via CommandCost, if needed.
2010-02-27 14:03:06 +00:00
alberth
a4927dcd21
(svn r19273) -Codechange: Return station joining error message when error is detected.
2010-02-27 13:51:11 +00:00
alberth
2ac558494c
(svn r19272) -Doc: successfull -> successful.
2010-02-27 12:29:44 +00:00
alberth
13f1836149
(svn r19271) -Fix (r19270): Secondary error messages start with ... .
2010-02-27 12:21:34 +00:00
alberth
011ff40030
(svn r19270) -Codechange: Forward CommandCost results through CreateNewIndustryHelper().
2010-02-27 12:12:01 +00:00
alberth
b33264f30f
(svn r19269) -Codechange: PerformIndustryTileSlopeCheck() returns a succeeded or failed command.
2010-02-27 10:21:59 +00:00
translators
1c66ce9ea3
(svn r19268) -Update from WebTranslator v3.0:
...
traditional_chinese - 4 changes by elleryq
esperanto - 272 changes by Ailanto, kristjan
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
indonesian - 11 changes by fanioz
italian - 1 changes by lorenzodv
polish - 11 changes by amateja
romanian - 15 changes by kkmic, kneekoo
serbian - 21 changes by etran
slovak - 2 changes by keso53
spanish - 1 changes by Terkhen
2010-02-26 18:51:01 +00:00
rubidium
45f34a4203
(svn r19265) -Fix [FS#3618]: "Can't build <industry> here... <industry> in the way" showed the to-be-built industry twice, instead of the to-be-built industry and the industry that's in the way
2010-02-26 10:08:16 +00:00
rubidium
eb220617d5
(svn r19264) -Fix (r19179): strgen segfaults when trying to lookup the command for a non-existing command
2010-02-26 10:03:33 +00:00
rubidium
425ac1ec1f
(svn r19263) -Fix (r19184): some specific industry creation errors got replaced by 'site unsuitable'.
2010-02-26 09:55:53 +00:00
rubidium
0f6d82df7e
(svn r19262) -Feature: finalise BaNaNaS support for music sets
2010-02-26 00:00:55 +00:00
smatz
7b1e0a4b67
(svn r19260) -Codechange: another minor coding style fix
2010-02-25 22:59:24 +00:00
terkhen
17288d6c80
(svn r19259) -Fix (r19230): Road stops were not removed in case of bankruptcy.
2010-02-25 21:43:28 +00:00
smatz
ebab6120e6
(svn r19257) -Codechange: minor coding style fix
2010-02-25 21:13:50 +00:00
yexo
7ff55502f0
(svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized
2010-02-25 20:06:11 +00:00
yexo
a9c8dbc0a0
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
2010-02-25 20:05:31 +00:00
yexo
4377b5fd44
(svn r19254) -Codechange: simplify newgrf text code by introducing a few helper functions
2010-02-25 20:00:11 +00:00
translators
e2aed3664d
(svn r19253) -Update from WebTranslator v3.0:
...
afrikaans - 1 changes by Kayos
traditional_chinese - 5 changes by Kwokfu
croatian - 8 changes by VoyagerOne
czech - 2 changes by SmatZ
danish - 21 changes by beruic, silentStatic
dutch - 1 changes by habell
esperanto - 13 changes by kristjan
french - 1 changes by glx
hungarian - 1 changes by IPG
korean - 1 changes by junho2813
lithuanian - 1 changes by Devastator
norwegian_bokmal - 17 changes by mantaray
norwegian_nynorsk - 135 changes by mantaray
portuguese - 8 changes by SupSuper
brazilian_portuguese - 24 changes by Tucalipe, leandromoh
russian - 2 changes by Lone_Wolf
slovenian - 1 changes by ntadej
swedish - 19 changes by daishan
turkish - 4 changes by niw3
vietnamese - 5 changes by myquartz
2010-02-25 18:46:00 +00:00
rubidium
88f9ab5b9c
(svn r19252) -Fix [FS#3639]: writing (console) output to a file failed on Windows if the date would not be logged.
2010-02-25 18:26:55 +00:00
yexo
2c1b7410f3
(svn r19251) -Codechange: add a contructor to GRFError and use it to allocating errors more uniform.
...
-Fix: some grf error messages didn't free the previous error messages, creating a memory leak
2010-02-25 15:54:40 +00:00
rubidium
14d28c5e69
(svn r19250) -Fix [FS#3643]: with RTL languages clicking a horizontal scrollbar that could not scroll could cause a crash
2010-02-25 14:53:22 +00:00
smatz
1ad5e1cece
(svn r19249) -Fix [FS#3642](r18803): start and end tiles were swapped in CMD_REMOVE_LONG_ROAD
2010-02-25 14:09:58 +00:00
rubidium
77214378ca
(svn r19248) -Fix: DOS 'port' did not compile anymore
2010-02-25 13:06:00 +00:00
yexo
1a89a5fc92
(svn r19247) -Codechange: Rename methods to fit better to common style (skidd13)
2010-02-25 11:52:04 +00:00
yexo
433e1d884c
(svn r19246) -Doc: CBinaryHeapT (skidd13)
2010-02-25 11:51:38 +00:00
yexo
0973a9e624
(svn r19245) -Codechange: apply coding style to binary heap (skidd13)
2010-02-25 11:50:58 +00:00
yexo
87ff9ebd7b
(svn r19244) -Codechange: Remove function call if consistency-check is not used (skidd13)
2010-02-25 11:50:30 +00:00
yexo
09335c74a2
(svn r19243) -Codechange: rename var's to fit better to common style (skidd13)
2010-02-25 11:49:17 +00:00
yexo
dd03cd54ee
(svn r19242) -Codechange: Perfer pointer instead of reference (skidd13)
...
-Cleanup: merge PopHead() and RemoveHead() into Shift()
2010-02-25 11:48:50 +00:00
yexo
7537fb18bc
(svn r19241) -Cleanup: Move the HeapifyUp code into its own method (skidd13)
2010-02-25 11:48:09 +00:00
yexo
eeb8189745
(svn r19240) -Codechange: Unify HeapifyUp code (skidd13)
2010-02-25 11:47:44 +00:00
yexo
b4c51f2ccd
(svn r19239) -Cleanup: Move the HeapifyDown code into its own method (skidd13)
2010-02-25 11:47:18 +00:00
yexo
7e403a761d
(svn r19238) -Codechange: Unify the HeapifyDown code (skidd13)
2010-02-25 11:46:41 +00:00
yexo
48ee211c1e
(svn r19237) -Codechange: use types directly and prefer uint instead of int (skidd13)
2010-02-25 11:46:20 +00:00
yexo
cc413b8f6e
(svn r19236) -Codechange: move method code into class definition (skidd13)
2010-02-25 11:45:47 +00:00
peter1138
f9709a6f50
(svn r19235) -Add: [NewGRF] Add 2 bits of pseudo-random data for rail types, based on tile location.
2010-02-25 09:43:00 +00:00
rubidium
4cde66a547
(svn r19233) -Fix: the -M command line option did not work
2010-02-24 22:41:51 +00:00
terkhen
ba82d7d9a5
(svn r19232) -Fix (r19231): Forbid overbuilding drive-through stops using a different orientation.
2010-02-24 22:40:43 +00:00
terkhen
a4a66ec1aa
(svn r19231) -Feature: Allow overbuilding of road stops.
2010-02-24 21:55:03 +00:00
terkhen
aba24e44cf
(svn r19230) -Feature: Allow to remove multiple road stops using drag and drop.
2010-02-24 21:53:16 +00:00
terkhen
70b1bc5048
(svn r19229) -Feature: Allow to build multiple road stops using drag and drop (Based on Wolf01 work)
2010-02-24 21:51:59 +00:00
terkhen
f7f08c586f
(svn r19228) -Codechange: Move an additional check from CmdBuildRoadStop to CheckFlatLandRoadStop.
2010-02-24 21:47:06 +00:00
terkhen
524a10b375
(svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop.
2010-02-24 21:45:23 +00:00
translators
44e5cb41e7
(svn r19226) -Update from WebTranslator v3.0:
...
afrikaans - 31 changes by Kayos
catalan - 9 changes by arnau
dutch - 7 changes by habell
esperanto - 112 changes by Ailanto
german - 1 changes by planetmaker
italian - 6 changes by lorenzodv
korean - 2 changes by junho2813
portuguese - 2 changes by JayCity
russian - 1 changes by Lone_Wolf
serbian - 3 changes by etran
slovak - 67 changes by keso53
2010-02-24 18:45:34 +00:00
smatz
e26f96fee6
(svn r19225) -Feature: show warnings and errors in console as well, not only in a message box
2010-02-24 14:50:04 +00:00
smatz
f051066bc4
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
2010-02-24 14:46:15 +00:00
translators
c1e2bc90cd
(svn r19221) -Update from WebTranslator v3.0:
...
afrikaans - 44 changes by Kayos
croatian - 4 changes by VoyagerOne
finnish - 7 changes by jpx_
french - 6 changes by glx
frisian - 35 changes by Fopper
galician - 45 changes by Condex
german - 1 changes by planetmaker
hebrew - 12 changes by dnd_man
hungarian - 8 changes by IPG, alyr
italian - 5 changes by lorenzodv
lithuanian - 8 changes by BlinK_
norwegian_bokmal - 13 changes by mantaray
norwegian_nynorsk - 29 changes by mantaray
brazilian_portuguese - 2 changes by leandromoh
romanian - 3 changes by kkmic
russian - 6 changes by Lone_Wolf
slovenian - 14 changes by ntadej
spanish - 8 changes by Terkhen
vietnamese - 2 changes by myquartz
2010-02-23 18:45:58 +00:00
rubidium
fa6ef9d45d
(svn r19219) -Fix: having OpenMSX's files in a subdirectory did not work as it should.
2010-02-23 15:51:26 +00:00
frosch
63b01f2009
(svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F and 11. (Eddi)
2010-02-22 21:46:20 +00:00
frosch
fee0743ba9
(svn r19217) -Codechange: Unify punctuation marks.
2010-02-22 20:55:13 +00:00
frosch
e0171330c1
(svn r19216) -Feature: Scroll to current order destination when ctrl+clicking the start/stop bar.
2010-02-22 20:53:45 +00:00
frosch
3222ace3e1
(svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code.
2010-02-22 20:36:20 +00:00
yexo
da0c4868ee
(svn r19213) -Change: warn if a fallback sound set is loaded and tell the user where to download a proper sound setd
2010-02-22 20:19:17 +00:00
yexo
3b9da089e5
(svn r19212) -Fix: base graphics set with an empty filename in the obg file caused segfaults
2010-02-22 20:18:59 +00:00
yexo
1810351813
(svn r19211) -Change: allow sound sets without a sample.cat file (blathijs)
2010-02-22 20:18:38 +00:00
frosch
945d2c08e0
(svn r19210) -Fix: GetDestination() is invalid for nearest-depot orders.
2010-02-22 20:08:16 +00:00
translators
a90f160511
(svn r19209) -Update from WebTranslator v3.0:
...
traditional_chinese - 2 changes by josesun
dutch - 6 changes by habell
finnish - 1 changes by jpx_
french - 2 changes by glx
german - 1 changes by planetmaker
hebrew - 5 changes by dnd_man
hungarian - 1 changes by alyr
korean - 1 changes by junho2813
norwegian_bokmal - 69 changes by mantaray
norwegian_nynorsk - 56 changes by mantaray
serbian - 4 changes by etran
slovak - 16 changes by keso53
slovenian - 9 changes by ntadej
spanish - 1 changes by Terkhen
thai - 151 changes by m_vanillaconix, nirakanz
vietnamese - 1 changes by nglekhoi
2010-02-22 18:45:49 +00:00
yexo
beec6fa9e2
(svn r19208) -Codechange: fix a gcc warning
2010-02-22 16:32:50 +00:00
smatz
b1151645c0
(svn r19207) -Fix (r19127): compilation was broken for gcc 3.3
2010-02-22 16:24:38 +00:00
rubidium
03e5434e63
(svn r19206) -Add: concept of fallback base sets, i.e. do not automatically load the NoMusic/NoSound sets when there is another set
2010-02-22 16:24:23 +00:00
yexo
dd7c2b2f9d
(svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp
2010-02-22 16:09:26 +00:00
yexo
5ebc0a16c8
(svn r19204) -Fix (r1919x): airport tiles without animation had an incomplete contructor
2010-02-22 16:08:31 +00:00
smatz
077fa11b3e
(svn r19203) -Codechange: silence some gcc warnings
2010-02-22 16:02:37 +00:00
yexo
cfc1571931
(svn r19201) -Codechange: airport tiles now have 4 random bits per tile.
2010-02-22 14:17:33 +00:00
yexo
06dc421f2a
(svn r19199) -Codechange: add a 'name'-property to airport tiles
2010-02-22 14:17:17 +00:00
yexo
698737f485
(svn r19198) -Codechange: store the size of stations in savegames
2010-02-22 14:17:07 +00:00
yexo
7ca4c31cf5
(svn r19197) -Codechange: introduce animation callbacks for airport tiles
2010-02-22 14:16:57 +00:00
yexo
61fe40ba73
(svn r19196) -Codechange: change the airport tile animation info so it works just like for industry tiles
2010-02-22 14:16:50 +00:00
yexo
880fedc192
(svn r19195) -Codechange: actually draw newgrf airport tiles
2010-02-22 14:16:41 +00:00
yexo
80fb5c70c8
(svn r19194) -Feature: action 0/1/2/3 support for newgrf airporttiles
2010-02-22 14:16:19 +00:00
yexo
683ad53d21
(svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager
2010-02-22 14:15:48 +00:00
yexo
3530156e15
(svn r19192) -Fix (r19191): forgot to svn add the new file
2010-02-22 14:15:28 +00:00
yexo
40f6e69ae9
(svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h
2010-02-22 14:09:30 +00:00
alberth
5052777d0b
(svn r19190) -Add: Improve error message with track building when signals are in the way.
2010-02-21 20:55:31 +00:00
alberth
2b07389fe6
(svn r19189) -Codechange: CheckTrackCombination() returns a CommandCost.
2010-02-21 20:34:57 +00:00
translators
5488a2c1a8
(svn r19188) -Update from WebTranslator v3.0:
...
arabic_egypt - 1 changes by kasakg
catalan - 1 changes by arnau
esperanto - 59 changes by Ailanto
hungarian - 8 changes by IPG
luxembourgish - 2 changes by Phreeze
brazilian_portuguese - 1 changes by leandromoh
thai - 138 changes by nirakanz
vietnamese - 10 changes by myquartz
2010-02-21 18:45:26 +00:00
yexo
e6e2e8b473
(svn r19187) -Fix [FS#3634]: the vehicle info in the autoreplace gui was drawn even when the window was shaded
2010-02-21 17:52:43 +00:00
alberth
04087c1bf0
(svn r19186) -Codechange: Remove use of _error_message from CmdLevelLand().
2010-02-21 17:02:28 +00:00
alberth
82a4d532b6
(svn r19185) -Codechange: Return succeeded or failed CommandCost from CheckIfCallBackAllowsCreation().
2010-02-21 17:01:23 +00:00
alberth
c4f67de69c
(svn r19184) -Codechange: Return succeeded/failed command from CheckIfIndustryTilesAreFree().
2010-02-21 15:27:11 +00:00
alberth
676a8bda3e
(svn r19183) -Codechange: Return CommandCost from FindTownForIndustry().
2010-02-21 14:57:27 +00:00
alberth
50bdd29758
(svn r19182) -Codechange: Use CommandCost return value in CheckIfIndustryIsAllowed() and CheckIfFarEnoughFromIndustry().
2010-02-21 13:32:14 +00:00
rubidium
2a65f9e4d0
(svn r19180) -Add/Fix: (partial) support for genders for cargos, industries, vehicles, stations, ...; partial because you can't set a gender for a custom string.
2010-02-20 23:42:11 +00:00
rubidium
44f2ef179d
(svn r19179) -Codechange: make strgen do some checking on whether genders are valid for a command (e.g. we don't have genders for numbers)
2010-02-20 23:02:03 +00:00
rubidium
e2adecd927
(svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC.
2010-02-20 22:58:25 +00:00
yexo
045bee5229
(svn r19176) -Fix [FS#3632] (r17859): when selecting "build many industries" in the scenario editor the "build" button wasn't enabled
2010-02-20 21:21:54 +00:00
frosch
9d3be49bd3
(svn r19174) -Fix: Buoys are no Stations, only BaseStations.
2010-02-20 21:00:19 +00:00
translators
304c9297ed
(svn r19173) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
esperanto - 170 changes by Ailanto
turkish - 8 changes by niw3
2010-02-20 18:45:12 +00:00
terkhen
2ae5590f63
(svn r19172) -Codechange: Move road checks from CmdBuildRoadStop to CheckFlatLandRoadStop.
2010-02-20 18:28:21 +00:00
terkhen
d1cce94525
(svn r19171) -Codechange: Split CheckFlatLandBelow into different functions.
2010-02-20 18:12:56 +00:00
terkhen
6b849b5483
(svn r19170) -Codechange: Make CheckFlatLandBelow use TileArea.
2010-02-20 17:56:05 +00:00
terkhen
8a4f1133d8
(svn r19169) -Codechange: Move buildable tile checks outside of CheckFlatLandBelow.
2010-02-20 17:39:51 +00:00
rubidium
9c6512ef9e
(svn r19168) -Fix: under some circumstances timidity (via extmidi) would not shut down properly causing all kinds of trouble (e.g. blocked audio output). Try harder to shut down timidity and first shut down the music so shut down order is the inverse of initialisation order. Based on a patch by Jindřich Makovička.
2010-02-20 17:30:22 +00:00
frosch
e905cb57d8
(svn r19167) -Fix [FS#3631](r19120): Industry 0 could be choosen even if not available.
2010-02-20 16:17:45 +00:00
yexo
7c51a82020
(svn r19166) -Change: don't print the absolute path to AI script files in the AI debug window, use the relative path from /ai/ instead
2010-02-20 13:28:56 +00:00
yexo
85856abb7c
(svn r19165) -Fix [FS#3629]: vehicle running costs shouldn't be changed in a running game
2010-02-19 23:29:47 +00:00
translators
6d9e112b05
(svn r19164) -Update from WebTranslator v3.0:
...
arabic_egypt - 2 changes by kasakg
bulgarian - 19 changes by Tvel
catalan - 2 changes by arnau
czech - 4 changes by Hadez
galician - 9 changes by Condex
hungarian - 8 changes by alyr
norwegian_bokmal - 15 changes by mantaray
norwegian_nynorsk - 18 changes by mantaray
slovak - 150 changes by keso53
vietnamese - 5 changes by myquartz
2010-02-19 18:45:32 +00:00
translators
a97083097e
(svn r19163) -Update from WebTranslator v3.0:
...
korean - 2 changes by junho2813
norwegian_bokmal - 29 changes by mantaray
norwegian_nynorsk - 37 changes by mantaray
polish - 3 changes by xaxa
portuguese - 2 changes by SupSuper
ukrainian - 14 changes by Madvin
2010-02-18 18:45:22 +00:00
yexo
3a36964734
(svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage
2010-02-18 18:04:02 +00:00
yexo
1abc0db336
(svn r19160) -Codechange: Enlarge a CBinaryHeapT if the heap is full instead of dropping the added item
...
-Fix: CBinaryHeapT::CheckConsistency compared pointers instead of the actual items (skidd13)
2010-02-18 14:23:18 +00:00
rubidium
3c5d19e411
(svn r19158) -Fix (r19149): MSVC 64 bits compile warning
2010-02-18 01:10:04 +00:00
frosch
f02d6783e9
(svn r19154) -Fix: Invisible depots draw the track, so also draw the overlays.
2010-02-17 21:19:33 +00:00
frosch
239279e795
(svn r19153) -Fix [FS#pm](r19056): PBS reservation was drawn incorrectly for depots.
2010-02-17 21:07:32 +00:00
translators
afd6fe547e
(svn r19152) -Update from WebTranslator v3.0:
...
lithuanian - 2 changes by
romanian - 2 changes by tonny
2010-02-17 18:45:10 +00:00
rubidium
ef90fa7d02
(svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan)
2010-02-17 16:45:55 +00:00
rubidium
9f27959fcd
(svn r19150) -Fix (r19143): some more locations could use updating
2010-02-17 15:31:46 +00:00
rubidium
a6112670d0
(svn r19149) -Codechange: make our vsnprintf implementation for Windows more POSIX compliant (adf88)
2010-02-17 15:07:09 +00:00
rubidium
1b0e78c588
(svn r19148) -Fix [FS#3627]: [v]seprintf should return the number of added characters excluding '\0' on truncation (adf88)
2010-02-17 13:55:08 +00:00
translators
fa6942a4fa
(svn r19147) -Update from WebTranslator v3.0:
...
all - update layout to latest english.txt
hebrew - 2 changes by dnd_man
indonesian - 1 changes by prof
lithuanian - 2 changes by
norwegian_bokmal - 35 changes by mantaray
norwegian_nynorsk - 76 changes by mantaray
2010-02-17 12:16:33 +00:00
alberth
dec02fad59
(svn r19146) -Codechange: Use CommandCost in industry checking routines.
2010-02-16 22:01:23 +00:00
translators
50532eb3f4
(svn r19145) -Update from WebTranslator v3.0:
...
french - 2 changes by glx
galician - 25 changes by Drenghist
lithuanian - 2 changes by
slovak - 4 changes by keso53
2010-02-16 18:45:16 +00:00
rubidium
997d52fc69
(svn r19143) -Codechange: trunk's going for 1.1 now.
2010-02-16 00:07:15 +00:00
rubidium
3626eb340e
(svn r19141) -Fix [FS#3619] (r18421): look-ahead for multitile waypoints 'made up' data that shouldn't go into the cache, causing desyncs in MP
2010-02-15 23:55:04 +00:00
alberth
80225cf246
(svn r19140) -Codechange: Move variables closer to their first use.
2010-02-15 19:52:40 +00:00
translators
966f186bf8
(svn r19139) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
czech - 12 changes by Hadez
dutch - 2 changes by habell
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hebrew - 2 changes by dnd_man
hungarian - 1 changes by alyr
lithuanian - 4 changes by BlinK_
norwegian_bokmal - 20 changes by mantaray
norwegian_nynorsk - 195 changes by mantaray
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovak - 21 changes by keso53
slovenian - 1 changes by ntadej
spanish - 1 changes by Terkhen
2010-02-15 18:45:47 +00:00
alberth
c0933e825a
(svn r19138) -Codechange: Rename CheckMultipleIndustryInTown() to FindTownForIndustry().
2010-02-15 11:04:27 +00:00
alberth
6553f49991
(svn r19137) -Add: Report a more useful error when failing to build a bubble generator.
2010-02-15 10:28:40 +00:00
alberth
bb5261a075
(svn r19136) -Doc: Added Doxygen comments for industry checking procedures.
2010-02-15 09:49:10 +00:00
translators
ef59270375
(svn r19135) -Update from WebTranslator v3.0:
...
italian - 1 changes by lorenzodv
lithuanian - 2 changes by
norwegian_bokmal - 1 changes by mantaray
norwegian_nynorsk - 127 changes by mantaray
russian - 1 changes by Lone_Wolf
slovak - 199 changes by keso53
spanish - 1 changes by Terkhen
2010-02-14 18:45:24 +00:00
frosch
30b215a82b
(svn r19134) -Fix (r16983, r17219): YAPF debug output was quite broken.
2010-02-14 18:33:57 +00:00
rubidium
d0122644af
(svn r19133) -Fix [FS#3621]: [Mac OS X] --enable-desync-debug failed compiling (planetmaker)
2010-02-14 16:52:15 +00:00
alberth
33a96b5ef3
(svn r19132) -Codechange: No need to end a line with ;;.
2010-02-14 16:31:35 +00:00
alberth
ac65c41509
(svn r19131) -Doc: Add doxygen comments to some economy variables and constants.
2010-02-14 15:58:10 +00:00
alberth
7dcc414000
(svn r19130) -Codechange: Use references and inlining in CommandCost.
2010-02-14 15:44:21 +00:00
alberth
8641f08df3
(svn r19129) -Fix [FS#3623] (r19122): Don't draw cargo ratings/acceptance when the window is shaded.
2010-02-14 15:35:44 +00:00
alberth
e8d40d6a19
(svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this.
2010-02-14 15:30:08 +00:00
frosch
151babee57
(svn r19127) -Codechange: Add printf-like warnings to more functions.
2010-02-14 13:01:33 +00:00
frosch
d757f81646
(svn r19126) -Codechange: Silence a warning.
2010-02-14 13:01:07 +00:00
frosch
b0496c339f
(svn r19125) -Fix (r18809): Compiling with desync-debug failed.
2010-02-13 20:13:34 +00:00
translators
f36fc2c80d
(svn r19124) -Update from WebTranslator v3.0:
...
traditional_chinese - 3 changes by josesun
english_US - 35 changes by agenthh
esperanto - 27 changes by Ailanto
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hungarian - 51 changes by IPG
icelandic - 55 changes by antonsigur
indonesian - 9 changes by fanioz
lithuanian - 2 changes by
norwegian_bokmal - 229 changes by mantaray
norwegian_nynorsk - 2 changes by mantaray
portuguese - 9 changes by JayCity
brazilian_portuguese - 14 changes by Tucalipe, leandromoh
russian - 7 changes by
serbian - 5 changes by etran
slovenian - 1 changes by ntadej
2010-02-13 18:45:51 +00:00
alberth
09327c2e69
(svn r19123) -Fix [FS#3617]: Resize station cargo widget when needed to display all accepted cargo types.
2010-02-13 18:44:03 +00:00
alberth
1737292d07
(svn r19122) -Codechange: Move cargo drawing to StationViewWindow::OnPaint().
2010-02-13 18:41:31 +00:00
alberth
df920582af
(svn r19121) -Codechange: Introduce a variable for the height of the ratings and accepted cargo widgets.
2010-02-13 18:39:00 +00:00
frosch
e7106d8121
(svn r19120) -Fix: [NewGRF] Industry property 0x17 was interpreted incorrectly and in some cases circumvented the density difficulty setting.
...
-Change: Do not scale the number of industry creations during map creation with the number of available industry types.
-Feature: [NewGRF] Implement special industry flag 0x10000.
2010-02-13 14:06:01 +00:00
rubidium
9c02767a92
(svn r19119) -Fix [FS#3616]: removing towns (in the scenario editor) that had stations/depots refer to them or vehicles were on the town's road could cause a crash
2010-02-13 14:02:36 +00:00
alberth
c1b40ee5e0
(svn r19118) -Fix [FS#3593]: Some buttons in the order gui were raised too soon.
2010-02-13 14:00:45 +00:00
terkhen
ff80df980a
(svn r19117) -Fix [FS#3593]: The Non-stop dropdown wasn't enabled for depot and waypoint orders.
2010-02-13 10:33:05 +00:00
rubidium
f6dfce6d59
(svn r19114) -Change: [strgen] Modify the outputted format for MSVC builds of strgen so it also shows fatal errors in the 'error list' and it also counts them. (Fatal) errors are marked as warnings so a failing language file is not causing the complete compilation to fail.
2010-02-12 23:47:50 +00:00
rubidium
b1cce3f70f
(svn r19113) -Change: [strgen] Remove the partially generated language file if compilation fails.
2010-02-12 23:45:25 +00:00
smatz
66837b1edd
(svn r19112) -Fix [FS#3611]: don't crash on broken lng file
2010-02-12 23:39:44 +00:00
rubidium
171dbb7831
(svn r19111) -Fix (r19070): the station view didn't show acceptance anymore
2010-02-12 21:43:58 +00:00
translators
e412dfedca
(svn r19109) -Update from WebTranslator v3.0:
...
catalan - 13 changes by arnau
croatian - 1 changes by VoyagerOne
french - 1 changes by glx
lithuanian - 2 changes by
norwegian_nynorsk - 71 changes by mantaray
polish - 5 changes by silver_777
russian - 15 changes by Lone_Wolf
slovak - 27 changes by keso53
slovenian - 6 changes by ntadej
vietnamese - 39 changes by myquartz, nglekhoi
2010-02-12 18:45:34 +00:00
rubidium
3108101cb2
(svn r19106) -Codechange: change 'const static' -> 'static const' for consistency (1 vs 2900 cases); some GCCs/ICCs are known to warn about the former case, but it's valid C++.
2010-02-12 17:31:40 +00:00
yexo
7d5cfa5884
(svn r19105) -Fix [FS#3614]: not all news data was properly freed when starting a new game
2010-02-12 16:42:29 +00:00
alberth
dd1c72d39a
(svn r19104) -Fix (r19039): Stablize main view centering in smallmap.
2010-02-12 13:46:41 +00:00
alberth
47295bb8b9
(svn r19103) -Codechange: Use px/py for pixel coordinates in PixelToTile(), as promised by the documentation.
2010-02-12 12:14:21 +00:00
alberth
464ad6b951
(svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons.
2010-02-12 10:40:29 +00:00
yexo
26005c55e5
(svn r19099) -Doc: two files had the wrong name in the @file comment
2010-02-11 20:52:56 +00:00
translators
826e8a92ef
(svn r19098) -Update from WebTranslator v3.0:
...
arabic_egypt - 101 changes by kasakg
croatian - 7 changes by VoyagerOne
czech - 8 changes by SmatZ
dutch - 2 changes by habell
finnish - 4 changes by jpx_
french - 12 changes by glx
hebrew - 12 changes by dnd_man
hungarian - 15 changes by IPG
indonesian - 2 changes by fanioz
italian - 2 changes by lorenzodv
korean - 2 changes by junho2813
lithuanian - 10 changes by BlinK_
luxembourgish - 2 changes by Phreeze
norwegian_bokmal - 5 changes by mantaray
norwegian_nynorsk - 225 changes by mantaray
portuguese - 1 changes by JayCity
romanian - 2 changes by tonny
serbian - 2 changes by etran
slovak - 99 changes by keso53
spanish - 6 changes by Terkhen
vietnamese - 4 changes by myquartz
2010-02-11 18:46:06 +00:00
rubidium
1217bb9411
(svn r19097) -Fix [FS#3610] (r10444): compilation error in the BeMidi driver (jrepan)
2010-02-11 17:13:57 +00:00
yexo
804a6894c5
(svn r19096) -Fix: segfault when one of the items in the news_display group in the config file has no value
2010-02-11 15:12:08 +00:00
yexo
f709290220
(svn r19095) -Fix: segfault when a baseset has an empty metadata field
2010-02-11 15:08:55 +00:00
yexo
6406b75b8f
(svn r19094) -Codechange: don't check for NULL values before calling StrEmpty
2010-02-11 14:58:51 +00:00
smatz
07409e6741
(svn r19093) -Codechange: do not prefix console debug output with 'condbg', [console] is enough
2010-02-10 23:38:43 +00:00
rubidium
32cdc157ee
(svn r19091) -Cleanup: remove some unneeded zeroing
2010-02-10 21:28:26 +00:00
rubidium
7a73a7490d
(svn r19090) -Codechange: some comment coding style fixes
2010-02-10 21:06:05 +00:00
rubidium
249acc9e4f
(svn r19089) -Codechange: some minor coding style
2010-02-10 20:53:23 +00:00
rubidium
aab7768a3e
(svn r19088) -Fix: some typos/spelling errors in the base 'translation'
2010-02-10 20:46:14 +00:00
rubidium
0072503496
(svn r19087) -Codechange: some typos in StringIDs
2010-02-10 20:20:18 +00:00
translators
1aee53ef6c
(svn r19086) -Update from WebTranslator v3.0:
...
traditional_chinese - 4 changes by josesun
dutch - 4 changes by habell
french - 3 changes by glx
german - 2 changes by planetmaker
greek - 4 changes by fumantsu
hebrew - 29 changes by dnd_man
hungarian - 2 changes by alyr
italian - 4 changes by lorenzodv
japanese - 25 changes by PouncingAnt
lithuanian - 34 changes by BlinK_
luxembourgish - 178 changes by Phreeze
romanian - 4 changes by kkmic
slovenian - 2 changes by ntadej
spanish - 2 changes by Terkhen
2010-02-10 18:45:45 +00:00
smatz
8cd83f87df
(svn r19085) -Codechange: simplify hooking of console commands
2010-02-10 18:18:08 +00:00
smatz
c5b34444af
(svn r19084) -Codechange: minor coding-style fixups
2010-02-10 17:37:47 +00:00
smatz
023fc16894
(svn r19083) -Cleanup: remove support for modifying variables from console
2010-02-10 17:32:39 +00:00
smatz
d8a0278cf2
(svn r19082) -Codechange: make 'developer' a regular setting
2010-02-10 17:01:03 +00:00
rubidium
21bd2722cd
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
2010-02-10 16:24:05 +00:00
smatz
78ce2858fc
(svn r19080) -Cleanup: remove unused _debug_ntp_level and _debug_ms_level
2010-02-10 16:12:54 +00:00
smatz
ac6ff0de9b
(svn r19079) -Codechange: use _debug_console_level instead of _stdlib_con_developer
2010-02-10 16:10:05 +00:00
rubidium
2fcab9d54e
(svn r19078) -Update: add cases to Hebrew (dnd_man)
2010-02-10 16:04:11 +00:00
smatz
91988f2722
(svn r19077) -Codechange: remove company_pw from console vars
2010-02-10 15:26:47 +00:00
terkhen
2329eacfe8
(svn r19076) -Codechange: Move graph functions to their own header.
2010-02-10 15:24:48 +00:00
smatz
73ed81b1c7
(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()
2010-02-10 15:17:27 +00:00
smatz
b91b3ac836
(svn r19074) -Change: when filtering list of settings and console commands, use strstr() instead of strncmp()
2010-02-10 13:52:10 +00:00
rubidium
4cd2ad0a5f
(svn r19073) -Fix (r15027): -a is not a command line parameter
2010-02-09 23:52:08 +00:00
rubidium
ab35d95b5a
(svn r19072) -Fix [FS#3599]: possible read/write after free when the client triggered the server to close the connection
2010-02-09 23:49:19 +00:00
rubidium
3c9c2f704f
(svn r19071) -Codechange: update the other language files for r19070 (sbr)
2010-02-09 21:50:16 +00:00
rubidium
29ce905bc2
(svn r19070) -Fix [FS#3607]: the station coverage text was not RTL language aware (sbr)
2010-02-09 21:48:57 +00:00
translators
169020051c
(svn r19068) -Update from WebTranslator v3.0:
...
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 4 changes by planetmaker
hebrew - 14 changes by dnd_man
hungarian - 4 changes by IPG, Petert, alyr
japanese - 16 changes by PouncingAnt
korean - 4 changes by junho2813
luxembourgish - 59 changes by Phreeze
norwegian_bokmal - 5 changes by mantaray
norwegian_nynorsk - 5 changes by mantaray
portuguese - 1 changes by JayCity
brazilian_portuguese - 49 changes by Tucalipe, leandromoh
russian - 5 changes by Lone_Wolf
serbian - 4 changes by etran
slovenian - 4 changes by ntadej
spanish - 4 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-02-09 18:45:53 +00:00
glx
fb207873c5
(svn r19067) -Fix [FS#3604]: remove Bidi control characters from the reordered text
2010-02-09 18:37:19 +00:00
yexo
e582d21981
(svn r19066) -Fix: settings that are part of the "ttdpatch flags" can cause desyncs if they're changed in network games
2010-02-09 16:22:13 +00:00
peter1138
bf862877a4
(svn r19065) -Fix [FS#3605]: Station offset multiplier was wrong.
2010-02-09 15:43:54 +00:00
terkhen
52312ea17f
(svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth).
2010-02-08 23:46:35 +00:00
yexo
3c627747d3
(svn r19063) -Codechange: type in constant name (andythenorth)
2010-02-08 23:05:29 +00:00
terkhen
b9f06f3f29
(svn r19062) -Codechange: Move smallmap related functions to their own header.
2010-02-08 21:19:41 +00:00
translators
0267acff62
(svn r19061) -Update from WebTranslator v3.0:
...
esperanto - 6 changes by Ailanto
galician - 37 changes by Condex
hebrew - 33 changes by dnd_man
luxembourgish - 57 changes by Phreeze
brazilian_portuguese - 53 changes by Tucalipe
2010-02-08 18:45:17 +00:00
peter1138
1bd72e28f0
(svn r19060) -Codechange: Draw custom depot sprites in GUI.
2010-02-08 16:07:46 +00:00
peter1138
898e879bd9
(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...)
2010-02-07 22:22:54 +00:00
translators
01474412fc
(svn r19055) -Update from WebTranslator v3.0:
...
basque - 8 changes by Thadah
danish - 22 changes by beruic
esperanto - 15 changes by Ailanto
hungarian - 1 changes by alyr
japanese - 15 changes by PouncingAnt
polish - 6 changes by xaxa
2010-02-07 18:45:19 +00:00
rubidium
f47f3a4157
(svn r19054) -Fix [FS#3598]: when banning yourself via rcon do not send the 'command response' to the client as the connection has already been terminated
2010-02-07 18:28:09 +00:00
frosch
fb9b833dc4
(svn r19053) -Codechange: Add an enum for the special flags of industry tiles. (based on andythenorth' work)
2010-02-07 12:04:44 +00:00
alberth
76dbdca2f8
(svn r19052) -Codechange: Remove the _smallmap_draw_procs array.
2010-02-07 11:58:35 +00:00
frosch
3c7dff4270
(svn r19051) -Codechange: Variable scope.
2010-02-06 20:50:50 +00:00
frosch
69184fdc79
(svn r19050) -Fix: Don't call callbacks for disabled industrytypes.
2010-02-06 20:41:27 +00:00
frosch
0ab6f60c62
(svn r19049) -Codechange: Deduplicate computing number of initial industries.
2010-02-06 20:19:59 +00:00
alberth
ec436a7615
(svn r19048) -Codechange: Pass the already queried effective tile type to the GetSmallMapPixels routines.
2010-02-06 19:24:51 +00:00
alberth
0e97146d4d
(svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines.
2010-02-06 19:22:29 +00:00
alberth
5cd81526d8
(svn r19046) -Codechange: Move retrieval of tile colour data in smallmap.
2010-02-06 19:18:09 +00:00
translators
9734124835
(svn r19045) -Update from WebTranslator v3.0:
...
danish - 1 changes by beruic
japanese - 38 changes by PouncingAnt
turkish - 77 changes by niw3
ukrainian - 1 changes by Madvin
vietnamese - 154 changes by myquartz
2010-02-06 18:45:17 +00:00
rubidium
78f31c1744
(svn r19044) -Codechange: don't load the 'new game' NewGRFs when you're certain the savegame wouldn't have been saved with them, i.e. don't load the 'new game' NewGRFs for TTO savegames.
2010-02-06 17:26:21 +00:00
alberth
da2722da36
(svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef.
2010-02-06 15:10:12 +00:00
alberth
4cf65e6e81
(svn r19042) -Add: Allow mousewheel zooming in smallmap.
2010-02-06 13:22:04 +00:00
alberth
a6e8c747c9
(svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps.
2010-02-06 13:19:46 +00:00
alberth
21589daea9
(svn r19040) -Codechange: Introduce inverse function of RemapCoords.
2010-02-06 13:14:40 +00:00
alberth
db6e077c8a
(svn r19039) -Feature: Add zoom-out to smallmap.
2010-02-06 13:12:59 +00:00
alberth
05388c953a
(svn r19038) -Codechange: Move TileArea methods to their own file.
2010-02-06 12:56:13 +00:00
alberth
21c3dd11bd
(svn r19027) -Doc: Document RemapCoords functions.
2010-02-06 09:30:30 +00:00
alberth
3f2c4d744a
(svn r19026) -Codechange: Move a constant computation out of the loop.
2010-02-06 09:27:04 +00:00
alberth
32db019d9e
(svn r19025) -Codechange: Rename DrawSmallMapStuff() to DrawSmallMapColumn().
2010-02-06 09:25:02 +00:00
rubidium
8ee4a6e7f2
(svn r19024) -Fix [FS#3577]: mass stopping/starting/autoreplacing gave empty errors when there were no vehicles
2010-02-05 21:51:26 +00:00
rubidium
67234a6a6f
(svn r19023) -Fix (r18807): city airport introduction date had become 5 years later
2010-02-05 21:49:56 +00:00
rubidium
64ead0b513
(svn r19022) -Fix (r18770): loading old (0.1-ish) savegames failed
2010-02-05 20:22:01 +00:00
rubidium
a126db6ea4
(svn r19021) -Fix [FS#3570]: don't NULL the pointers when saving the savegame on an error during saving; the savegame is still valid
2010-02-05 20:18:30 +00:00
translators
0c226b44a3
(svn r19020) -Update from WebTranslator v3.0:
...
basque - 125 changes by Thadah
croatian - 8 changes by UnderwaterHesus
danish - 8 changes by beruic, silentStatic
portuguese - 2 changes by SupSuper
romanian - 6 changes by kkmic
ukrainian - 6 changes by Madvin
vietnamese - 106 changes by myquartz
2010-02-05 18:45:22 +00:00
smatz
d62d0ac489
(svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() instead of CountBits() where possible
2010-02-05 17:05:58 +00:00
rubidium
7c1170668a
(svn r19017) -Doc: [NoAI] A parameter wasn't documented
2010-02-05 16:11:23 +00:00
terkhen
9cf602c7c1
(svn r19016) -Fix [FS#3591]: When removing roads, the player was also charged for removing the foundations.
2010-02-05 14:11:25 +00:00
rubidium
5d78e73445
(svn r19015) -Update: Vietnamese language settings
2010-02-05 10:47:07 +00:00
yexo
091d88f514
(svn r19014) -Add: [NoAI] AIOrder::[G|S]etStopLocation to get/set the stop location of trains in a rail station
2010-02-04 23:18:19 +00:00
yexo
d858264ca6
(svn r19012) -Fix (r19003): macos.h is not in video/cocoa/ but in os/macosx/.
2010-02-04 22:17:41 +00:00
rubidium
34fa63b8f5
(svn r19011) -Update: AI changelog
2010-02-04 22:14:11 +00:00
terkhen
9e03eb08a2
(svn r19010) -Codechange: Remove a now unneeded check at CmdBuildRailStation.
2010-02-04 21:09:29 +00:00
translators
afe2fe244d
(svn r19009) -Update from WebTranslator v3.0:
...
basque - 5 changes by Thadah
turkish - 62 changes by niw3
2010-02-04 18:45:09 +00:00
rubidium
d11bb39f43
(svn r19007) -Prepare: 1.0.0-beta4
2010-02-04 17:11:46 +00:00
rubidium
cc8fd6e910
(svn r19006) -Fix (r18970): default rail type determination failed causing 'A'/SHIFT-F4 not to work the first time. As rail types can now be anything the explicit options for the different railtypes have been removed, leaving the most used rail type and first/last available rail types.
2010-02-04 17:08:48 +00:00
rubidium
fbb9b4760a
(svn r19005) -Codechange: make animated cursors have a bit set instead of using negative numbers that are passed as uints, then cast again to be compared as ints before being inverted to be actually used. Also fixes a couple of 'integer conversion resulted in truncation' warnings ICC spewed.
2010-02-04 15:42:38 +00:00
rubidium
09730847ec
(svn r19004) -Codechange: silence ICC warning that 'integer conversion resulted in a change of sign'
2010-02-04 15:27:25 +00:00
rubidium
e62b122bb1
(svn r19003) -Fix [FS#3194]: [OSX] OS X 10.5+ does not (always?) handle 8bpp graphics in a suitable manner. This is actually not a fix but a nasty work around; you can still easily trigger the bug/issue by overriding the 'default' blitter choice (Brad Oliver). I can/have not test(ed) (including compiling) this fix.
...
Bjarni once suggested that 8bpp works for him on 10.5, so apparantly not all 10.5+ does not handle 8bpp graphics. Nevertheless, it seemed that for some systems the already existing 'does this support 8bpp' did not work, i.e. the OS API seemed to suggest that 8bpp worked when it actually did not. So, I don't know what is going on precisely here but it's definitely not nice to suggest that it supports 8bpp when it doesn't. So just ditch 8bpp support for anything that we suspect might not support 8bpp...
2010-02-04 14:32:12 +00:00
rubidium
36298c1454
(svn r19002) -Fix [FS#1140]: [OSX] Problems with scrolling touchpad (Peter Thorson). I can/have not test(ed) it, it cannot break non OSX builds.
2010-02-04 14:21:20 +00:00
rubidium
228da0ccd3
(svn r19001) -Fix: some GCC compile warnings
2010-02-04 13:35:20 +00:00
smatz
2b8f7f2078
(svn r19000) -Cleanup: remove redundant check
2010-02-04 00:40:11 +00:00
rubidium
68b908a27c
(svn r18999) -Change: update some of the defaults (Eddi)
2010-02-03 23:45:19 +00:00
rubidium
9f49882de7
(svn r18998) -Update: the credits
2010-02-03 23:08:46 +00:00
rubidium
d818c7c7b1
(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about
2010-02-03 21:45:48 +00:00
translators
a61cd5ad85
(svn r18995) -Update from WebTranslator v3.0:
...
greek - 8 changes by fumantsu
hebrew - 17 changes by dnd_man
russian - 6 changes by Lone_Wolf
2010-02-03 18:45:12 +00:00
rubidium
2db44fc18e
(svn r18994) -Change: content mirroring support (based on work by TrueBrain).
2010-02-03 18:42:23 +00:00
rubidium
c75f19f40b
(svn r18993) -Codechange: allow allocating multiple items in a SmallVector with one call.
2010-02-03 17:25:56 +00:00
rubidium
e437362c7b
(svn r18992) -Codechange: move the file opening/closing out of the content download function
2010-02-03 17:15:35 +00:00
rubidium
589aee0cee
(svn r18991) -Codechange: simplify memory management of DownloadSelectedContent
2010-02-03 17:12:19 +00:00
peter1138
f1458df1ca
(svn r18990) -Codechange: [NewGRF] Add rail type map bounds checking to RailType[Change|Reserve]Info().
2010-02-03 08:02:07 +00:00
peter1138
9950fc1ede
(svn r18989) -Codechange: [NewGRF] Initialise rail type map with default rail types.
2010-02-03 07:58:43 +00:00
yexo
39c1de23d6
(svn r18988) -Fix: [NewGRF] industry var A5 (=high 8 bits of var A4) returned the high 8 bits of var A2. Same problem for 9B/9A/98
2010-02-02 23:11:10 +00:00
terkhen
2798fdf082
(svn r18987) -Fix: [NoAI] Make building long rails fail for AIs if there is an obstacle in the way.
2010-02-02 22:27:03 +00:00
terkhen
b02a522038
(svn r18986) -Fix (r18803): Make building long roads fail for AIs if there is an obstacle in the way.
2010-02-02 21:25:01 +00:00
translators
8d4773be94
(svn r18985) -Update from WebTranslator v3.0:
...
basque - 1 changes by Thadah
hebrew - 33 changes by dnd_man
lithuanian - 1 changes by BlinK_
swedish - 8 changes by Chrill
vietnamese - 4 changes by nglekhoi
welsh - 3 changes by Rufus
2010-02-02 18:45:20 +00:00
terkhen
8849943da5
(svn r18984) -Add: Viewport place methods for dragging a line with limited size.
2010-02-01 23:13:15 +00:00
translators
615324130b
(svn r18983) -Update from WebTranslator v3.0:
...
traditional_chinese - 11 changes by josesun
dutch - 3 changes by habell
greek - 9 changes by fumantsu
lithuanian - 4 changes by BlinK_
norwegian_bokmal - 2 changes by CyberKenny
norwegian_nynorsk - 2 changes by mantaray
vietnamese - 5 changes by nglekhoi
2010-02-01 18:45:24 +00:00
smatz
78ffa78ee7
(svn r18981) -Change: show empty query after creating new group (instead of 'Group nnn')
2010-02-01 18:38:28 +00:00
rubidium
06e80d0a1f
(svn r18980) -Codechange: preceeding -> preceding (spelling)
2010-02-01 12:43:28 +00:00
matthijs
108b86282f
(svn r18979) -Fix: Typo in console save command output.
2010-02-01 12:29:49 +00:00
smatz
d155794605
(svn r18978) -Fix [FS#3584](r14753): possible invalid memory access when merging companies
2010-02-01 00:10:52 +00:00
terkhen
68fc39ea1d
(svn r18977) -Doc: Add comments to ViewportDragDropSelectionProcess.
2010-01-31 22:37:20 +00:00
frosch
c23e4e4538
(svn r18976) -Fix: Estimating the cost of removing statues could clear the presence flag in the town.
2010-01-31 20:56:24 +00:00
frosch
5f4f562d53
(svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused.
2010-01-31 20:55:10 +00:00
frosch
cbbe311cea
(svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run.
2010-01-31 20:28:36 +00:00
translators
8e6096931a
(svn r18973) -Update from WebTranslator v3.0:
...
catalan - 6 changes by arnau
hebrew - 8 changes by dnd_man
italian - 2 changes by lorenzodv
lithuanian - 12 changes by BlinK_
portuguese - 6 changes by JayCity
2010-01-31 18:45:18 +00:00
peter1138
2b820780a1
(svn r18972) -Add: [NewGRF] Per-rail type speed limits.
2010-01-31 13:17:29 +00:00
peter1138
2331ccd589
(svn r18971) -Fix: Train acceleration for original acceleration model wasn't updated if the train's power changed.
2010-01-31 12:56:32 +00:00
peter1138
990cbe6263
(svn r18970) -Codechange: Increase number of possible rail types to 16.
2010-01-30 21:59:22 +00:00
peter1138
32ef582c37
(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.
2010-01-30 21:49:22 +00:00
translators
84c6616ee0
(svn r18968) -Update from WebTranslator v3.0:
...
bulgarian - 5 changes by Tvel
czech - 3 changes by ReisRyos
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
hungarian - 4 changes by IPG
indonesian - 7 changes by fanioz
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
lithuanian - 6 changes by BlinK_
serbian - 2 changes by etran
slovenian - 3 changes by ntadej
spanish - 2 changes by Terkhen
vietnamese - 44 changes by myquartz
2010-01-30 18:45:45 +00:00
frosch
f9cebfcfc4
(svn r18967) -Fix (r18966): Never trust your copy&paste skills.
2010-01-30 18:43:14 +00:00
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
2010-01-30 18:34:48 +00:00
frosch
2f6fe85f23
(svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical.
2010-01-30 17:42:04 +00:00
frosch
af50e0a4cf
(svn r18964) -Change: Highlight the selected action for town authority, and do not duplicate the itemtext to the description.
2010-01-30 16:29:52 +00:00
terkhen
272f2cd93e
(svn r18963) -Codechange: Give AccelerationModel a generical name.
2010-01-30 16:27:35 +00:00
alberth
815eede0be
(svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly.
2010-01-30 15:29:35 +00:00
alberth
cdc6f5ddc1
(svn r18961) -Codechange: Simplifying and unduplicating code in smallmap.
2010-01-30 13:11:26 +00:00
terkhen
72f4bd818c
(svn r18960) -Codechange: Move acceleration-related values to a separated cache.
2010-01-30 10:41:15 +00:00
frosch
9e4a62d1ee
(svn r18959) -Feature: [NewGRF] Allow layering of multiple groundsprites in spritelayouts of stations, houses and industrytiles; so hacks with zero-sized bounding boxes are no longer needed and no longer cause trouble.
2010-01-30 10:08:39 +00:00
alberth
5c9cb9648b
(svn r18958) -Codechange: Merge smallmap remap functions.
2010-01-30 09:54:58 +00:00
alberth
ab4072ba8d
(svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow.
2010-01-30 09:32:48 +00:00
yexo
b7fc8b4979
(svn r18956) -Update: NoAI changelog
2010-01-29 23:59:38 +00:00
yexo
15016e3511
(svn r18955) -Feature: [NoAI] introduce GetBuildCost functions in several classes to get easier cost estimations before you start building
2010-01-29 23:56:42 +00:00
smatz
54f958c8e5
(svn r18954) -Fix (r18952): missing 'inline'
2010-01-29 23:54:00 +00:00
yexo
4c4d1e1bf6
(svn r18953) -Feature: [NoAI] allow editing AI settings while an AI is running
...
Only settings with the AICONFIG_INGAME flag can be editted in this way
2010-01-29 21:38:55 +00:00
yexo
dc714960e3
(svn r18952) -Fix (r18950): loading recent (=newer then title game) savegames failed
2010-01-29 21:06:35 +00:00
translators
b0349704b0
(svn r18951) -Update from WebTranslator v3.0:
...
czech - 8 changes by ReisRyos
dutch - 6 changes by Yexo
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 4 changes by planetmaker
greek - 7 changes by fumantsu
hungarian - 4 changes by Petert
korean - 4 changes by junho2813
norwegian_bokmal - 4 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
serbian - 4 changes by etran
slovenian - 4 changes by ntadej
spanish - 4 changes by Terkhen
vietnamese - 24 changes by myquartz
2010-01-29 18:45:45 +00:00
yexo
f381b91de0
(svn r18950) -Fix: make sure the values of settings loaded from a savegame are valid
2010-01-29 18:21:10 +00:00
yexo
f8b0ddd3ec
(svn r18949) -Fix (r18942): 'reduced plane crashes' were actually 'more plane crashes'
2010-01-29 17:56:36 +00:00
yexo
ea227aa033
(svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar
2010-01-29 15:50:56 +00:00
yexo
81882039e3
(svn r18947) -Fix [FS#1510]: after clicking move up/move down in the newgrf/ai the selected item could be out of range
2010-01-29 15:45:53 +00:00
yexo
a668e801e4
(svn r18946) -Fix: it was possible to change AI settings without changing to the custom difficulty level by using the query text window
2010-01-29 01:03:22 +00:00
yexo
a43a23b408
(svn r18945) -Codechange: typo
2010-01-29 00:11:30 +00:00
yexo
fae34ee719
(svn r18944) -Change [FS#3232]: use the highest version of an AI that can load the AI data from a savegame instead of the exact same version
2010-01-29 00:03:31 +00:00
yexo
d75b9f1642
(svn r18943) -Feature [FS#2885]: make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting)
2010-01-28 23:17:28 +00:00
yexo
fa01b25f74
(svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes
2010-01-28 22:34:14 +00:00
yexo
b689e3d6e4
(svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a train crashes
2010-01-28 22:06:13 +00:00
yexo
da3ff51759
(svn r18940) -Feature: make the crash position of aircraft a bit random by giving aircraft a chance to crash every tick they're breaking.
...
Slow aircraft will crash a bit less, fast aircraft might crash a bit more
2010-01-28 21:59:18 +00:00
terkhen
d4376779f8
(svn r18939) -Codechange [FS#3545]: Move train slope steepness to its own function.
2010-01-28 20:54:29 +00:00
frosch
294bc14652
(svn r18938) -Fix: Industrylayout's special water tile check did not properly check for crossing north border of map. Also don't consider MP_VOID tiles as water.
2010-01-28 19:41:45 +00:00
yexo
6be4560528
(svn r18937) -Fix (r15190): TileAddWrap didn't return INVALID_TILE for void tiles at the north border
2010-01-28 19:27:10 +00:00
translators
8ee96d4d45
(svn r18936) -Update from WebTranslator v3.0:
...
hungarian - 2 changes by IPG
indonesian - 5 changes by fanioz
spanish - 7 changes by yanok
vietnamese - 544 changes by myquartz
2010-01-28 18:45:16 +00:00
rubidium
c1c401b51b
(svn r18935) -Fix [FS#3551] (r18764): value of variables 90 and 91 weren't what NARS expects
2010-01-28 18:19:34 +00:00
glx
27491c5586
(svn r18934) -Fix (r18892, r18913): the deadlock should be definitively gone now
2010-01-28 13:49:20 +00:00
peter1138
08a24fcc31
(svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves.
2010-01-28 02:31:37 +00:00
peter1138
07b285c5ca
(svn r18932) -Codechange: Don't constantly redraw drop drop list.
2010-01-28 02:30:59 +00:00
frosch
a3168269f9
(svn r18931) -Fix: Disabling autoreplace rules might count invalid engines.
2010-01-27 20:54:05 +00:00
frosch
7b237ee607
(svn r18930) -Fix: [NoAI] Autoreplace is also valid for the default group.
2010-01-27 20:51:11 +00:00
frosch
ec9ac775bf
(svn r18929) -Fix [FS#3568]: Preserve some timetable related vehicle flags during autorenew/-replace.
2010-01-27 20:07:29 +00:00
frosch
9a1dddd137
(svn r18928) -Fix (r18304): The date in case of 'early arrival' was misaligned in the timetable GUI.
2010-01-27 19:52:08 +00:00
rubidium
9a4a120b6e
(svn r18927) -Change: move Vietnamese out of unfinished
2010-01-27 18:46:53 +00:00
translators
68344778e3
(svn r18926) -Update from WebTranslator v3.0:
...
romanian - 3 changes by kkmic
ukrainian - 2 changes by Madvin
vietnamese - 738 changes by myquartz
2010-01-27 18:45:13 +00:00
yexo
ea7c90d471
(svn r18925) -Fix (r18924): a waypoint can have a buoy but no rail waypoint tile
2010-01-27 13:06:58 +00:00
yexo
849e676410
(svn r18924) -Fix [NoAI]: AIOrder::GetOrderDestination could return a non-waypoint tile when the waypoint was a multitile waypoint
2010-01-27 12:45:41 +00:00
peter1138
cd6eac77c3
(svn r18923) -Fix [FS#3565]: Check source stationspec exists before copying layouts.
2010-01-27 10:17:09 +00:00
yexo
4df90cddee
(svn r18922) -Doc: add doxygen documentation to all functions in station_map.h
2010-01-26 23:25:28 +00:00
yexo
7f998ce80d
(svn r18921) -Codechange: make the preconditions for Get/Set CustomStationSpecIndex a bit more strict
2010-01-26 23:03:47 +00:00
translators
0bc1b736d7
(svn r18920) -Update from WebTranslator v3.0:
...
afrikaans - 4 changes by Maccie123
dutch - 3 changes by habell
vietnamese - 638 changes by myquartz
2010-01-26 18:45:11 +00:00
glx
918b3aff5e
(svn r18919) -Fix (r15371): strcasestr() return should not be const
2010-01-26 14:04:56 +00:00
translators
078e1edabc
(svn r18917) -Update from WebTranslator v3.0:
...
danish - 1 changes by Hatsen
lithuanian - 17 changes by BlinK_, Devastator
malay - 17 changes by toadhall
norwegian_bokmal - 84 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
polish - 1 changes by xaxa
swedish - 6 changes by tobjork
2010-01-25 18:45:23 +00:00
frosch
f379b0a1d9
(svn r18916) -Fix (r18809): Don't rely on 'time.h' being included via dark roads.
2010-01-25 17:22:06 +00:00
glx
32fa5384d2
(svn r18915) -Fix (r18912): use a macro for empty DrawTileSprites elements (and solve missing braces/initializer warnings)
2010-01-25 15:20:46 +00:00
glx
57718cc5a7
(svn r18913) -Fix (r18892): the deadlock was still possible
2010-01-25 00:43:51 +00:00
yexo
388c713f08
(svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame
2010-01-24 20:25:28 +00:00
yexo
6ff482f515
(svn r18911) -Fix (r18910): forgot to svn add the new file
2010-01-24 20:21:09 +00:00
yexo
de3c92dd06
(svn r18910) -Codechange: move the enum with airporttile names to table/airporttile_ids.h
2010-01-24 20:17:18 +00:00
translators
3a23e38898
(svn r18909) -Update from WebTranslator v3.0:
...
hebrew - 5 changes by dnd_man
norwegian_bokmal - 284 changes by mantaray
norwegian_nynorsk - 1 changes by mantaray
portuguese - 1 changes by JayCity
romanian - 2 changes by tonny
russian - 2 changes by Lone_Wolf
slovenian - 89 changes by ntadej
welsh - 2 changes by welshdragon
2010-01-24 18:45:28 +00:00
rubidium
3d0b3818dd
(svn r18908) -Fix [FS#3561]: on bankruptcy the company value did include the loan and as such the value at which you bought the company was too low
2010-01-24 11:05:26 +00:00
alberth
b2f9b0ac43
(svn r18907) -Cleanup: Smallmap was the last user of SetPixelIfEmpty().
2010-01-23 22:37:14 +00:00
alberth
d2fc24d61c
(svn r18906) -Codechange: Use start and end column position instead of a mask for drawing a column in the smallmap.
2010-01-23 22:32:30 +00:00
peter1138
c83d57f228
(svn r18905) -Fix (r18902): Compile error on 64-bit with gcc
2010-01-23 22:25:00 +00:00
michi_cc
a4f50de959
(svn r18904) -Fix: Writing LZO-compressed savegames would produce invalid files and potentially overwrite memory.
2010-01-23 22:23:45 +00:00
rubidium
299d405680
(svn r18902) -Fix [FS#3559]: the default button for the advanced settings didn't work
2010-01-23 19:33:18 +00:00
rubidium
afcce5ed90
(svn r18901) -Change: make the default button work again for the world generation window; previously it worked due to the bug fixed in r18899. Do not add it again for the town custom number because there is no default for that one.
2010-01-23 19:32:56 +00:00
rubidium
37b0a61b42
(svn r18900) -Document: that an empty string for OnQueryTextFinished means 'use default'
2010-01-23 19:30:53 +00:00
rubidium
2b82db72ef
(svn r18899) -Fix: the default button was enabled even when the ENABLE_DEFAULT flag wasn't set
2010-01-23 19:30:03 +00:00
translators
4d184e9b16
(svn r18898) -Update from WebTranslator v3.0:
...
italian - 2 changes by lorenzodv
japanese - 16 changes by PouncingAnt
korean - 1 changes by junho2813
lithuanian - 275 changes by BlinK_
norwegian_bokmal - 7 changes by Zhygometh
spanish - 4 changes by Terkhen
swedish - 91 changes by tobjork
2010-01-23 18:45:23 +00:00
frosch
4034f249db
(svn r18897) -Fix: Land area information read the stationspec also for non-rail-stationtiles, which is no longer valid since r18876.
2010-01-23 16:38:09 +00:00
rubidium
9e106dca81
(svn r18896) -Fix [FS#3558]: pressing cancel for the query windows of the world generation window caused the default to be set instead of no changes to the value
2010-01-23 15:53:09 +00:00
peter1138
00ffde86d2
(svn r18893) -Codechange: Replace grf_load_* with methods of ByteReader.
2010-01-23 13:17:30 +00:00
glx
a554b41452
(svn r18892) -Fix: in some rare case a deadlock could happen when stopping sound driver (windows)
2010-01-23 01:36:49 +00:00
peter1138
200dc6821f
(svn r18891) -Fix: Avoid duplicate path separator when searching for PNG files which prevented tar-lookups.
2010-01-22 23:55:20 +00:00
frosch
3df9caa86a
(svn r18890) -Codechange: Unify drawing of foundations for MP_UNMOVABLE.
2010-01-22 22:32:39 +00:00
frosch
bf65eb686e
(svn r18889) -Codechange: Use (GroundSprite|SpriteLayout)PaletteTransform() also for drawing of default industries. They are compatible since the bubblegenerator is also randomly recoloured.
2010-01-22 21:52:20 +00:00
frosch
6260d243ee
(svn r18888) -Codechange: Rename PALETTE_59[EF] to something more meaningful.
2010-01-22 18:47:29 +00:00
translators
7f09435239
(svn r18887) -Update from WebTranslator v3.0:
...
bulgarian - 120 changes by Tvel
catalan - 4 changes by arnau
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
korean - 1 changes by junho2813
serbian - 3 changes by etran
slovenian - 4 changes by ntadej
spanish - 1 changes by Terkhen
2010-01-22 18:45:31 +00:00
peter1138
16e621c939
(svn r18886) -Fix (r18884): Spurious casting
2010-01-22 15:34:22 +00:00
peter1138
bb71c61ee1
(svn r18885) -Fix (r18884): Industry tile layouts weren't completely freed on error.
2010-01-22 14:03:36 +00:00
peter1138
927f149ff2
(svn r18884) -Fix: [NewGRF] Perform bounds checking for all NewGRF data reads. Explicit length checks (which were not always correct) are no longer needed so these are removed to simplify code.
2010-01-22 13:02:15 +00:00
rubidium
7ec3d9a0c6
(svn r18883) -Codechange: warn in the difficulty and AI configuration window when setting the number of AIs to non-zero when you don't have AIs
2010-01-21 23:19:50 +00:00
rubidium
18446dd599
(svn r18882) -Change: default to zero AIs
2010-01-21 23:19:13 +00:00
rubidium
5ddf56f0e0
(svn r18881) -Codechange: make the AI debug window look nicer when not at its minimum size
2010-01-21 21:08:58 +00:00
yexo
b76a5669f5
(svn r18880) -Fix: aircraft can be send to an hangar when the target airport has one and when it can land, not only when it has a plane terminal
2010-01-21 19:31:25 +00:00
translators
fdfd0ab922
(svn r18879) -Update from WebTranslator v3.0:
...
portuguese - 2 changes by SupSuper
slovenian - 6 changes by ntadej
spanish - 149 changes by Terkhen
2010-01-21 18:45:13 +00:00
yexo
e80f4f20af
(svn r18878) -Fix [NewGRF]: crash when a newgrf used var62 in an industry tile chain when the industry tile was part of an original industry
2010-01-21 18:32:44 +00:00
yexo
d04441e3f7
(svn r18877) -Change: make the default size of the AI debug window bigger so the 'no ai found' message can be read completely without resizing
2010-01-21 17:13:09 +00:00
yexo
18e7ec6b3e
(svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles
2010-01-21 13:34:05 +00:00
rubidium
f608ad7baf
(svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables
2010-01-21 11:17:40 +00:00
rubidium
e130e4e9ba
(svn r18874) -Codechange: Change enum Sprites { to static const StringID = for each SPR_ entry and similar for cursors and palettes. This avoids the need for a cast in some places and thus provides better type-safety.
2010-01-21 01:46:40 +00:00
rubidium
db33e32b4d
(svn r18873) -Codechange: use PaletteID also in the blitter
2010-01-21 01:44:51 +00:00
rubidium
f94c83a387
(svn r18872) -Codechange: introduce PaletteID and use it
2010-01-21 01:38:13 +00:00
translators
05129cf138
(svn r18869) -Update from WebTranslator v3.0:
...
serbian - 2 changes by etran
slovenian - 49 changes by ntadej
2010-01-20 18:45:10 +00:00
frosch
107ad9bfe1
(svn r18868) -Fix [FS#3547](r18776): Wrong comparator.
2010-01-20 17:59:31 +00:00
translators
36bb4e19ae
(svn r18867) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
greek - 1 changes by fumantsu
spanish - 109 changes by Terkhen
2010-01-19 18:45:13 +00:00
rubidium
4d93b704d9
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
2010-01-18 22:57:21 +00:00
rubidium
a8749ffa5b
(svn r18864) -Fix [FS#3532]: town noise population settings could not be changed in-game
2010-01-18 21:44:31 +00:00
translators
a203eaf18f
(svn r18863) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
hebrew - 38 changes by dnd_man
polish - 1 changes by xaxa
spanish - 1 changes by Terkhen
ukrainian - 2 changes by Madvin
2010-01-18 18:45:20 +00:00
rubidium
b1bd106703
(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv
2010-01-18 15:41:38 +00:00
smatz
a39a446e8f
(svn r18861) -Doc: more doxygen documentation in genworld files
2010-01-18 14:58:32 +00:00
yexo
a1f28ec88b
(svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station
2010-01-18 14:32:47 +00:00
smatz
565ad802b1
(svn r18859) -Codechange: rename glwp_modes to GenenerateLandscapeWindowMode
2010-01-18 12:53:01 +00:00
yexo
bcec00fdbd
(svn r18858) -Codechange: use IsAirportTile where possible
2010-01-18 12:36:08 +00:00
yexo
ab68f08886
(svn r18857) -Codechange: don't rely on the fact that all airports are rectangular
2010-01-18 12:32:50 +00:00
smatz
84bc831e32
(svn r18856) -Codechange: do not call GetSlopeZInCorner() when there's no fence to draw
2010-01-18 12:09:25 +00:00
smatz
9fc910fbc2
(svn r18855) -Codechange: record compiler name and version in the crash log
2010-01-18 10:11:27 +00:00
rubidium
23a8d2239f
(svn r18854) -Codechange [FS#3539]: unconflict acceleration type as 'status' and rail property (Terhken)
2010-01-17 23:03:43 +00:00
smatz
11e3a00a23
(svn r18853) -Codechange: apply coding style to GenWorld's enums, structs and typedefs
2010-01-17 22:59:24 +00:00
rubidium
a271ef214b
(svn r18852) -Update: tweak date formatting of Hebrew
2010-01-17 22:56:47 +00:00
smatz
2469752559
(svn r18851) -Codechange: enumify number of steps needed to generate landscape
2010-01-17 21:40:35 +00:00
smatz
3850b5912f
(svn r18850) -Fix [FS#3540]: don't allow screen redraw when the landscape contains broken slopes
2010-01-17 20:28:08 +00:00
translators
75395dc8ce
(svn r18849) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 1 changes by jpx_
greek - 1 changes by fumantsu
norwegian_nynorsk - 1 changes by bjelleklang
slovenian - 96 changes by ntadej
2010-01-17 18:45:18 +00:00
rubidium
736c12f6ae
(svn r18848) -Fix (r18838): the original accelaration got broken
2010-01-17 16:52:35 +00:00
frosch
24e0945bc4
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
2010-01-17 15:05:25 +00:00
yexo
830af8ee77
(svn r18845) -Codechange: introduce AirportTileSpec and use it for animation
2010-01-17 14:22:07 +00:00
yexo
f920415752
(svn r18844) -Codechange: add GPL notice to src/table/airport_defaults.h
2010-01-17 12:48:09 +00:00
frosch
ae48ea16f9
(svn r18843) -Codechange: Only NewGRF supplied spritelayouts use SPRITE_MODIFIER_CUSTOM_SPRITE, so no extra tests needed.
2010-01-17 01:22:43 +00:00
frosch
d9d75c83d5
(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
2010-01-17 01:01:56 +00:00
frosch
707cf045f8
(svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker.
2010-01-17 00:51:18 +00:00
frosch
2e9529aff3
(svn r18840) -Codechange: Use DrawCommonTileSeq[InGUI] for roaddepot drawing.
2010-01-16 22:52:51 +00:00
frosch
381bf04bab
(svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI.
2010-01-16 22:44:03 +00:00
rubidium
719fb9803c
(svn r18838) -Codechange [FS#3524]: reorganisation of the train acceleration code plus some minor optimisations (Terkhen)
2010-01-16 22:30:04 +00:00
frosch
d27999e446
(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file.
2010-01-16 22:25:44 +00:00
rubidium
199091600a
(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen)
2010-01-16 22:16:28 +00:00
peter1138
df06c14f61
(svn r18835) -Fix: Large sounds could still cause an overflow with high sample rates, causing them to be cut off.
2010-01-16 22:15:02 +00:00
rubidium
15adbad2f4
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
2010-01-16 22:01:33 +00:00
peter1138
3a5e588f12
(svn r18833) -Cleanup: Const-ness and style
2010-01-16 20:59:58 +00:00
frosch
c07c7a3818
(svn r18832) -Fix: some indentation whitespace.
2010-01-16 20:51:35 +00:00
rubidium
251ffaa000
(svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report
2010-01-16 19:08:33 +00:00
translators
7e7ec4f250
(svn r18830) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 2 changes by IPG
slovenian - 144 changes by ntadej
2010-01-16 18:45:22 +00:00
peter1138
711dea210b
(svn r18829) -Codechange: Don't free memory from within audio mixer callback handler as it may be required to be real-time safe.
2010-01-16 17:47:26 +00:00
frosch
6101ad8396
(svn r18828) -Fix (r18823): Decrementing uints is different to ints.
2010-01-16 16:44:59 +00:00
alberth
ff11095916
(svn r18827) -Fix: Center main window using smallmap widget edge coordinates.
2010-01-16 15:24:00 +00:00
frosch
6465f02fba
(svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13)
2010-01-16 14:22:19 +00:00
frosch
84ece021fd
(svn r18825) -Codechange: Sometimes code is shorter if you do not use a function for deduplication. (skidd13)
2010-01-16 14:17:03 +00:00
frosch
e6faf06b68
(svn r18824) -Codechange: Turn some public members into protected ones. (skidd13)
2010-01-16 14:12:18 +00:00
frosch
085e9251c5
(svn r18823) -Codechange: Some uints for unsigned ints. (skidd13)
2010-01-16 14:02:22 +00:00
frosch
c7dafb9a26
(svn r18822) -Codechange: Rename YAPF-related container classes and their members to better fit other container classes. (skidd13)
2010-01-16 13:52:24 +00:00
rubidium
21fff6407d
(svn r18821) -Codechange: [Allegro] make the frequency and number of samples runtime configurable
2010-01-15 23:47:28 +00:00
rubidium
f74ce1890e
(svn r18820) -Codechange: [SDL] make the number of samples runtime configurable and increase the default slightly
2010-01-15 23:45:26 +00:00
rubidium
1a1797ec4d
(svn r18819) -Change [FS#3493]: be consistent with airport naming
2010-01-15 22:29:47 +00:00
rubidium
879668811c
(svn r18818) -Fix [FS#3526] (r18766): some train acceleration type conversions were missed
2010-01-15 22:21:50 +00:00
yexo
31d1e9c051
(svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert
2010-01-15 21:00:46 +00:00
yexo
72572a0586
(svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too
2010-01-15 20:20:24 +00:00
translators
785b7e3382
(svn r18814) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
polish - 5 changes by amateja
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
2010-01-15 18:45:15 +00:00
yexo
bd102b78ee
(svn r18813) -Codechange: deduplicate copying a newgrf config
2010-01-15 18:28:30 +00:00
rubidium
aaf0b4b46c
(svn r18812) -Codechange: make some functions in train.h functions of Train.
2010-01-15 18:23:52 +00:00
rubidium
55d1db5b28
(svn r18811) -Fix (r18803): also swap the parameters for the AI API
2010-01-15 18:22:57 +00:00
glx
aff659b0b7
(svn r18810) -Fix (r18809): broken win32 compilation with SDL
2010-01-15 17:59:09 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
yexo
f380a7239d
(svn r18808) -Cleanup: deplicate by using an existing function
2010-01-15 16:37:19 +00:00
yexo
d669801f1d
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
2010-01-15 12:08:08 +00:00
peter1138
c37d69d161
(svn r18806) -Codechange: Typo in comment
2010-01-15 11:56:31 +00:00
rubidium
ca167791b6
(svn r18805) -Codechange: move airport_movement.h to table/
2010-01-15 10:55:43 +00:00
rubidium
4ecb3eb33c
(svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD.
2010-01-14 23:06:41 +00:00
rubidium
c390e8f00e
(svn r18803) -Feature [FS#3318]: make building (long) roads work like building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen.
2010-01-14 23:05:07 +00:00
frosch
ed83388faa
(svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints.
2010-01-14 22:56:54 +00:00
rubidium
f89d6bea0e
(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
2010-01-14 21:48:42 +00:00
rubidium
83c8c562bb
(svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though.
2010-01-14 21:47:31 +00:00
translators
f42b435d28
(svn r18799) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
russian - 2 changes by Lone_Wolf
ukrainian - 3 changes by Madvin
2010-01-14 18:45:13 +00:00
belugas
1335914ec8
(svn r18798) -Codechange: Simplify use of parameter p2 by using the data it is represeting. Based on work by Terkhen
2010-01-14 15:52:26 +00:00
rubidium
66b900215a
(svn r18797) -Fix (r18781): building wagons didn't add them to a train
2010-01-13 21:49:15 +00:00
rubidium
7aeccb9bd0
(svn r18796) -Fix [FS#3521]: [SDL] possible deadlock when killing OpenTTD while starting it
2010-01-13 21:34:48 +00:00
translators
f43646cd7d
(svn r18795) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 190 changes by Hirundo
portuguese - 2 changes by JayCity
spanish - 1 changes by Terkhen
2010-01-13 18:45:15 +00:00
rubidium
f9d2ccf8db
(svn r18794) -Codechange: add local company and network 'state' to the crash log
2010-01-13 15:03:34 +00:00
translators
2868da2f57
(svn r18793) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 69 changes by Hirundo
german - 1 changes by planetmaker
russian - 2 changes by Lone_Wolf
2010-01-12 18:45:15 +00:00
rubidium
9c579a5adf
(svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter with a dedicated server
2010-01-12 18:09:48 +00:00
rubidium
70aad27dcb
(svn r18791) -Fix [FS#3504]: when copying an 'image' back into the buffer the 32bpp anim blitter triggered palette check of the whole window instead of only the part the got copied back
2010-01-12 16:38:48 +00:00
peter1138
c3fffe7496
(svn r18790) -Revert (r18001,r18177,FS#3515): Viewport could still jump under high CPU load. Revert as change caused more problems than it fixed.
2010-01-12 09:54:18 +00:00
rubidium
cb820e3da3
(svn r18789) -Codechange: when we're not in a network game we don't even need to consider undrawing the chat messages
2010-01-12 00:10:38 +00:00
rubidium
351eb4665c
(svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro.
2010-01-11 22:46:00 +00:00
rubidium
a535acb549
(svn r18787) -Fix [FS#3516]: crash when getting the tooltip of the industry amount in the world generation window
2010-01-11 20:58:52 +00:00
rubidium
a6ebc1a77e
(svn r18786) -Fix [FS#3507]: NoAI's custom implementation of DoCommandP has several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead.
2010-01-11 20:42:07 +00:00
rubidium
2365819312
(svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos.
2010-01-11 20:39:38 +00:00
rubidium
ebe99fd493
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
2010-01-11 20:32:32 +00:00
rubidium
3e5a87a52c
(svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable.
2010-01-11 20:21:56 +00:00
rubidium
6a047d2316
(svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there.
2010-01-11 20:00:14 +00:00
rubidium
2b97f38cd1
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
...
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11 18:46:09 +00:00
translators
48df0d4e06
(svn r18780) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 36 changes by
dutch - 60 changes by Hirundo
french - 1 changes by glx
2010-01-11 18:45:15 +00:00
rubidium
833c6f36f3
(svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical
2010-01-11 18:34:02 +00:00
michi_cc
de878fad31
(svn r18778) -Fix [FS#3483]: [YAPP] Remove a special check for two-sided signals when reserving a path as this causes trains to get stuck in front of them.
2010-01-11 00:02:14 +00:00
rubidium
f51aac3523
(svn r18777) -Codechange: remove some unused parameters from a function
2010-01-10 23:20:11 +00:00
frosch
d5fa74369a
(svn r18776) -Codechange: Use SmallVector to collect refit options.
2010-01-10 21:45:32 +00:00
rubidium
3ebec78900
(svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation.
2010-01-10 21:20:51 +00:00
frosch
fee0cebc46
(svn r18774) -Change: Consider callback 19 only broken after subcargos 0 to 255 have been used, instead of stopping at 15.
2010-01-10 20:33:10 +00:00
translators
632280e06e
(svn r18773) -Update from WebTranslator v3.0:
...
afrikaans - 6 changes by burgerd
croatian - 36 changes by
danish - 3 changes by mgarde
dutch - 86 changes by Hirundo
french - 1 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by xaxa
spanish - 4 changes by Terkhen
2010-01-10 18:45:27 +00:00
rubidium
aca2daf841
(svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression
2010-01-10 15:35:13 +00:00
rubidium
188c8ebd5c
(svn r18771) -Codechange: minor cleanups in saveload code
2010-01-10 14:57:05 +00:00
rubidium
f5053cee7e
(svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it.
2010-01-10 14:30:32 +00:00
rubidium
3ca0937c1c
(svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
2010-01-10 13:12:34 +00:00
translators
5afce5831d
(svn r18768) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
czech - 4 changes by ReisRyos
dutch - 61 changes by Hirundo
finnish - 1 changes by jpx_
indonesian - 43 changes by fanioz
malay - 227 changes by toadhall
spanish - 122 changes by Terkhen
2010-01-09 18:45:25 +00:00
rubidium
2f8b49134c
(svn r18767) -Fix: min/max income tooltips for the details performance statistics mentioned months whereas it should be quarters.
2010-01-09 18:44:46 +00:00
peter1138
1382964fa0
(svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property
2010-01-09 15:33:41 +00:00
rubidium
b9052fff9f
(svn r18765) -Fix [FS#3499] (r18750): crash when trying to show cargo payments when there are 'holes' in the cargospec array
2010-01-09 14:57:03 +00:00
rubidium
e4af35d316
(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way
2010-01-09 14:43:08 +00:00
rubidium
f65f276d10
(svn r18763) -Feature [FS#3095]: rerandomise AIs on reloading (via the debug window) when they were randomly chosen
2010-01-09 14:41:22 +00:00
yexo
7f6016031e
(svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses
2010-01-08 22:42:00 +00:00
frosch
5b422d0c64
(svn r18761) -Fix [FS#3497]: Spritelayouts do not need an Action 1 if only using default sprites.
2010-01-08 20:42:12 +00:00
frosch
a16edfebd9
(svn r18760) -Fix (rlots)[FS#3500]: Action 9 did not properly detect whether an Action 8 was encountered already.
2010-01-08 19:18:32 +00:00
yexo
da3decba52
(svn r18759) -Fix [NewGRF]: don't segfault when a newgrf contains an action2 and action3 but no action0
2010-01-08 19:14:33 +00:00
rubidium
37e2ea30a8
(svn r18758) -Change: move Malay to the 'finished' languages
2010-01-08 18:47:25 +00:00
translators
b6b34e2643
(svn r18757) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
simplified_chinese - 69 changes by EraserKing
croatian - 36 changes by
czech - 11 changes by ReisRyos
danish - 11 changes by beruic
hungarian - 2 changes by IPG
italian - 1 changes by lorenzodv
korean - 1 changes by junho2813
malay - 476 changes by toadhall
portuguese - 1 changes by JayCity
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 24 changes by ntadej
spanish - 11 changes by Terkhen
vietnamese - 2 changes by nglekhoi
2010-01-08 18:45:47 +00:00
glx
6179198c65
(svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated
2010-01-08 03:17:12 +00:00
yexo
be3ca424f6
(svn r18755) -Fix [FS#3495] (r14847): CircularTileSearch skipped a few tiles close to the starting tile
2010-01-07 20:56:50 +00:00
translators
be6fb855e8
(svn r18754) -Update from WebTranslator v3.0:
...
arabic_egypt - 60 changes by kasakg
croatian - 57 changes by UnderwaterHesus
dutch - 1 changes by habell
french - 1 changes by glx
korean - 2 changes by junho2813
malay - 649 changes by Syed, toadhall
brazilian_portuguese - 1 changes by Rubidium
romanian - 1 changes by kkmic
swedish - 1 changes by Landrash
2010-01-07 18:45:31 +00:00
rubidium
aa0b17bd60
(svn r18753) -Fix: Max TE was incorrect in the engine preview
2010-01-07 17:14:08 +00:00
rubidium
cd55161622
(svn r18752) -Codechange: unduplify some code
2010-01-07 16:39:04 +00:00
rubidium
1fc01513e2
(svn r18751) -Codechange: also log the zlib version in the crash log
2010-01-07 16:29:58 +00:00
rubidium
175db8d613
(svn r18750) -Fix [FS#3492]: the cargo payment button states weren't properly set on opening the window
2010-01-07 11:54:01 +00:00
rubidium
882b23d3ee
(svn r18749) -Fix [FS#3491]: the AI's name and version in the debug panel weren't properly centered
2010-01-07 11:48:59 +00:00
rubidium
0e404038f2
(svn r18747) -Codechange: add some constness to the AI code
2010-01-07 00:09:27 +00:00
rubidium
1967084bc3
(svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing.
2010-01-06 20:49:24 +00:00
frosch
9c4b5e32fa
(svn r18745) -Codechange: Assemble custom station foundations into a single bounding box.
2010-01-06 20:23:06 +00:00
frosch
70f96a3dbf
(svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast.
2010-01-06 20:17:46 +00:00
translators
e0bf5da9ed
(svn r18743) -Update from WebTranslator v3.0:
...
afrikaans - 47 changes by burgerd
croatian - 36 changes by
dutch - 1 changes by habell
finnish - 3 changes by jpx_
malay - 537 changes by Syed, toadhall
polish - 4 changes by vanta
portuguese - 4 changes by JayCity
russian - 1 changes by Lone_Wolf
ukrainian - 1 changes by Madvin
2010-01-06 18:45:30 +00:00
yexo
4257607e2b
(svn r18742) -Fix [NewGRF]: house prop 1D was thrashed when a newgrf contains prop 14 after prop 1D
2010-01-06 15:16:14 +00:00
rubidium
3a26658fed
(svn r18741) -Fix (r14597, r16460): the 'ownname' of a language isn't the name of the translator, but the name of the language in said language.
2010-01-06 13:35:32 +00:00
yexo
509d533c51
(svn r18739) -Fix (r18719): building trees on snow with rocks underneed caused an assert
2010-01-06 09:08:43 +00:00
yexo
06842771a8
(svn r18738) -Fix (r18719): when a tree died while there was snow the amount of snow on the tile changed
2010-01-05 22:32:47 +00:00
peter1138
3157dfb675
(svn r18737) -Fix (r12028): Var67 data wasn't swapped properly for orientation.
2010-01-05 22:18:04 +00:00
yexo
75f717cce3
(svn r18736) -Feature [NewGRF]: implement varaction2houses vars 66 ad 67
2010-01-05 21:36:05 +00:00
translators
b6bca21877
(svn r18733) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
croatian - 36 changes by
finnish - 3 changes by jpx_
german - 1 changes by planetmaker
greek - 1 changes by Rubidium
malay - 503 changes by toadhall
polish - 1 changes by xaxa
russian - 1 changes by Lone_Wolf
spanish - 1 changes by Terkhen
2010-01-05 18:45:29 +00:00
rubidium
74ffe8647f
(svn r18732) -Codechange: move the company related commands of misc_cmd.cpp to company_cmd.cpp
2010-01-05 17:11:56 +00:00
rubidium
f348afb5aa
(svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp
2010-01-05 16:59:57 +00:00
yexo
9143b65785
(svn r18730) -Fix [FS#3414]: new viewports didn't center on the correct position
2010-01-05 14:26:15 +00:00
yexo
fa23617380
(svn r18729) -Fix [FS#3427]: the lock in the company gui was only drawn for your own company
2010-01-04 23:00:19 +00:00
yexo
6dcfa9a063
(svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop
2010-01-04 22:26:25 +00:00
rubidium
92c75f9092
(svn r18727) -Fix [FS#3480]: some invalid gender/plural indices in strings, which could eventually cause crashes.
2010-01-04 21:58:47 +00:00
rubidium
28fc7b47bd
(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text when building a station could be incorrect (missing a cargo)
...
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
2010-01-04 21:10:20 +00:00
frosch
1ed599f5cf
(svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and AIWaypoint::HasWaypointType().
...
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
2010-01-04 19:42:29 +00:00
yexo
27fc22a76b
(svn r18724) -Fix [FS#3475] (r17899): refitting a non-refittable vehicle to it's default cargotype failed, causing problems for AIs
2010-01-04 18:50:50 +00:00
rubidium
b42e76d858
(svn r18723) -Codechange: also simplify looping over an area when building trees, desert, rocky areas or leveling land
2010-01-04 18:49:27 +00:00
translators
76bf94bf00
(svn r18722) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
greek - 36 changes by fumantsu
italian - 1 changes by lorenzodv
malay - 58 changes by toadhall
romanian - 1 changes by kkmic
russian - 2 changes by Lone_Wolf
serbian - 4 changes by etran
swedish - 1 changes by Landrash
2010-01-04 18:45:41 +00:00
rubidium
9dfa2db455
(svn r18721) -Codechange: simplify adding/removing rectangles of tiles from AITileLists
2010-01-04 18:39:46 +00:00
rubidium
740585c219
(svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal
2010-01-04 18:37:47 +00:00
yexo
b378e82676
(svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline
2010-01-04 18:33:43 +00:00
rubidium
3e131e2fec
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
2010-01-04 18:30:10 +00:00
rubidium
87466a4ed0
(svn r18717) -Codechange: use TileArea in industry instead of three separate variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2010-01-04 18:21:07 +00:00
rubidium
71f2789270
(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles
2010-01-04 18:16:32 +00:00
rubidium
31b325baaf
(svn r18715) -Codechange: make StationFinder a subclass of TileArea
2010-01-04 18:12:10 +00:00
rubidium
8b88bb0c9b
(svn r18714) -Codechange: move the TileArea struct to it's own header
2010-01-04 18:05:14 +00:00
rubidium
02a297669a
(svn r18713) -Fix [FS#3476]: the join station window didn't account for scrolling, so if you did scroll the station was not joined with the selected station
2010-01-04 17:54:57 +00:00
peter1138
51f5102713
(svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes.
2010-01-04 16:37:53 +00:00
rubidium
3e481c4027
(svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads
2010-01-04 11:35:12 +00:00
peter1138
abb147d974
(svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash.
2010-01-04 02:32:36 +00:00
peter1138
5ab64809fe
(svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics.
2010-01-03 22:44:57 +00:00
yexo
9e2ccca327
(svn r18707) -Fix (r17802): local variables should not be accessed after the function returns
2010-01-03 22:43:12 +00:00
rubidium
069b6a9fab
(svn r18703) -Feature-ish: allow virtually paying a percentage of the leg profit in feeder chains. This to give the user a better chance to get a feeder system without "losses".
2010-01-03 21:29:20 +00:00
frosch
a9d4147eb2
(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
2010-01-03 20:55:00 +00:00
yexo
8a50a4112c
(svn r18701) -Fix (r18700): always compile before making a commit
2010-01-03 20:14:50 +00:00
yexo
47a11fff20
(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty
2010-01-03 19:33:12 +00:00
frosch
666c856457
(svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range.
2010-01-03 19:29:56 +00:00
translators
f82c591022
(svn r18698) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
estonian - 71 changes by KSiimson
greek - 4 changes by fumantsu
indonesian - 4 changes by prof
portuguese - 1 changes by JayCity
spanish - 1 changes by Terkhen
urdu - 13 changes by waderay
2010-01-03 18:45:21 +00:00
rubidium
409007cd92
(svn r18697) -Fix [FS#3471]: crash when scrolling to an item removed by filtering in the 'add NewGRF window'
2010-01-03 15:25:51 +00:00
yexo
6e97511bcb
(svn r18696) -Fix [FS#3404]: AITile::IsCoastTile returned false for coast tiles with trees on them.
2010-01-03 12:42:50 +00:00
translators
c73df2016a
(svn r18694) -Update from WebTranslator v3.0:
...
catalan - 7 changes by arnau
croatian - 36 changes by
korean - 1 changes by junho2813
norwegian_nynorsk - 10 changes by 2rB
polish - 4 changes by silver_777
portuguese - 2 changes by JayCity
romanian - 41 changes by tonny
2010-01-02 18:45:23 +00:00
alberth
ab26bfd6a0
(svn r18693) -Doc: Add some doxygen comments to smallmap code.
2010-01-02 18:29:51 +00:00
yexo
c8c61faff2
(svn r18692) -Fix: after a company went bankrupt it was impossible to build a new waypoint close to a deleted one until the grey sign was gone
2010-01-02 17:09:14 +00:00
yexo
d8bcda3b94
(svn r18691) -Change [NoAI]: cleanup some errors messages and add a few to AIWaypoint
2010-01-02 16:47:32 +00:00
rubidium
43a5a4bee8
(svn r18690) -Fix [FS#3469]: some keys that open windows that want to be located relatively to the toolbars/statusbar could cause a crash when in one of the end game screens
2010-01-02 16:05:27 +00:00
rubidium
35c79d81ef
(svn r18689) -Codechange: move the looping over chunkhandlers code to a macro
2010-01-02 15:56:20 +00:00
rubidium
58be174df2
(svn r18688) -Cleanup: remove some unused code/constants
2010-01-02 15:52:41 +00:00
yexo
fe67e85700
(svn r18687) -Add [NoAI]: AIEngine::IsBuildable to check if you can build a certain engine.
...
-Change: AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you can't build it anymore.
2010-01-02 15:52:29 +00:00
rubidium
ea75e7da60
(svn r18686) -Fix [FS#3470]: in some cases _sl.chs is used when not initialised. As _sl.chs always refers to a single table when initialised replace _sl.chs with the actual table
2010-01-02 15:48:07 +00:00
rubidium
0f22c6030d
(svn r18685) -Update: add genders to Catalan
2010-01-02 11:26:20 +00:00
rubidium
b2e9b5d612
(svn r18683) -Fix: it's not an other
2010-01-01 18:45:40 +00:00
translators
115b207745
(svn r18682) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 36 changes by
czech - 1 changes by martin_meridius
korean - 1 changes by junho2813
norwegian_bokmal - 5 changes by CyberKenny
portuguese - 9 changes by JayCity
romanian - 5 changes by tonny
serbian - 5 changes by etran
ukrainian - 5 changes by Madvin
2010-01-01 18:45:35 +00:00
peter1138
81dc77ee23
(svn r18681) -Codechange: Use existing TILE_LOOP method for iterating trigger area.
2010-01-01 18:19:26 +00:00
peter1138
f77d88c0aa
(svn r18680) -Fix: Whole station area is already correct size.
2010-01-01 18:10:50 +00:00
rubidium
936477c323
(svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to NewGRFs in case of multi tile waypoints
2010-01-01 18:10:10 +00:00
rubidium
0bc292056d
(svn r18678) -Update: happy new year
2010-01-01 00:00:45 +00:00
translators
b6496be499
(svn r18677) -Update from WebTranslator v3.0:
...
catalan - 5 changes by arnau
traditional_chinese - 36 changes by josesun
croatian - 36 changes by
czech - 4 changes by martin_meridius
dutch - 5 changes by habell
finnish - 1 changes by jpx_
french - 2 changes by Skiper, glx
german - 5 changes by planetmaker
hungarian - 5 changes by alyr
italian - 5 changes by lorenzodv
korean - 4 changes by junho2813
lithuanian - 14 changes by Devastator
persian - 1 changes by Gajoo
portuguese - 2 changes by JayCity
russian - 11 changes by Lone_Wolf
spanish - 1 changes by Terkhen
swedish - 4 changes by Landrash
urdu - 15 changes by waderay
2009-12-31 18:45:51 +00:00
rubidium
ebfdcf575d
(svn r18676) -Change [FS#3411]: 'escape' in the 'found town' window removes the focus from the town name input box
2009-12-31 18:12:10 +00:00
rubidium
de3cff9e1a
(svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window
2009-12-31 18:11:03 +00:00
peter1138
739aea3e1a
(svn r18674) -Feature (FS#3459): Configurable slope steepness for trains from 0% to 10%, default is 3% as before (mostly by Terkhen)
2009-12-31 10:41:03 +00:00
peter1138
2d14ced236
(svn r18673) -Fix (r17943): Deja vu: 3 byte structs are padded to a word on ARM.
2009-12-31 07:39:05 +00:00
rubidium
768bfa969d
(svn r18672) -Codechange: mention the game date in the crash log
2009-12-31 00:09:29 +00:00
rubidium
75c46b7a27
(svn r18671) -Fix [FS#3452]: [NewGRF] If an action B did not have a 'data' string but would print it OpenTTD would segfault
2009-12-30 20:31:43 +00:00
alberth
d86dbabbc4
(svn r18670) -Fix [FS#3455]: Update all tiles when snowline height changes in larger steps than one tile.
2009-12-30 19:30:49 +00:00
translators
84a7f6aa5b
(svn r18669) -Update from WebTranslator v3.0:
...
afrikaans - 13 changes by burgerd
croatian - 36 changes by
english_US - 74 changes by agenthh
finnish - 4 changes by jpx_
french - 5 changes by glx
greek - 20 changes by fumantsu
lithuanian - 55 changes by Devastator
persian - 1 changes by Gajoo
spanish - 4 changes by Terkhen
urdu - 19 changes by waderay
2009-12-30 18:45:29 +00:00
rubidium
fbfbd2dfb9
(svn r18668) -Fix [FS#3450]: the space between the S and X of OS X should be a non-breaking one
2009-12-30 18:10:07 +00:00
rubidium
e6dbe673f0
(svn r18667) -Fix [FS#3454]: [NoAI] crash when trying to get the order destination of a 'nearest depot' order
2009-12-30 18:07:28 +00:00
alberth
4801b17837
(svn r18666) -Codechange: Add tooltips to enable/disable all buttons in smallmap.
2009-12-30 17:58:19 +00:00
alberth
0a7fc9e4ea
(svn r18665) -Feature [FS#567]: Allow contour-map to be shown with coloured industries in smallmap.
2009-12-30 17:44:38 +00:00
alberth
ba3ef1a2d5
(svn r18664) -Fix [FS#3449]: Unshade shaded finances window when toggling size.
2009-12-30 08:40:05 +00:00
alberth
2ab3e5ab40
(svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks.
2009-12-30 08:01:54 +00:00
yexo
60a48dbec1
(svn r18661) -Fix [FS#3169]: aircraft on the metropolitan airport took a long route to the closest loading pad
2009-12-29 23:23:16 +00:00
yexo
1520aab5b2
(svn r18660) -Cleanup: remove useless function
2009-12-29 23:13:36 +00:00
rubidium
891ded5c48
(svn r18658) -Fix [FS#3443]: wrong strings drawn for cargo subtype in vehicle details
2009-12-29 18:57:25 +00:00
translators
6cfa7df1cf
(svn r18657) -Update from WebTranslator v3.0:
...
afrikaans - 174 changes by burgerd
catalan - 10 changes by arnau
croatian - 36 changes by
norwegian_bokmal - 7 changes by Zhygometh
swedish - 32 changes by Landrash
ukrainian - 82 changes by Madvin
vietnamese - 23 changes by nglekhoi
2009-12-29 18:45:24 +00:00
orudge
00ede07b13
(svn r18656) -Feature: Add event semaphore support for OS/2
2009-12-29 04:27:39 +00:00
translators
96c699ff1e
(svn r18654) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 5 changes by jpx_
portuguese - 1 changes by JayCity
russian - 1 changes by Lone_Wolf
vietnamese - 27 changes by motorolavn, nglekhoi
2009-12-28 18:45:17 +00:00
rubidium
4697a1f431
(svn r18653) -Fix [FS#3442]: when trying to attach a wagon to an existing free wagon chain, don't attach it to itself
2009-12-28 18:26:39 +00:00
rubidium
454e124912
(svn r18652) -Fix: glitches due to having the wrong bounding boxes for the face widgets
2009-12-28 13:04:18 +00:00
smatz
f60b3a28d6
(svn r18651) -Fix [FS#3438](r18518): [NoAI] When AI tried to create NO_UNLOAD order, GOTO_NEAREST_DEPOT order was created instead
2009-12-28 12:12:57 +00:00
translators
224f3cd361
(svn r18649) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 3 changes by Tve4
korean - 1 changes by dlunch
norwegian_nynorsk - 7 changes by 2rB
vietnamese - 39 changes by motorolavn, nglekhoi
2009-12-27 18:45:17 +00:00
michi_cc
40ba9933dc
(svn r18648) -Fix/Feature [FS#3430-ish]: [YAPP] Treat the backside of an one-way path signals as a safe waiting point.
2009-12-27 14:37:54 +00:00
michi_cc
f7025612e1
(svn r18647) -Fix: [YAPP] A train inside a station was not always found when checking for trains on a reserved path.
2009-12-27 14:37:50 +00:00
michi_cc
182b0b5c14
(svn r18646) -Fix [FS#3418]: [YAPP] Don't extend the reserved path through a newly built path signal directly in front of a stopped or loading train. Also restore the reserved path in more cases after removing a signal.
2009-12-27 14:37:46 +00:00
smatz
29e05554d7
(svn r18645) -Fix [FS#3433](r942): out-of-bounds access in the 'Start new multiplayer game' GUI
2009-12-27 13:38:08 +00:00
rubidium
b0c9b2c232
(svn r18644) -Fix [FS#3434]: company league window was too narrow
2009-12-27 13:19:17 +00:00
rubidium
04a8888547
(svn r18643) -Fix [FS#3436]: rotation could not be changed for heightmaps
2009-12-27 12:58:23 +00:00
rubidium
fb9eba67d1
(svn r18642) -Fix [FS#3432]: when a company goes bankrupt and has vehicles on a drive through road stop that is not theirs, the 'filled' cache of the road stops would get corrupted
2009-12-27 09:05:00 +00:00
translators
9aa89db3d6
(svn r18641) -Update from WebTranslator v3.0:
...
catalan - 6 changes by arnau
croatian - 36 changes by
norwegian_nynorsk - 15 changes by 2rB
russian - 4 changes by Lone_Wolf
vietnamese - 45 changes by motorolavn, nglekhoi
2009-12-26 18:45:20 +00:00
smatz
ce08aebde7
(svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code
...
-Revert (r18637): it's not needed any more
2009-12-26 13:49:14 +00:00
rubidium
9574371e53
(svn r18639) -Update: Squirrel from 2.2.3 to 2.2.4
...
-Revert (r17273): this fix is included in Squirrel 2.2.4
2009-12-26 09:59:32 +00:00
rubidium
28c7c49855
(svn r18638) -Fix: downloading music sets would fail
2009-12-26 09:38:41 +00:00
rubidium
e7efb42a27
(svn r18637) -Fix [FS#3428]: check whether the content list is empty before trying to draw it
2009-12-26 09:01:28 +00:00
smatz
9cefcdab82
(svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8
2009-12-25 23:22:41 +00:00
smatz
e6d6704f32
(svn r18635) -Codechange: store TextEffects in a SmallVector
2009-12-25 23:15:08 +00:00
rubidium
69f1db204e
(svn r18634) -Revert (r16808): the fix doesn't work in all cases
...
-Fix [FS#3421] (r16838): crash when invalid pointers are left due to saveload failing at e.g. decompressing the savegame
2009-12-25 23:14:12 +00:00
smatz
a7be7ebe80
(svn r18633) -Codechange: fortify SmallVector a bit more
2009-12-25 23:10:20 +00:00
rubidium
4dbf08fc4b
(svn r18632) -Fix (r18629): error in string caused failure of Czech language
2009-12-25 20:11:31 +00:00
rubidium
7ed2e65b77
(svn r18631) -Fix [FS#3419]: when making a screenshot from the console the currently executed command would be shown twice
2009-12-25 19:17:36 +00:00
rubidium
21a3f97a0b
(svn r18630) -Fix [FS#3419]: when making a screenshot the name of the previous screenshot went missing in the 'successful screenshot' message
2009-12-25 19:16:58 +00:00
translators
6cf4637dac
(svn r18629) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
czech - 63 changes by martin_meridius
danish - 21 changes by beruic
indonesian - 14 changes by adjayanto
russian - 20 changes by Lone_Wolf
2009-12-25 18:45:18 +00:00
rubidium
c8db92e3dd
(svn r18628) -Fix [FS#3422]: (un)loading counter being reset while loading a train and changing the (path) signal setup around the station
2009-12-25 18:01:27 +00:00
smatz
c4205c2599
(svn r18627) -Fix: no need to print 'Registers:' twice in win64 crash logs
2009-12-25 11:52:14 +00:00
rubidium
770c5d0594
(svn r18626) -Fix [FS#3425]: {CARGO} takes 2 parameters, not 1. This made {N:XYZ} commands after CARGO mess up their indices and that then triggered an assertion
2009-12-25 10:04:30 +00:00
translators
aa6081d830
(svn r18625) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
german - 6 changes by planetmaker
hungarian - 1 changes by alyr
italian - 15 changes by lorenzodv
korean - 1 changes by junho2813
romanian - 171 changes by tonny
spanish - 1 changes by Terkhen
2009-12-24 18:45:26 +00:00
rubidium
60082980fd
(svn r18622) -Merge: release changes
2009-12-23 23:09:47 +00:00
rubidium
2bb5e2de29
(svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game
2009-12-23 22:41:47 +00:00
translators
8436c3d5fb
(svn r18617) -Update from WebTranslator v3.0:
...
catalan - 21 changes by arnau
croatian - 36 changes by
dutch - 6 changes by habell
finnish - 6 changes by jpx_
french - 6 changes by glx
hungarian - 10 changes by IPG
korean - 5 changes by junho2813
polish - 5 changes by silver_777
portuguese - 7 changes by JayCity
romanian - 168 changes by tonny
serbian - 8 changes by etran
spanish - 5 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2009-12-23 18:45:40 +00:00
rubidium
97e7a584a2
(svn r18616) -Fix [FS#3413]: crash when the current order is a conditional order when a plane is checking whether it needs servicing
2009-12-23 18:45:05 +00:00
rubidium
277794e26b
(svn r18615) -Fix: conditional orders were seen as 'valid' and as such aircraft with only conditional orders did not crash
2009-12-23 18:43:38 +00:00
smatz
fbaba4e6bd
(svn r18614) -Fix [FS#3412](r18602): too many signs were drawn, causing slowdowns
2009-12-23 17:59:34 +00:00
rubidium
82f927bd16
(svn r18613) -Codechange: add the music set to the crashlog too
2009-12-23 17:33:45 +00:00
alberth
52c7d9897e
(svn r18612) -Fix [FS#3407]: Buy vehicle window did not properly disable panel drawing while shaded.
2009-12-23 10:12:43 +00:00
rubidium
91747d72dc
(svn r18611) -Fix (r18608): uppercase-to-lowercase conversion when opening a file wasn't applied when finding the full path of a file
2009-12-23 09:08:52 +00:00
rubidium
6e97343df6
(svn r18610) -Codechange: don't consider a music set at all for 'best' set when it's missing files
2009-12-23 08:51:46 +00:00
rubidium
a8d6d18b22
(svn r18608) -Change: add the concept of music sets
2009-12-22 21:40:29 +00:00
alberth
b30e56850c
(svn r18607) -Fix (r18583): Preserve window width when shading.
2009-12-22 20:53:28 +00:00
alberth
3323d64f28
(svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes.
2009-12-22 20:43:25 +00:00
alberth
7dbc77a1e7
(svn r18605) -Codechange: Coding style fixes, prevent useless calls to UpdateWidgetSize().
2009-12-22 19:40:23 +00:00
translators
3d2c126268
(svn r18604) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 1 changes by habell
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 1 changes by alyr
korean - 5 changes by junho2813
portuguese - 5 changes by JayCity
romanian - 124 changes by tonny
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 6 changes by nglekhoi
2009-12-22 18:45:36 +00:00
rubidium
ade9773080
(svn r18603) -Codechange: move getting the song name to music_gui.cpp
2009-12-22 18:34:07 +00:00
rubidium
b0603f4c2e
(svn r18602) -Codechange: unify the viewport sign and text effect drawing
...
-Fix [FS#3394]: signs could occasionally glitch
2009-12-22 12:50:41 +00:00
alberth
96a8a0f34d
(svn r18601) -Codechange: Use resize step of the order list panel widget for order line calculations.
2009-12-22 11:22:07 +00:00
alberth
4733b696a1
(svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station.
2009-12-22 11:15:08 +00:00
alberth
d47c6e4135
(svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection.
2009-12-22 10:28:58 +00:00
rubidium
c816281e09
(svn r18598) -Fix [FS#3402]: also cancel the save-pause when loading a savegame as scenario
2009-12-22 08:34:40 +00:00
frosch
8d8bd3d45f
(svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not update the news ticker.
2009-12-21 21:14:40 +00:00
alberth
a87748df8a
(svn r18596) -Fix: Add padding to several town generation buttons and labels for nice and consistent layout.
2009-12-21 21:12:41 +00:00
rubidium
0cb84effc8
(svn r18595) -Fix (r18277): one couldn't enter test via the keyboard in the company password window. Also replace a magic number with a enumified constant.
2009-12-21 20:32:20 +00:00
translators
a7cacd98ed
(svn r18594) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 7 changes by habell
finnish - 1 changes by jpx_
korean - 47 changes by junho2813
norwegian_bokmal - 7 changes by Zhygometh
polish - 7 changes by xaxa
romanian - 13 changes by kkmic
2009-12-21 18:45:24 +00:00
rubidium
50734030aa
(svn r18593) -Fix: GetWidget call case similar to r18591
2009-12-21 18:20:18 +00:00
rubidium
38ceeb41b7
(svn r18592) -Fix (r18591): argh... save after starting the commit :(
2009-12-21 18:13:43 +00:00
rubidium
64ac99a6c1
(svn r18591) -Fix [FS#3399]: FindScrollbar could trigger an assert if the next widget (in the widget array) was a container-ish (e.g. selection) widget
2009-12-21 18:12:25 +00:00
rubidium
7c4e8421be
(svn r18590) -Fix [FS#3397]: too strict assert was triggered
2009-12-21 17:45:02 +00:00
alberth
1d7a75032f
(svn r18589) -Codechange: Add tooltip to some network windows, remove old comment.
2009-12-21 16:28:50 +00:00
alberth
91872aca48
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
2009-12-21 16:24:29 +00:00
alberth
f55c3312b3
(svn r18587) -Codechange: Insert a shade selection widget in the widget tree when the window starts with a title bar with a shade box.
2009-12-21 16:16:40 +00:00
rubidium
cc40883ad8
(svn r18586) -Fix [FS#3398]: pressing default for the starting year/snow line height edit boxes of the world generation windows didn't work.
2009-12-21 16:16:37 +00:00
rubidium
abb601f682
(svn r18585) -Codechange: replace some magic numbers by constants
2009-12-21 16:13:30 +00:00
alberth
b3ecc90992
(svn r18584) -Codechange: Generalize MakeWidgetTree to read only one widget (recursively).
2009-12-21 16:12:43 +00:00
alberth
ca66652005
(svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp).
2009-12-21 16:06:20 +00:00
rubidium
c03aadda08
(svn r18582) -Codechange: save 8 bytes from the Window class
2009-12-20 20:49:47 +00:00
alberth
a4a043344b
(svn r18581) -Change (r18570): Update sprite tables for the window shading sprites too.
2009-12-20 20:15:19 +00:00
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
2009-12-20 20:08:39 +00:00
alberth
20debea202
(svn r18579) -Codechange: Add orientation to scrollbars.
2009-12-20 20:04:30 +00:00
rubidium
cf2349ae10
(svn r18578) -Feature: initially select the last joined server when going to the server list
2009-12-20 19:18:18 +00:00
translators
3d21848258
(svn r18577) -Update from WebTranslator v3.0:
...
basque - 4 changes by Thadah
croatian - 36 changes by
finnish - 7 changes by jpx_
hungarian - 7 changes by alyr
indonesian - 9 changes by prof
polish - 7 changes by silver_777
portuguese - 7 changes by JayCity
serbian - 7 changes by etran
spanish - 7 changes by Terkhen
2009-12-20 18:45:29 +00:00
rubidium
1ea8cb4fc4
(svn r18576) -Codechange: use the function to determine the width of digits for determining the width of the unitnumber in vehicle lists.
2009-12-20 16:44:41 +00:00
rubidium
90b7f0f3cb
(svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the depot
2009-12-20 16:42:35 +00:00
rubidium
f2785ae24d
(svn r18574) -Fix [FS#3392] (r18481): manually sending trains and RVs to depots didn't quite work
2009-12-20 16:19:47 +00:00
michi_cc
4d9097cafb
(svn r18573) -Fix [FS#3198]: [OSX] Try to get a generic RGB colour space if getting the system colour profile failed. (tyler)
2009-12-20 16:10:44 +00:00
frosch
b369d81566
(svn r18572) -Change: Enable 'multiple NewGRF engine sets' by default.
2009-12-20 15:37:39 +00:00
frosch
640442ae03
(svn r18571) -Fix (r18551): Vehicles not carrying any cargo (e.g. engines) were not considered for sending to depot for replacement.
2009-12-20 15:21:39 +00:00
frosch
4434422c11
(svn r18568) -Codechange: Bail out early.
2009-12-20 15:08:20 +00:00
rubidium
ee3a44e74f
(svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not work
2009-12-20 14:53:32 +00:00
frosch
1e1fa9ff2e
(svn r18566) -Codechange: When both the union and intersection of refit masks of articulated vehicles are needed, they can be determined at once.
2009-12-20 14:28:55 +00:00
rubidium
e5ebae1085
(svn r18565) -Fix [FS#3391] (r18541): some older GCC warn about implicitly casting from floats to integers
2009-12-20 14:18:22 +00:00
glx
5ac036720b
(svn r18564) -Fix: silence a warning
2009-12-20 14:05:58 +00:00
rubidium
6803672c88
(svn r18563) -Document: some industry related functions
2009-12-20 13:45:43 +00:00
rubidium
ca5a9ab995
(svn r18562) -Document: improve clarity of the AIAccounting class
2009-12-20 12:29:16 +00:00
rubidium
4d78112282
(svn r18561) -Fix [FS#3390]: Do try to overtake a vehicle in a station as overtaking in a station is not allowed
2009-12-20 11:22:36 +00:00
peter1138
468986d41a
(svn r18560) -Fix (r18541): variety distribution dropdown should not be on heightmap window.
2009-12-20 09:28:53 +00:00
peter1138
2a53179f4d
(svn r18559) -Fix: When using original landscape generator, the terrain type and water level fields have no effect for arctic or tropic climates, so disable the dropdowns.
2009-12-20 09:26:37 +00:00
smatz
37ce32106d
(svn r18558) -Cleanup (r18557): no need to document TILE_INVALID twice
2009-12-20 00:53:22 +00:00
smatz
a608fbaf7f
(svn r18557) -Fix: (most of) gcc errors when using lto caused by some structs having different definition in different object files
2009-12-19 23:53:15 +00:00
smatz
64478eb960
(svn r18556) -Fix (r17005): squirrel export didn't accept negative constants
2009-12-19 23:48:42 +00:00
smatz
061de2b2df
(svn r18555) -Fix (r15027): fake definitions of squirrel types were wrong for eg. 64bit systems, don't use them
2009-12-19 23:46:15 +00:00
frosch
e46a9078e6
(svn r18554) -Change: Forbid industries to clear sea/river when leveling land.
2009-12-19 22:17:02 +00:00
rubidium
2555c7966a
(svn r18553) -Fix: make aircraft behave the same on autoreplace/autorenew as other vehicles
2009-12-19 22:04:02 +00:00
glx
59c303e7cd
(svn r18552) -Fix (r18548): some translators were very fast
2009-12-19 22:00:22 +00:00
frosch
7ea108224b
(svn r18551) -Fix [FS#1762]: When autoreplace is the only allowed reason to send vehicles to depot, first check some minimal requirements (engine availability, refittability) and a heuristic for the needed money.
2009-12-19 21:54:34 +00:00
smatz
a62f16c86d
(svn r18550) -Fix (r18281): show expected price of town construction even when the company doesn't have enough money
2009-12-19 21:42:19 +00:00
rubidium
d48ad4b6e3
(svn r18549) -Fix: first do the time-since-last-service check and only then determine whether autoreplace needs to take place. This way they will not keep autoreplacing continuously on failure, but only after some timeout.
2009-12-19 21:19:45 +00:00
peter1138
e97f828c64
(svn r18548) -Fix (r18541): Unused string slipped in.
2009-12-19 20:05:10 +00:00
rubidium
c811f3bd21
(svn r18547) -Fix [FS#3388]: missing thread synchronisation when changing the resolution for SDL via the in game menu
2009-12-19 19:29:01 +00:00
rubidium
a6146f5f51
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
2009-12-19 19:21:37 +00:00
frosch
29d6491605
(svn r18545) -Fix [FS#3292]: Assign '_screen.dst_ptr' as soon as it is allocated.
2009-12-19 18:46:40 +00:00
translators
7572f95448
(svn r18544) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
french - 8 changes by glx
german - 8 changes by planetmaker
greek - 3 changes by fumantsu
norwegian_nynorsk - 10 changes by 2rB
vietnamese - 2 changes by nglekhoi
2009-12-19 18:45:20 +00:00
peter1138
37a6907e79
(svn r18543) -Codechange: Use separate set of strings for variety distribution setting to ease translation.
2009-12-19 18:36:35 +00:00
alberth
614501b1be
(svn r18542) -Codechange: Make nested widget parts obligatory in a window description.
2009-12-19 18:03:04 +00:00
peter1138
99bb3a95b4
(svn r18541) -Feature: Additional map variety option for TGP landscape generator. Evolved from curve map idea from Zephyris.
2009-12-19 18:00:38 +00:00
frosch
f946775205
(svn r18540) -Codechange: resulting in better name for 'result'.
2009-12-19 17:14:35 +00:00
alberth
07a2c21d24
(svn r18539) -Codechange: Re-use cargolist drawing in StationViewWindow::DrawAcceptedCargo()
2009-12-19 16:02:29 +00:00
alberth
7fc7324ef8
(svn r18538) -Codechange: Split DrawStationCoverageText into a calculation part and a drawing part.
2009-12-19 15:52:50 +00:00
frosch
9a11aed4bd
(svn r18537) -Fix (r17436): Also do not account cargo in statistics, if it was not accepted.
2009-12-19 15:51:55 +00:00
rubidium
5c2b6a8943
(svn r18536) -Fix [FS#3386]: MSVC warning. Patch by pavel1269
2009-12-19 15:31:23 +00:00
rubidium
c5159055e3
(svn r18535) -Fix [FS#2722]: don't account for path reservation costs when entering a signal block via a 'block' signal. This way you won't get double penalties, both red signals and reservation costs, for the block signalled tracks
2009-12-19 15:30:24 +00:00
alberth
f051ef01e3
(svn r18534) -Doc: Add doxy strings to StationCoverageType enum.
2009-12-19 15:04:24 +00:00
rubidium
b3e3f0b0ee
(svn r18533) -Fix: don't refer, in the comments, to a long renamed function
2009-12-19 09:23:19 +00:00
rubidium
21324b69d9
(svn r18532) -Codechange/Fix (r18404): don't leave the road stop between tiles, just stay on it. This prevents the rare cases where a road vehicle would stop exactly on the border where it could not load
2009-12-18 21:35:55 +00:00
rubidium
6f1982d151
(svn r18531) -Fix [FS#3384] (r18404): for articulated road vehicles only the first part was accounted for, so for extremely short fronts and lots after it the spreading did not work as it should.
2009-12-18 21:34:06 +00:00
peter1138
6f5425a062
(svn r18530) -Fix (r18304): Width property set on window instead of width.
2009-12-18 19:59:32 +00:00
translators
b7c90a84ad
(svn r18529) -Update from WebTranslator v3.0:
...
croatian - 45 changes by UnderwaterHesus
dutch - 4 changes by habell
finnish - 42 changes by Tve4, jpx_
hungarian - 4 changes by IPG
italian - 11 changes by lorenzodv
norwegian_nynorsk - 2 changes by 2rB
polish - 4 changes by silver_777
serbian - 4 changes by etran
spanish - 4 changes by Terkhen
2009-12-18 18:45:31 +00:00
peter1138
5ef4be1780
(svn r18528) -Fix (FS#3370): Platform length/count buttons not centred when NewGRF stations in use.
2009-12-18 15:56:31 +00:00
yexo
8c737964ec
(svn r18527) -Fix: an industry newgrf that defined a too small size for action0 prop 0A could cause a crash
2009-12-17 23:26:25 +00:00
translators
2fd1ccf289
(svn r18523) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 5 changes by habell
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 8 changes by planetmaker
hebrew - 52 changes by dnd_man
hungarian - 6 changes by IPG
norwegian_bokmal - 8 changes by Zhygometh
polish - 4 changes by silver_777
portuguese - 4 changes by JayCity
serbian - 4 changes by etran
2009-12-17 18:45:35 +00:00
rubidium
5e2b7e0238
(svn r18522) -Feature: add the possibility to not make new tree tiles in-game
2009-12-17 16:59:33 +00:00
rubidium
b0f1fcbead
(svn r18520) -Fix [FS#3272]: allegro doesn't like to work with extmidi; it causes 'random' (looks like a racing condition in allegro) crashes when songs are stopped.
2009-12-16 23:49:21 +00:00
yexo
04dfadc523
(svn r18518) -Add [NoAI]: AIOrder::AIOF_GOTO_NEAREST_DEPOT for goto nearest depot orders
2009-12-16 21:31:21 +00:00
translators
0b9e733560
(svn r18517) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
danish - 3 changes by beruic
dutch - 1 changes by Yexo
french - 4 changes by glx
german - 1 changes by planetmaker
polish - 6 changes by mirqus, silver_777
spanish - 10 changes by Terkhen
welsh - 1 changes by welshdragon
2009-12-16 18:45:27 +00:00
rubidium
5afa990ccf
(svn r18516) -Feature [FS#3359]: moving of AIs in the AI configuration window. Based on a patch by Zuu.
2009-12-16 16:57:26 +00:00
rubidium
fbfcbe06ec
(svn r18515) -Change: make it visible when you're to pass the next signal on danger and possible to cancel it
...
-Fix [FS#2891]: when you pass a signal at danger, in a PBS controlled area, don't try to do the 'safe' thing and stop, but continue going; the user wanted the train to pass the signal at danger so (s)he has to suffer the consequences. Ofcourse one can always stop the train manually.
2009-12-16 16:23:44 +00:00
rubidium
d46127a723
(svn r18514) -Codechange: make it a bit clearer that for tile layouts num_sprites (as in number of sprite sets) is not the same as num_sprites (as in number of building sprites)
2009-12-16 11:35:05 +00:00
rubidium
f0728ca1d1
(svn r18513) -Fix [FS#3379]: sometimes NewGRFs throw invalid data at OpenTTD and that triggered a check... that if a has to be between b and c (inclusive) then c must be bigger than or equal to b (and definitely not smaller)
2009-12-16 00:06:51 +00:00
yexo
35b8c8367e
(svn r18512) -Fix (r17859) [FS#3376]: assert when clicking the industry button in the scenario editor
2009-12-15 22:39:58 +00:00
translators
e673232c18
(svn r18511) -Update from WebTranslator v3.0:
...
croatian - 37 changes by UnderwaterHesus
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 5 changes by dihedral
hungarian - 4 changes by IPG, alyr
norwegian_bokmal - 1 changes by Zhygometh
polish - 8 changes by xaxa
portuguese - 1 changes by JayCity
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 3 changes by nglekhoi
2009-12-15 18:45:34 +00:00
peter1138
7b136d1fdd
(svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted.
2009-12-15 13:59:20 +00:00
rubidium
7c2a61e210
(svn r18508) -Fix [FS#3372]: if a rail station class had less data than capacity it would try to set a negative position
2009-12-15 01:38:55 +00:00
yexo
619e70f94a
(svn r18507) -Change [FS#3340]: move the 'check online content' button from the AI list window to the AI configuration window
2009-12-15 00:33:44 +00:00
rubidium
3e6c530e1e
(svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error.
2009-12-15 00:00:51 +00:00
yexo
5450167efc
(svn r18505) -Fix [FS#3169]: improve airport movement on several airports
2009-12-14 23:35:38 +00:00
yexo
65642c5878
(svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a duplicate or AIOrder.SkipToOrder
2009-12-14 22:17:15 +00:00
rubidium
b7263147c1
(svn r18503) -Fix [FS#3370]: the length and platform buttons in the station window weren't always properly centered
2009-12-14 22:11:06 +00:00
rubidium
c0d4bc5b87
(svn r18502) -Fix: the dummy AI would could a NOT_REACHED if the translated error message contained a quote
2009-12-14 22:06:25 +00:00
rubidium
4250792389
(svn r18499) -Fix/Change/Feature [FS#3159]: autoreplace and autorenew always reset their cargo sub type to 0. Now find a sub cargo type with the exact same name and use that, otherwise fallback to 0. So cargo sub types can be maintained via autoreplace *if* the new vehicle supports the same cargo sub type.
2009-12-14 19:19:47 +00:00
rubidium
a190ae9a71
(svn r18498) -Fix [FS#2616]: cloning of vehicles could create vehicles with invalid cargo sub types for the build year of the vehicle. Fall back to another cargo sub type with the exact same name, otherwise fallback to cargo sub type 0.
2009-12-14 19:17:18 +00:00
translators
620ca5e6c1
(svn r18497) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
hebrew - 1 changes by dnd_man
norwegian_bokmal - 23 changes by Zhygometh
2009-12-14 18:45:12 +00:00
rubidium
f9970ac646
(svn r18495) -Codechange: make sure we don't taint the vehicle cache with finding refit options and unmagify a constant
2009-12-13 22:19:19 +00:00
rubidium
c2ec2e2db3
(svn r18494) -Fix (r18474): crash when moving non-engine to new free wagon chain and group count was off when moving a front engine within the same train and the new front isn't an engine.
2009-12-13 22:17:12 +00:00
rubidium
8b9a2218de
(svn r18493) -Fix: don't access something after deleting it
2009-12-13 21:36:10 +00:00
alberth
e0393a3de1
(svn r18492) -Doc: A few Doxygen reference fixes (NewsSubtype reported by Eddi), and a typo fix.
2009-12-13 21:12:36 +00:00
alberth
a8e9891f45
(svn r18491) -Fix (r18482): Update doxy comments of SetupSmallestSize() as well.
2009-12-13 21:05:38 +00:00
alberth
57e6c7fdb7
(svn r18490) -Doc: Fixed syntax of a few doxygen pre and post coditions.
2009-12-13 20:54:52 +00:00
alberth
7c4eaf73a7
(svn r18489) -Codechange: Introduce a custom container widget for a resizing legend bar in the smallmap.
2009-12-13 20:37:32 +00:00
alberth
dd12391f10
(svn r18488) -Codechange: Make number of rows for displaying industries in smallmap legend dynamic.
2009-12-13 20:27:53 +00:00
alberth
d6aae1a84d
(svn r18487) -Codechange: Move row height and column counting to OnInit in the smallmap window as well.
2009-12-13 20:19:08 +00:00
rubidium
0e78fdb54c
(svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap)
2009-12-13 19:33:07 +00:00
translators
43abfbd426
(svn r18485) -Update from WebTranslator v3.0:
...
basque - 23 changes by Thadah
croatian - 93 changes by UnderwaterHesus
german - 1 changes by planetmaker
greek - 1 changes by fumantsu
hungarian - 4 changes by IPG, Petert
norwegian_bokmal - 654 changes by Zhygometh
romanian - 2 changes by kkmic
spanish - 1 changes by Terkhen
2009-12-13 18:45:26 +00:00
rubidium
52cbaf2db2
(svn r18484) -Codechange: simplify the Is(Stopped)InDepot functions for trains
2009-12-13 17:13:20 +00:00
rubidium
b9b357b8e8
(svn r18483) -Document [FS#3367]: that OpenGFX/OpenSFX can be used and where to find them. Also refer to the readme in some error messages.
2009-12-13 14:23:45 +00:00
alberth
5d12f42867
(svn r18482) -Cleanup (r18092): Conversion to widget array is not done any more.
2009-12-13 13:29:13 +00:00
rubidium
472e5501fa
(svn r18481) -Codechange: unify the curve pathfinder penalty defaults; 0.01 tile won't make a dent, 3 tiles might be a bit too much
...
-Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
2009-12-13 10:48:44 +00:00
alberth
3cfcae07e2
(svn r18480) -Codechange: Moved column width computation of smallmap legends to OnInit(), added a few doxy comments.
2009-12-13 10:25:37 +00:00
peter1138
5a8353fafc
(svn r18479) -Fix (r6532): Direction is accounted for long before motion counter is updated
2009-12-13 08:46:08 +00:00
rubidium
5477aec8fb
(svn r18474) -Fix (r18470): in some odd corner cases the group (vehicle) counts could be off
2009-12-12 23:49:30 +00:00
rubidium
d3e754fa6f
(svn r18473) -Fix (r18470): crash when moving a multiheaded part to be just after itself
2009-12-12 23:24:11 +00:00
rubidium
f4e7eba2e2
(svn r18472) -Fix [FS#3146]: selling vehicles in the depot could create states that are not allowed by the NewGRF attach callback.
2009-12-12 22:59:48 +00:00
frosch
9c75ffb8c5
(svn r18471) -Codechange/Fix: [NoAI] Deduplicate code betweeen AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well...
2009-12-12 22:15:14 +00:00
rubidium
9be2c8c6bd
(svn r18470) -Codechange/Fix [part of FS#3146]: moving vehicles around in the depot could create states that are not allowed by the NewGRF attach callback.
2009-12-12 22:11:43 +00:00
rubidium
510f8a9122
(svn r18469) -Fix (r17139): possible invalid reads when listing content on the console
2009-12-12 21:56:13 +00:00
rubidium
ae92fd2865
(svn r18468) -Codechange: make sure one never makes self-loops using Vehicle::SetNext
2009-12-12 21:04:08 +00:00
peter1138
15fbf4af70
(svn r18467) -Fix (r17870): Missed positioning for cargo capacity of non-articulated road vehicles.
2009-12-11 23:00:07 +00:00
rubidium
9ae2422956
(svn r18466) -Codechange: use CmdMoveRailWagon to attach a just build wagon to a chain
2009-12-11 22:23:48 +00:00
rubidium
b094312631
(svn r18465) -Codechange: simplify CheckTrainInDepot and remove some unneeded wrapper functions
2009-12-11 22:04:57 +00:00
alberth
64f1e18830
(svn r18464) -Fix (r17863): Caption of the build vehicle window did not have company colours.
2009-12-11 20:37:24 +00:00
rubidium
53d6d4a094
(svn r18463) -Codechange: some simplifications for finding the end of a vehicle
2009-12-11 19:28:28 +00:00
rubidium
b8a7efc450
(svn r18462) -Fix: when moving a wagon and only the last part of a dual headed engine you could split the dual headed engine over two vehicles.
2009-12-11 19:27:48 +00:00
rubidium
db4e547e24
(svn r18461) -Fix (r18456): when moving a wagon from the front of a train one could make a train 1 longer than allowed
2009-12-11 18:49:03 +00:00
translators
745a6d72d1
(svn r18460) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
traditional_chinese - 4 changes by josesun
croatian - 59 changes by UnderwaterHesus
french - 2 changes by glx
norwegian_bokmal - 34 changes by Zhygometh
serbian - 6 changes by etran
vietnamese - 3 changes by nglekhoi
2009-12-11 18:45:23 +00:00
rubidium
dbe667fbe3
(svn r18459) -Codechange: move the new train validity checking (attach callbacks) to a separate function
2009-12-11 16:16:36 +00:00
rubidium
fddedbe7ac
(svn r18458) -Codechange: make the 'check train length' code of CmdMoveRailVehicle a separate function
2009-12-11 15:50:07 +00:00
yexo
cd9e525808
(svn r18457) -Fix (r18015): southwest and northeast buttons for freeform edges were swapped
2009-12-11 15:16:44 +00:00
rubidium
c803540a9c
(svn r18456) -Codechange: make the length checking functionality of CmdMoveRailVehicle a separate function and simplify the logic
2009-12-11 13:37:01 +00:00
translators
ac17820bdc
(svn r18454) -Update from WebTranslator v3.0:
...
dutch - 2 changes by habell
hebrew - 49 changes by dnd_man
indonesian - 35 changes by fanioz, prof
polish - 5 changes by amateja, silver_777
russian - 1 changes by Lone_Wolf
serbian - 3 changes by etran
2009-12-10 18:45:22 +00:00
rubidium
0db77807b7
(svn r18453) -Fix [FS#3364]: wrong heightmap dimensions, or rather... a nested_array index removed too much
2009-12-10 12:26:39 +00:00
rubidium
826fad03fb
(svn r18450) -Fix [FS#3363]: initial size of the vehicle detail windows would occasionally be too small (although it could be resized)
2009-12-09 22:25:12 +00:00
rubidium
8ecf4bdd56
(svn r18449) -Fix (r18448): invalid argidx offsets in German
2009-12-09 18:50:05 +00:00
translators
1111629a34
(svn r18448) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
german - 7 changes by Roujin, planetmaker
hungarian - 1 changes by alyr
italian - 4 changes by lorenzodv
norwegian_bokmal - 33 changes by CyberKenny
portuguese - 2 changes by JayCity
russian - 2 changes by Lone_Wolf
spanish - 1 changes by Terkhen
vietnamese - 29 changes by nglekhoi
2009-12-09 18:45:29 +00:00
rubidium
ac4ef286f4
(svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable
2009-12-09 17:10:57 +00:00
glx
0c577dfde6
(svn r18446) -Fix (r17450): abort() doesn't trigger crashlog on windows
2009-12-09 15:24:13 +00:00
rubidium
7a38435a63
(svn r18445) -Fix [FS#3335]: for STR_NEWS_INDUSTRY_CLOSURE_GENERAL the gender of the industry wasn't properly selected for Greek.
2009-12-09 11:42:12 +00:00
rubidium
4d575c0226
(svn r18444) -Feature: allow G and P to 'select' substrings of STRINGn for getting their gender
2009-12-09 11:41:27 +00:00
rubidium
a70f2244e8
(svn r18443) -Fix (r18438): MSVC thinks, in it's infinite wisdom, that int min(int, int) is a better match for min(uint64, uint) than uint64 min(uint64, uint64). As such we need to cast the UINT16_MAX to prevent MSVC from displaying it's infinite wisdom with loads of warnings.
2009-12-09 09:28:47 +00:00
rubidium
29f44c099a
(svn r18442) -Fix (r18440): warning about SDL_Linked_Version never being NULL on non-Windows systems
2009-12-09 09:16:29 +00:00
peter1138
97597b510c
(svn r18441) -Fix: The vehicle list filler widget didn't fill.
2009-12-09 08:23:10 +00:00
glx
def740329f
(svn r18440) -Fix (r17774): don't try to get SDL version when SDL is not loaded
2009-12-09 02:53:59 +00:00
glx
da124cb149
(svn r18439) -Fix (r15233): forgot to load the symbol from SDL.dll
2009-12-09 02:49:01 +00:00
rubidium
b0eacbf350
(svn r18438) -Codechange [FS#3337]: introduce a template for Clamp (fonsinchen) and reuse template functions in their non-template counterparts.
2009-12-09 00:41:18 +00:00
smatz
784d6d836d
(svn r18437) -Fix (r16557): background of disabled button in AI GUI wasn't set back to grey after AI bankrupt
2009-12-09 00:08:13 +00:00
rubidium
7d33e62d7b
(svn r18436) -Fix [FS#3357]: unselect an AI in the AI Settings window when it falls out of the range of active AIs
2009-12-08 23:32:32 +00:00
rubidium
e7810f8061
(svn r18435) -Fix (r18136): articulated road vehicles weren't properly drawn in the vehicle list/details windows
2009-12-08 20:56:45 +00:00
rubidium
0971f666eb
(svn r18434) -Change [FS#565]: use zł instead of zl for the Polish Zloty.
2009-12-08 20:12:43 +00:00
frosch
9dd74395c8
(svn r18433) -Codechange: Show different texts in town GUI when the town does not need food the whole year to grow.
2009-12-08 19:59:21 +00:00
translators
85f8765618
(svn r18432) -Update from WebTranslator v3.0:
...
portuguese - 1 changes by JayCity
spanish - 2 changes by Terkhen
2009-12-08 18:45:09 +00:00
rubidium
42f3a1e909
(svn r18429) -Fix [FS#3360]: when road vehicles are, because of the 'jam protection' running through eachother more vehicles could be in a road stop than there could be under normal circumstances. As such an assert when the road stop's limits are reached isn't good.
2009-12-08 00:16:31 +00:00
rubidium
1e416f90fa
(svn r18428) -Fix: if lots of road vehicles are leaving a depot and the first in the hash linked list is basically the last of the vehicles to leave the depot then due to the 'jam prevention' code all vehicles would fairly quickly increase the blocked counter and drive off all simultaniously
2009-12-08 00:15:15 +00:00
translators
6b9327c162
(svn r18425) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
greek - 1 changes by fumantsu
norwegian_bokmal - 13 changes by 2rB
norwegian_nynorsk - 48 changes by 2rB
spanish - 3 changes by Terkhen
2009-12-07 18:45:20 +00:00
rubidium
36c58649f8
(svn r18424) -Fix [FS#3327]: [Windows] the help window would be too large in some cases
2009-12-07 17:13:28 +00:00
rubidium
9a656dbd32
(svn r18423) -Fix (r17336): [Windows] incorrect relative path the the icon making the icon not being included in the binary
...
-Fix: [Windows] mention the version of GPL in the metadata
2009-12-07 16:55:50 +00:00
rubidium
0e17c23ddd
(svn r18422) -Fix (r18404): MSVC complaining about struct vs class
2009-12-07 10:44:58 +00:00
rubidium
d6e73ea1ce
(svn r18421) -Fix [FS#3244]: pathfinders wouldn't consider the 'other' reachable waypoint tile if the closest one is free but there is no safe waiting point directly after it. Now check for a free safe waiting point beyond the waypoint unless there are junctions before the first safe waiting point.
2009-12-07 08:47:10 +00:00
rubidium
ad6d8c1f46
(svn r18420) -Codechange: split YAPF's track follower from the actual YAPF code
2009-12-07 08:41:18 +00:00
rubidium
73df2c7a25
(svn r18418) -Fix [FS#3298]: under some circumstances a pointer could be left untouched and then freed. Make sure this doesn't happen by ensuring it starts out as NULL instead of 'garbage'.
2009-12-06 20:22:21 +00:00
translators
c5a771b59d
(svn r18417) -Update from WebTranslator v3.0:
...
traditional_chinese - 31 changes by josesun
czech - 46 changes by Hadez
greek - 1 changes by fumantsu
hungarian - 2 changes by IPG
indonesian - 1 changes by prof
norwegian_nynorsk - 111 changes by 2rB
russian - 11 changes by Lone_Wolf
slovak - 14 changes by JamesSVK
2009-12-06 18:45:27 +00:00
frosch
7d905fae22
(svn r18416) -Fix (r15559): Only consider valid cargos in town GUI.
2009-12-06 16:15:58 +00:00
rubidium
a68849fb56
(svn r18415) -Fix [FS#3332]: on slopes the original and better road layouts did not check their minimum distance requirements
2009-12-06 16:14:13 +00:00
peter1138
f49491ddcd
(svn r18414) -Fix: In the depot window, 'free' wagons were not drawn resize.step_height apart
2009-12-06 11:46:57 +00:00
alberth
41d2214e7e
(svn r18413) -Doc: Added doxygen strings for cargo-type related enums, structs, and functions.
2009-12-05 21:39:28 +00:00
smatz
29606c0de6
(svn r18412) -Fix [FS#3350]: don't allow sending ships to rail waypoints and trains to buyos (Hirundo)
2009-12-05 19:21:43 +00:00
translators
be4027ea56
(svn r18411) -Update from WebTranslator v3.0:
...
greek - 3 changes by fumantsu
norwegian_nynorsk - 107 changes by 2rB
portuguese - 3 changes by JayCity
2009-12-05 18:45:11 +00:00
alberth
c38f3ce380
(svn r18410) -Codechange: Move GetCargoSprite() to CargoSpec::GetCargoIcon().
2009-12-05 16:00:58 +00:00
frosch
1e7403d372
(svn r18409) -Change [FS#3349]: Recolour the bubble generator just like any other industry. (planetmaker)
2009-12-05 15:03:32 +00:00
frosch
a12d91423b
(svn r18408) -Fix (r17954): After computing the needed width for the client list, also use it.
2009-12-05 13:53:58 +00:00
rubidium
4047c142eb
(svn r18407) -Fix [FS#3338]: aqueducts were not influenced by the "long bridges" setting
2009-12-04 22:02:37 +00:00
rubidium
bc876098f7
(svn r18406) -Cleanup: remove some unneeded constants and code
2009-12-04 21:13:31 +00:00
rubidium
cbc6653a47
(svn r18405) -Fix (r18405): RVs didn't like to stop when the 'next' drive through station tile didn't have a compatible road type
2009-12-04 21:01:28 +00:00
rubidium
fac2f8ce1a
(svn r18404) -Codechange: link drive through stops better together
...
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
2009-12-04 20:52:19 +00:00
belugas
65b3e38bea
(svn r18403) -Codechange: Re-arrange header of table _original_house_specs
2009-12-04 20:32:51 +00:00
rubidium
19fa38601d
(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
2009-12-04 20:29:46 +00:00
rubidium
c22f9679b5
(svn r18401) -Fix: drive through road stops did not get flooded
2009-12-04 19:16:52 +00:00
translators
710e84f11e
(svn r18400) -Update from WebTranslator v3.0:
...
traditional_chinese - 52 changes by josesun
greek - 17 changes by fumantsu
2009-12-04 18:45:10 +00:00
rubidium
3817153a8e
(svn r18399) -Codechange: bail out early in FloodVehicle instead of a massive if (...) { } else { return }
2009-12-04 18:38:09 +00:00
rubidium
c1c9a3e835
(svn r18398) -Fix [FS#3343]: the tree 'which one to draw' hash wasn't anywhere near random and thus showed a very visible repeated pattern when only one tree type was used
2009-12-04 16:57:35 +00:00
rubidium
c559ec6308
(svn r18397) -Fix [FS#3346]: after cancelling downloading the download button would remain disabled
2009-12-04 14:23:54 +00:00
yexo
c8284c2a5c
(svn r18396) -Fix [FS#3169]: planes turned too much at the end of the runway when landing at the intercontinental airport~
2009-12-04 09:56:21 +00:00
yexo
8bed302bcf
(svn r18395) -Fix (r17415): helicopters can turn freely even while in the air
2009-12-04 09:13:15 +00:00
rubidium
f5f6fc16f6
(svn r18394) -Fix (r18373): one couldn't manually send a RV to a depot... but why compilers haven't complained about this?
2009-12-04 00:46:22 +00:00
translators
d2bcf733f8
(svn r18393) -Update from WebTranslator v3.0:
...
traditional_chinese - 2 changes by josesun
german - 3 changes by planetmaker
italian - 1 changes by lorenzodv
portuguese - 10 changes by JayCity
romanian - 22 changes by kkmic
2009-12-03 18:45:17 +00:00
frosch
f4931ef4a2
(svn r18392) -Fix (r13956)[FS#3345]: [YAPP] Trains on bridges were not found, when searching for the origin of a reservation. (Hirundo)
2009-12-03 18:44:33 +00:00
frosch
169141433a
(svn r18391) -Fix (r0): (Invalid) GRFs could trigger invalid reads.
2009-12-03 15:27:33 +00:00
peter1138
3addf58f30
(svn r18390) -Fix (r17776): [SDL] Reinstate pointer update on 'idle' loop.
2009-12-03 08:24:39 +00:00
rubidium
5c1fdfdd03
(svn r18389) -Fix: some minor documentation alignment issues
2009-12-03 00:05:51 +00:00
rubidium
aa40d8e3ad
(svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop
2009-12-02 23:53:15 +00:00
translators
edc7de7936
(svn r18387) -Update from WebTranslator v3.0:
...
catalan - 3 changes by arnau
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 11 changes by planetmaker
hungarian - 2 changes by IPG
portuguese - 1 changes by JayCity
spanish - 3 changes by Terkhen
2009-12-02 18:45:25 +00:00
rubidium
865374eeb6
(svn r18386) -Codechange: make the NPF functions static and remove unused functions
2009-12-02 18:34:10 +00:00
rubidium
0ef0e13795
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
2009-12-02 18:18:56 +00:00
rubidium
429f3993f8
(svn r18384) -Fix (r18351): attempt to 'work around' MSVC's IMO stupid warning
2009-12-02 18:14:34 +00:00
rubidium
66da3cbb20
(svn r18383) -Fix (r18375): triggering NOT_REACHED for some waypoints
2009-12-02 18:12:24 +00:00
rubidium
4ec4fdff36
(svn r18382) -Codechange: make road vehicles behave more like trains 'around' stations and use pathfinder penalties to determine to which 'part' to go. Note that the pathfinder penalties for drive through stops are currently only looking at the occupation of the first in a row, but this is to change later on.
2009-12-02 17:56:02 +00:00
frosch
59f9163e37
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
2009-12-02 17:37:02 +00:00
frosch
2265202d77
(svn r18380) -Fix (r9301): One could not share orders between buses carrying different cargos.
2009-12-02 17:35:54 +00:00
rubidium
9426f2b173
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
2009-12-02 16:48:55 +00:00
rubidium
d58e4084de
(svn r18378) -Codechange: move the pathfinder 'length' constants to pathfinder_type.h
2009-12-02 16:38:33 +00:00
rubidium
81062163a2
(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.
2009-12-02 16:20:44 +00:00
rubidium
1c65150d6d
(svn r18376) -Codechange: simplify setting the destination
2009-12-02 14:44:32 +00:00
rubidium
a1e28925e3
(svn r18375) -Codechange: use Station::GetTileArea to get the tile area for CalcClosestStationTile
2009-12-02 14:41:04 +00:00
rubidium
f67c265c6f
(svn r18374) -Cleanup: remove some unused code
2009-12-02 10:47:18 +00:00
rubidium
c10e953141
(svn r18373) -Codechange: unify some road pathfinder functions
2009-12-02 10:44:38 +00:00
rubidium
c56c892b2c
(svn r18372) -Codechange: push some extra type safety into YAPF
2009-12-02 10:13:49 +00:00
rubidium
9165c195b9
(svn r18371) -Codechange: unify calling of the train pathfinders
2009-12-02 09:57:17 +00:00
rubidium
ef8cc49175
(svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders
2009-12-02 09:31:38 +00:00
rubidium
250c355508
(svn r18369) -Fix [FS#3339] (rbeginning): off-by-one in the preconfigured music lists
2009-12-02 08:55:53 +00:00
rubidium
9d5ff5def0
(svn r18368) -Fix: alignment of comment and 'add' some missing comments
2009-12-02 00:01:07 +00:00
rubidium
76fe20cdcc
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
2009-12-01 23:56:04 +00:00
rubidium
291f6490c6
(svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself
2009-12-01 23:22:41 +00:00
rubidium
5d7af2561f
(svn r18365) -Cleanup: remove duplicate table
2009-12-01 23:19:46 +00:00
rubidium
f52e27c688
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
2009-12-01 22:45:39 +00:00
rubidium
a7beae8733
(svn r18363) -Feature: do not require advanced settings multistrings to start at 0
2009-12-01 22:27:12 +00:00
rubidium
3a83eab967
(svn r18362) -Cleanup: remove OPF for RVs and NTP to clean up lots of code and simplify some things for the future
2009-12-01 22:18:51 +00:00
frosch
d634f31c7b
(svn r18361) -Fix: Remove unneeded usage of invalid pointer. Also thank Hirundo and SmatZ.
2009-12-01 21:45:50 +00:00
translators
d614dc78ba
(svn r18359) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 114 changes by UnderwaterHesus
hungarian - 26 changes by IPG
2009-12-01 18:45:12 +00:00
frosch
df0b347b45
(svn r18358) -Cleanup: More usage of EPV_CYCLES_(DARK|GLITTER)_WATER.
2009-12-01 18:12:17 +00:00
rubidium
e236c8f101
(svn r18353) -Fix: string colours can't have a case
2009-11-30 21:46:58 +00:00
translators
18665155f6
(svn r18352) -Update from WebTranslator v3.0:
...
afrikaans - 35 changes by Maccie123
traditional_chinese - 1 changes by josesun
croatian - 221 changes by UnderwaterHesus
danish - 129 changes by embql
dutch - 7 changes by habell
finnish - 4 changes by Tve4
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
polish - 1 changes by silver_777
portuguese - 3 changes by JayCity
serbian - 3 changes by etran
spanish - 1 changes by Terkhen
2009-11-30 18:57:42 +00:00
rubidium
5a41a646c2
(svn r18351) -Fix [FS#3333]: endianness issue with saving the zoom level
2009-11-30 11:29:52 +00:00
smatz
9ecfcdff78
(svn r18350) -Codechange: catch SIGILL under unix-like systems as well
2009-11-29 22:18:04 +00:00
alberth
4b4c1ffc17
(svn r18349) -Fix (r18347): Older compilers want explicit assignments.
2009-11-29 21:40:51 +00:00
alberth
ccd7399ea0
(svn r18348) -Doc: Doxygen fixes, and removal of an old @note.
2009-11-29 21:27:12 +00:00
alberth
f2f9ef7a9f
(svn r18347) -Codechange: Compute width of labels in news settings window once.
2009-11-29 21:17:37 +00:00
alberth
bb19a2e757
(svn r18346) -Codechange: Compute size of face part display buttons only once in face window.
2009-11-29 21:16:37 +00:00
alberth
5187a5980b
(svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead.
2009-11-29 21:14:34 +00:00
rubidium
8a8bf6c53d
(svn r18344) -Change [FS#2923]: do not split up articulated vehicles in the train details view. If an articulated vehicle it too 'wide' draw the information on the next line and if there are multiple cargos split that over multiple lines too. Based on work by frosch123.
2009-11-29 19:31:23 +00:00
rubidium
ff5b46190d
(svn r18343) -Fix [FS#3336] (r18243): dark blue signs would be drawn transparent
2009-11-29 19:27:53 +00:00
rubidium
2e2f72b971
(svn r18342) -Fix: erroneous spaces before ;
2009-11-29 19:20:39 +00:00
frosch
2784f15304
(svn r18341) -Fix: Replace some GetNextVehicle() with GetNextUnit() where needed.
2009-11-29 18:46:54 +00:00
translators
dd1fd66ed6
(svn r18340) -Update from WebTranslator v3.0:
...
finnish - 7 changes by jpx_
german - 2 changes by planetmaker
greek - 30 changes by
hungarian - 2 changes by alyr
indonesian - 4 changes by prof
portuguese - 5 changes by JayCity
russian - 19 changes by Lone_Wolf
spanish - 2 changes by Terkhen
2009-11-29 18:45:28 +00:00
rubidium
65e6355422
(svn r18339) -Cleanup: remove SKIP support from strgen too
2009-11-29 17:24:39 +00:00
rubidium
0fce00edd8
(svn r18338) -Codechange: remove the need for {SKIP}
2009-11-29 17:20:27 +00:00
alberth
548f47af58
(svn r18337) -Codechange: Remove 2x2 {SKIP} in the company finances window + strings.
2009-11-29 12:52:08 +00:00
alberth
1f70f065d6
(svn r18336) -Cleanup (r18092): Remove declaration of an already removed function.
2009-11-29 11:48:20 +00:00
alberth
01d4eba140
(svn r18335) -Codechange: Further reduction of nested_root NULL-ness checking.
2009-11-29 10:56:51 +00:00