smatz
b2aed51f8e
(svn r16403) -Codechange: move code related to subsidies to separate file
2009-05-23 15:46:00 +00:00
rubidium
f2317d0d9d
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
2009-05-23 15:25:52 +00:00
yexo
0b243d25cb
(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete.
2009-05-23 14:54:55 +00:00
frosch
8e30f0e75a
(svn r16399) -Fix (r4540): Don't treat pointer values as integer.
2009-05-23 13:42:02 +00:00
rubidium
bbd14acb1d
(svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago.
2009-05-23 12:56:30 +00:00
rubidium
86710c5185
(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
2009-05-23 12:27:42 +00:00
rubidium
f490394aa8
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
2009-05-23 12:13:42 +00:00
smatz
b270ca84ba
(svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs
2009-05-23 11:13:43 +00:00
rubidium
6237fe1462
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
2009-05-23 09:10:56 +00:00
rubidium
da5661a0c8
(svn r16393) -Codechange: move VehicleRail to Train.
2009-05-22 22:55:41 +00:00
rubidium
c4b627af42
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
2009-05-22 22:33:05 +00:00
rubidium
80e94b9bb1
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
2009-05-22 22:22:46 +00:00
rubidium
7a37220881
(svn r16390) -Codechange: move u.road to RoadVehicle.
2009-05-22 20:22:20 +00:00
rubidium
d37b840cf3
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
2009-05-22 20:18:45 +00:00
rubidium
c882248348
(svn r16388) -Codechange: move u.air to Aircraft
2009-05-22 20:07:26 +00:00
rubidium
ada3067960
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
2009-05-22 20:03:26 +00:00
frosch
09d64ff79d
(svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and make it static.
2009-05-22 19:47:26 +00:00
rubidium
74ea34ca66
(svn r16385) -Codechange: move u.disaster to DisasterVehicle.
2009-05-22 18:57:11 +00:00
rubidium
6d1c974254
(svn r16384) -Codechange: move u.effect to EffectVehicle
2009-05-22 18:56:25 +00:00
frosch
2365d27a4d
(svn r16383) -Fix/Change: Disable multitile houses with non-zero population on additional tiles as they cause desyncs and because the specs do not allow that either.
2009-05-22 18:44:22 +00:00
rubidium
441011b782
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
2009-05-22 18:17:20 +00:00
translators
cf0cfb908f
(svn r16381) -Update: WebTranslator2 update to 2009-05-22 17:38:42
...
brazilian_portuguese - 2 fixed by tucalipe (2)
estonian - 2 fixed by kristjans (2)
french - 2 fixed by glx (2)
indonesian - 20 fixed by rindu (20)
romanian - 4 fixed by CrystyB (2), kkmic (2)
serbian - 229 fixed by etran (229)
spanish - 2 fixed by eusebio (2)
2009-05-22 17:38:53 +00:00
smatz
56a7b70591
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
2009-05-22 15:39:22 +00:00
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22 15:23:47 +00:00
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
2009-05-22 15:13:50 +00:00
smatz
04723b240e
(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index
2009-05-22 14:23:36 +00:00
smatz
b687ac51ee
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
2009-05-22 13:53:14 +00:00
smatz
561d97880d
(svn r16375) -Codechange: don't be afraid of deleting NULL pointers
2009-05-22 13:13:55 +00:00
peter1138
b37fda664c
(svn r16374) -Fix (r11622): Valid UTF-8 sequences between 0x20 and 0xFF should be allowed as is instead of being treated as control codes.
2009-05-22 12:05:28 +00:00
smatz
6afce484bb
(svn r16373) -Codechange: use () instead of (void) for functions without parameters
2009-05-21 22:43:25 +00:00
alberth
c497e9e7ed
(svn r16372) -Codechange: Simplify size calculations with a few helper functions.
2009-05-21 18:12:28 +00:00
alberth
1122d625ae
(svn r16371) -Codechange (r16367): Properly align comments.
2009-05-21 17:45:12 +00:00
alberth
438a5e77b7
(svn r16370) -Doc: Improvements to the nested widgets documentation, added explanation about computations, fixed typo in param description.
2009-05-21 16:26:38 +00:00
alberth
b6d198ca0b
(svn r16369) -Codechange: Renaming ComputeMinimalSize() to SetupSmallestSize(), and AssignMinimalPosition() to AssignSizePosition(), they do not compute minimal size anymore.
2009-05-21 16:14:04 +00:00
alberth
db1be47d76
(svn r16368) -Codechange: Only leaf widgets use min_x and min_y.
2009-05-21 16:00:52 +00:00
alberth
054deab7b3
(svn r16367) -Codechange: Do not use min_x and min_y for storing smallest size to allow initialization more than once.
2009-05-21 15:48:27 +00:00
frosch
82532ac12e
(svn r16366) -Fix: Use a valid StringID as fall-back when undefined generic newgrf strings of vehicles are requested.
2009-05-21 13:05:48 +00:00
peter1138
b801d801b5
(svn r16363) -Fix: The previously selected newgrf station type was still remembered after switching to a different game without newstations enabled, preventing stations from being built.
2009-05-21 07:29:50 +00:00
translators
2d8d5580b6
(svn r16362) -Update: WebTranslator2 update to 2009-05-20 17:30:16
...
catalan - 2 fixed by arnaullv (2)
czech - 2 fixed by Hadez (2)
dutch - 2 fixed by habell (2)
finnish - 2 fixed by jpx_ (2)
german - 2 fixed by planetmaker (2)
hungarian - 2 fixed by oklmernok (2)
italian - 2 fixed by lorenzodv (2)
japanese - 20 fixed by ickoonite (20)
turkish - 2 fixed by Emin (2)
2009-05-20 17:30:30 +00:00
rubidium
26070726ac
(svn r16361) -Fix: pointer incremented with wrong count
2009-05-19 21:25:20 +00:00
rubidium
9f4d64bda0
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
2009-05-19 21:20:14 +00:00
smatz
00bc2659f2
(svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow
2009-05-19 19:26:03 +00:00
glx
ec76117379
(svn r16358) -Fix (r16343): strdup doesn't like NULL
2009-05-19 17:04:42 +00:00
smatz
1e45f4bc4c
(svn r16357) -Codechange: delete invalid depots in TTD savegames caused by improper SVXConverter conversions
2009-05-19 12:47:47 +00:00
smatz
3bd52accd9
(svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of functions in mem_func.hpp
2009-05-19 08:21:37 +00:00
smatz
70aab8bf04
(svn r16354) -Codechange: use 'new' pool accessors and methods for Engine too
2009-05-18 19:32:16 +00:00
smatz
a0ff6363e6
(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID
2009-05-18 17:40:03 +00:00
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
2009-05-18 16:21:28 +00:00
smatz
5fe906e149
(svn r16351) -Fix (r14773): signal handler could end in endless loop
2009-05-18 12:01:13 +00:00
smatz
9af2e38d44
(svn r16350) -Codechange: make some 'rail track is present' checks more 'secure'
2009-05-18 01:35:15 +00:00
smatz
0af27062c4
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
2009-05-18 01:26:23 +00:00
smatz
d1f9a90d32
(svn r16348) -Fix (r16280): buoys with invalid station ID could be left in the game
2009-05-18 00:33:24 +00:00
rubidium
b385cf31cb
(svn r16347) -Cleanup: remove some unused defines from oldpool.h.
2009-05-17 20:38:22 +00:00
rubidium
10406e8ad6
(svn r16346) -Codechange: don't exploit the pool system in the way done for the saveload pool; it makes writing replacements unnecessarily difficult. And now we've got SmallVector that does more than enough for saving with less lines of 'interface' code.
2009-05-17 20:38:05 +00:00
rubidium
543cc6b75e
(svn r16345) -Codechange: replace the Sound(Entry) pool with a simple vector of SoundEntries.
2009-05-17 19:36:28 +00:00
rubidium
4a04dfc07c
(svn r16344) -Codechange: s/FileEntry/SoundEntry/
2009-05-17 19:27:50 +00:00
frosch
ceca68fca7
(svn r16343) -Fix (r16066): Invalid free on exit after changing base graphics set in game.
2009-05-17 19:14:22 +00:00
frosch
5507a5b233
(svn r16342) -Feature(tte): Display base graphics description in game options window.
2009-05-17 18:21:21 +00:00
rubidium
e56cc911f1
(svn r16341) -Codechange: just use a static array instead of a never freed malloc
2009-05-17 17:48:05 +00:00
rubidium
9c24e2bb8f
(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
2009-05-17 17:17:48 +00:00
rubidium
e3bd95e7b6
(svn r16339) -Fix: [NewGRF] When overriding 'original sounds', only allow overriding of the 'original sounds' and not any other that is already loaded.
2009-05-17 17:00:30 +00:00
smatz
570af0ce44
(svn r16338) -Codechange: split loading of references to two phases
...
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-05-17 16:28:29 +00:00
rubidium
83dc6ef6e6
(svn r16337) -Codechange: remove pointless variable + wrapper function; having it return anything else than ORIGINAL_SAMPLE_COUNT is asking for NewGRFs failing to load (due to invalid sample index), thus desyncs
2009-05-17 14:57:14 +00:00
rubidium
10ea72a08e
(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' pools
2009-05-17 14:32:13 +00:00
smatz
76784501a8
(svn r16335) -Codechange: indenting fixes in saveload.cpp
2009-05-17 11:47:56 +00:00
smatz
4876e346d5
(svn r16334) -Codechange: use NeedLength enum
2009-05-17 11:43:51 +00:00
rubidium
88201ccd5c
(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.
2009-05-17 11:18:34 +00:00
rubidium
e7dedf4e1b
(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)
2009-05-17 11:17:53 +00:00
smatz
3322cc978f
(svn r16331) -Codechange: replace _sl.save by an enum
2009-05-17 11:15:11 +00:00
rubidium
b23c967230
(svn r16330) -Fix (r16329): we were shortly visited by Mr. Kenobi.
2009-05-17 10:59:40 +00:00
rubidium
f457cff73c
(svn r16329) -Fix: possible desync when removing lots of towns in-game (not that we allow removing towns now, but better not have desync prone code lingering around)
2009-05-17 10:35:13 +00:00
rubidium
6b2f9e8c9e
(svn r16328) -Fix: desync when removing lots of stations
2009-05-17 10:19:00 +00:00
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
2009-05-17 01:00:56 +00:00
smatz
ed1e54bd84
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
2009-05-16 23:44:36 +00:00
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
rubidium
814f153b5a
(svn r16323) -Fix [FS#2900]: desyncs due to the fact that depot searching with a maximum search depth simply does not work with YAPF's caches.
2009-05-16 20:10:58 +00:00
rubidium
8324cfc875
(svn r16322) -Fix [FS#2873]: trains could get stuck in a depot when they wanted to go to the same depot again.
2009-05-16 20:08:49 +00:00
rubidium
bdbbe3a09b
(svn r16321) -Fix (r5946): in the scenario editor change the (starting) game year of the scenario, not the (starting) game year for new games/scenarios.
2009-05-16 18:58:15 +00:00
smatz
aff7a9e953
(svn r16320) -Fix (r11939): loading of savegames created in revision between 0.3.5 and 0.3.6 caused crash
2009-05-16 18:28:31 +00:00
translators
f9930e190b
(svn r16319) -Update: WebTranslator2 update to 2009-05-16 17:35:44
...
arabic_egypt - 1 fixed by khaloofah (1)
english_US - 24 fixed by WhiteRabbit (24)
esperanto - 6 fixed by maristo (6)
german - 1 changed by planetmaker (1)
welsh - 9 fixed by welshdragon (9)
2009-05-16 17:35:53 +00:00
rubidium
a34d5bb6ab
(svn r16318) -Change: use !! instead of @@ in src/*.in too.
...
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
2009-05-16 12:36:33 +00:00
alberth
db7e24e211
(svn r16317) -Codechange: Generalized finding a widget by type.
2009-05-16 11:25:19 +00:00
yexo
c299a38e1f
(svn r16316) -Fix (r16287,before): Set the autorenew settings for new AI companies to the default values, not to 0 or the local settings
2009-05-16 00:16:43 +00:00
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
2009-05-15 23:55:06 +00:00
frosch
aea2fcd0a0
(svn r16314) -Fix (r9315): Allow accessing the houseage when the house is not yet built.
2009-05-15 22:45:31 +00:00
rubidium
917621b639
(svn r16312) -Codechange: unduplicate yapf (rail) cache debugging.
2009-05-15 17:32:07 +00:00
frosch
8ffb93c358
(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS.
2009-05-15 16:07:36 +00:00
smatz
683a6ca039
(svn r16308) -Fix: parameter is invalid when it's equal to length of an array (Yexo)
2009-05-14 23:40:03 +00:00
glx
b3a539b016
(svn r16307) -Fix: makedepend can't handle the amount of files we have and it also miss some dependencies. That's why we introduce our custom implementation of makedepend.
2009-05-14 21:59:24 +00:00
yexo
203cd6c2dd
(svn r16306) -Fix [FS#2901] (r15027): Close all windows before unloading the AI system as closing the content-download window will rescan for AIs
2009-05-14 18:09:50 +00:00
rubidium
a5d6e23e9d
(svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions.
2009-05-14 12:08:24 +00:00
rubidium
9dff385c38
(svn r16304) -Codechange: remove some magic numbers from the newgrf add window so it mirrors nicely.
2009-05-13 22:51:31 +00:00
frosch
32ecc48ec8
(svn r16303) -Codechange: Use the question mark as default sprite when creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)
2009-05-13 21:45:56 +00:00
smatz
a1addc1d95
(svn r16302) -Codechange: remove Vehicle::AllocateList
2009-05-13 21:38:23 +00:00
smatz
c0ed9f779b
(svn r16301) -Cleanup: remove unused parameter
2009-05-13 20:30:46 +00:00
smatz
0274886ae1
(svn r16300) -Codechange: reduce usage of Vehicle::AllocateList
2009-05-13 19:26:47 +00:00
smatz
2bc5189ad5
(svn r16299) -Fix (r16242): don't use DoCommandP when the function can be called from another command
2009-05-13 19:13:36 +00:00
rubidium
5f81ba886c
(svn r16297) -Codechange: silence more ICC warnings
2009-05-13 17:39:00 +00:00
rubidium
d23f616e9f
(svn r16296) -Codechange: silence some ICC warnings
2009-05-13 16:52:51 +00:00
rubidium
3d3b5256f0
(svn r16295) -Fix: ICC defined __GNUC__ but does not define __builtin_bswap32, so fall back to the default swap method for ICC.
2009-05-13 16:51:17 +00:00
yexo
67723e42aa
(svn r16292) -Fix (r16287): autorenew settings were set to 0 when creating a new company in multiplayer
2009-05-13 12:07:36 +00:00
rubidium
aa0459309c
(svn r16291) -Fix [FS#2893]: RVs were unable to find a depot when turning around (in some cases), causing 'nearest depot' orders to be occasionally lost.
2009-05-13 10:58:41 +00:00
rubidium
111e62bba6
(svn r16290) -Fix [FS#2888]: unable to (re)set the desert state for watery tiles
2009-05-13 10:57:32 +00:00
smatz
1f3dce6f85
(svn r16289) -Fix (r16211): 'Display map' dropdown in scenario editor was broken
2009-05-13 10:38:46 +00:00
smatz
3afce9b641
(svn r16288) -Fix (r16237): crash after clicking in the ClientList window
2009-05-13 00:24:21 +00:00
yexo
90ba8e1bc8
(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings
2009-05-12 22:32:22 +00:00
rubidium
095a30efb0
(svn r16286) -Change: make the scrolling ticker RTL/LTR aware (scroll in different directions)
2009-05-12 22:28:18 +00:00
rubidium
31272407f5
(svn r16284) -Codechange: replace some magic numbers with the left/right/top/bottom of a widget
2009-05-12 20:01:39 +00:00
rubidium
c96dac5443
(svn r16283) -Fix [FS#2890]: news ticker truncated too early
2009-05-12 19:59:33 +00:00
translators
9e6e0c6b09
(svn r16282) -Update: WebTranslator2 update to 2009-05-12 17:55:59
...
czech - 10 fixed by Hadez (10)
german - 13 changed by planetmaker (13)
spanish - 11 fixed by eusebio (11)
2009-05-12 17:56:06 +00:00
smatz
0b547928be
(svn r16281) -Fix: silence some of compile farm warnings for target win9x
2009-05-11 18:48:05 +00:00
smatz
15a5a33c70
(svn r16280) -Fix (r13731): crash after using the 'Reset landscape' function
...
-Fix: remove all waypoint signs and buoys after resetting landscape
2009-05-11 18:17:21 +00:00
smatz
e1e6687bfd
(svn r16277) -Codechange: enumerize values and remove unneeded values used for testing town rating
2009-05-11 11:55:41 +00:00
rubidium
d9e1de0281
(svn r16276) -Fix: huh, old AI? What is that? What about all the time I thought there was no AI?
2009-05-11 11:13:37 +00:00
frosch
4710c3fe31
(svn r16274) -Fix: Disable multitile houses for which the newgrf does not define proper additional tiles. (instead of crashing later)
2009-05-10 22:16:51 +00:00
smatz
f5316c5cbd
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
...
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-10 17:27:25 +00:00
frosch
552f10bb09
(svn r16268) -Fix (r9876): When callback 2E returns an amount of 0, do not transport 1 unit to the station.
2009-05-10 15:42:59 +00:00
frosch
bdf0b9491d
(svn r16267) -Documentation: [NoAI] Explain how to deal with IDs of various objects.
2009-05-10 15:23:55 +00:00
frosch
c6f08e1247
(svn r16266) -Documentation: [NoAI] Add details to AITile::(Raise|Lower)Tile wrt. modifiing multiple corners at once.
2009-05-10 15:23:08 +00:00
smatz
d4971a22d0
(svn r16265) -Fix (r16238): wrong format string for debug output
2009-05-10 13:23:23 +00:00
frosch
96dace426b
(svn r16264) -Change/Fix (r16262): [NoAI] Change SLOPE_INVALID to 0xFFFF so that SLOPE_INVALID != (SLOPE_ELEVATED | SLOPE_STEEP | SLOPE_HALFTILE_MASK).
2009-05-10 12:26:55 +00:00
frosch
294d7ee9d6
(svn r16263) -Change: Interpret setting bridge property 08 to 0 as always available.
2009-05-09 19:48:14 +00:00
yexo
8d22e4bec3
(svn r16262) -Fix [NoAI]: Check slopes passed to the API better for validity
2009-05-09 19:45:02 +00:00
frosch
f8944cc9b3
(svn r16261) -Fix (r16260): Replace a space with a newline and a tab. (thanks smatz)
2009-05-09 14:23:19 +00:00
frosch
677ea100b3
(svn r16260) -Codechange: Add Vehicle::IncrementOrderIndex() to deduplicate some code.
2009-05-09 13:37:18 +00:00
alberth
a8aa4e2148
(svn r16259) -Codechange: Added nested widgets to the load and save dialogue windows.
2009-05-09 13:03:45 +00:00
alberth
bbb951151d
(svn r16258) -Codechange: Remove panel with negative height and some small adjustments in the load/save dialogue windows.
2009-05-09 12:56:55 +00:00
alberth
0cd6dde6a7
(svn r16257) -Codechange: Added empty widgets in load dialogue to move the resize box to the right place in the array.
2009-05-09 12:49:28 +00:00
alberth
590becf567
(svn r16256) -Codechange: Moved load/save dialogue widget numbers outside the window struct.
2009-05-09 12:44:12 +00:00
alberth
977db77921
(svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length.
2009-05-09 08:02:17 +00:00
frosch
8fc723800f
(svn r16254) -Fix [FS#2886]: Magic constant removed.
2009-05-08 09:00:47 +00:00
yexo
a00b22b1cd
(svn r16253) -Add [NoAI]: AIController::GetVersion, this returns the newgrf-version of OpenTTD
2009-05-07 21:33:38 +00:00
yexo
9b4a32deb4
(svn r16252) -Add [NoAI]: AIAirport::GetPrice, returning the building cost of an airport
2009-05-07 21:30:18 +00:00
translators
e92efe028c
(svn r16251) -Update: WebTranslator2 update to 2009-05-07 17:36:23
...
danish - 26 fixed, 1 changed by ThomasA (27)
romanian - 1 fixed by kkmic (1)
welsh - 10 fixed by welshdragon (10)
2009-05-07 17:36:28 +00:00
rubidium
101af1f9b5
(svn r16250) -Fix (r16242): do not try to unpause when paused for a joining company
2009-05-07 17:08:41 +00:00
yexo
73e1d18871
(svn r16249) -Fix [NoAI]: Enable parameter checking for AIController::* functions again
2009-05-07 12:13:58 +00:00
yexo
afc5c66386
(svn r16244) -Fix [NoAI]: Make sure AITunnel::BuildTunnel returns what the documentation says it does
2009-05-06 21:40:51 +00:00
yexo
ca435fcece
(svn r16243) -Fix [FS#2875]: CmdBuildTunnel could be called with invalid parameters from the api code, causing crashes later
2009-05-06 21:38:59 +00:00
rubidium
2664f2a2d9
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-05-06 15:06:57 +00:00
rubidium
bb121a1510
(svn r16241) -Fix (r16181): regression failing due to wrongly initialised amount of traps
2009-05-06 13:42:31 +00:00
frosch
ff7f2bdb20
(svn r16240) -Fix: Make 'stop in depot'-orders only apply on the target depot, not those which are entered on the way to them.
2009-05-06 13:15:07 +00:00
yexo
fe5defbacc
(svn r16239) -Fix (r16199): Use the stop/non-stop intermediate orderflags AIs can give for goto-depot orders
2009-05-06 12:48:13 +00:00
rubidium
951b9e7615
(svn r16238) -Change: improve/clarify some network related debug "error" messages by adding more information to them. Also give some clues on how to fix certain issues (like failing advertising).
2009-05-06 09:52:52 +00:00
alberth
29675278c4
(svn r16237) -Codechange: Add nested widgets to remaining network windows.
2009-05-05 20:40:08 +00:00
alberth
b967b45ae8
(svn r16236) -Codechange: Make widget enums complete of various network windows, and add them as comment.
2009-05-05 20:36:16 +00:00
alberth
4d3f8bbb97
(svn r16235) -Codechange (r16234): But keep the window description.
2009-05-05 20:33:05 +00:00
alberth
6d783983e7
(svn r16234) -Codechange (r16231, r16233): Do not add test functions to trunk.
2009-05-05 20:17:39 +00:00
alberth
819588c51f
(svn r16233) -Codechange: Added nested widgets to network content windows.
2009-05-05 20:08:50 +00:00
alberth
4add445012
(svn r16232) -Codechange: Moving network content widgets enums outside window structs.
2009-05-05 20:07:33 +00:00
alberth
fb1dbd6d19
(svn r16231) -Codechange: Added nested widgets to chat window.
2009-05-05 20:03:57 +00:00
alberth
e04d2c88d9
(svn r16230) -Codechange: Moving chat widgets enum outside window struct.
2009-05-05 20:03:12 +00:00
translators
a75e73fa1f
(svn r16229) -Update: WebTranslator2 update to 2009-05-05 12:43:50
...
korean - 1 changed by dlunch (1)
luxembourgish - 53 fixed by Gubius (53)
simplified_chinese - 3 fixed, 3 changed by ww9980 (6)
2009-05-05 12:43:55 +00:00
frosch
9023c24acf
(svn r16228) -Fix/Change (r16187): If we are heading for a different depot, do also not do the refitting-part of the depot-order.
...
-Fix (r16198): && != &, GetDepotOrderType != GetDepotActionType and - uhm - ODATFB_NEAREST_DEPOT is not set for current_order either.
2009-05-04 19:27:22 +00:00
alberth
34066a6027
(svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window.
2009-05-04 18:42:49 +00:00
alberth
efde51e452
(svn r16226) -Codechange: Separating generation of a widget array from WindowDesc to the InitializeWidgetArrayFromNestedWidgets function.
2009-05-04 18:40:37 +00:00
alberth
d953f3e4c7
(svn r16225) -Codechange: Added nested widgets to all rail_gui windows (except the build depot window).
2009-05-04 12:22:01 +00:00
alberth
a5e9e837a1
(svn r16224) -Codechange: Move BuildRailStationWidgets and BuildRailWaypointWidgets enums out of their Window structs, extend horizontal scrollbar by 1 pixel.
2009-05-04 12:09:30 +00:00
frosch
ddd47a056d
(svn r16223) -Fix (r8881): ActionB should use the online parameters from GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown.
2009-05-04 11:23:21 +00:00
rubidium
21f5f602f9
(svn r16222) -Fix: unneeded pointer dereferencing
2009-05-03 21:56:46 +00:00
rubidium
5f4eeee5f0
(svn r16221) -Change: support building 64 bits OSX binaries and add optional support for 64 bits binaries in OSX universal binaries. However, do not default to adding 64 bits binaries because benchmarking has shown that they are slower than the 32 bits binaries.
2009-05-03 15:46:36 +00:00
rubidium
d685ca0619
(svn r16220) -Fix [FS#2862]: possible crashes when quiting OpenTTD or forcing resizes/redraws of the screen during map generation
2009-05-03 15:44:05 +00:00
alberth
c29f4fd738
(svn r16219) -Codechange: Added nested widgets to rv station picker window.
2009-05-03 13:55:22 +00:00
alberth
8ae0696447
(svn r16218) -Codechange: Move BuildRoadStationWidgets enum outside window struct.
2009-05-03 13:54:47 +00:00
alberth
c8ac8decce
(svn r16217) -Codechange: Make rv station picker widgets non-overlapping, fix doc typo.
2009-05-03 13:53:34 +00:00
alberth
6887660fab
(svn r16216) -Codechange: Added nested widgets to vehicle view window.
2009-05-03 13:13:41 +00:00
alberth
fef68aa2e9
(svn r16215) -Codechange: Added tooltip to resizebox of vehicle view window.
2009-05-03 13:12:13 +00:00
rubidium
73fd0db237
(svn r16214) -Fix [FS#2878]: shared orders without orders weren't properly converted causing corrupt/invalid orders when loading pre 0.7 savegames.
2009-05-03 11:57:01 +00:00
alberth
4cd689035d
(svn r16213) -Codechange: Added nested widgets to timetable window.
2009-05-03 11:53:06 +00:00
alberth
f52abe53eb
(svn r16212) -Codechange: Added nested widgets for all station_gui windows.
2009-05-03 10:46:24 +00:00
alberth
58a2d5aa94
(svn r16211) -Codechange: Moving StationListWidgets out of the window class, completing StationViewWidgets.
2009-05-03 10:38:35 +00:00
alberth
99ce97b7f3
(svn r16210) -Codechange: Make panels non-overlapping in company stations window.
2009-05-03 10:34:47 +00:00
alberth
9d81a3d262
(svn r16209) -Codechange: Removed bottom panel from join station window.
2009-05-03 10:33:15 +00:00
alberth
7abcb8d368
(svn r16208) -Codechange: Added nested widgets for the buy company and show company windows.
2009-05-03 08:27:12 +00:00
alberth
553dcd02a7
(svn r16207) -Codechange: Added and applied BuyCompanyWidgets enum.
...
-Doc: Small fixes and additions to documentation.
2009-05-03 08:13:14 +00:00
translators
3b96c0313b
(svn r16206) -Update: WebTranslator2 update to 2009-05-02 17:39:59
...
german - 10 changed by planetmaker (10)
korean - 30 fixed, 2 changed by leejaeuk5 (32)
2009-05-02 17:40:02 +00:00
alberth
86eb1ca626
(svn r16205) -Codechange: Added nested widgets for news windows and news-settings window.
2009-05-02 17:00:56 +00:00
alberth
1728dd8046
(svn r16204) -Codechange: Completing widget numbers of news settings window.
2009-05-02 16:52:21 +00:00
alberth
551e377614
(svn r16203) -Codechange: Simplify widget layout of news settings window.
2009-05-02 16:45:01 +00:00
alberth
c3c527c9b8
(svn r16202) -Codechange: Use widget top coordinate instead of hardcoded value.
2009-05-02 16:40:26 +00:00
alberth
37afd58fdb
(svn r16201) -Codechange: Add NWidgetBase::SetPadding method.
2009-05-02 16:33:28 +00:00
alberth
eab4fb07c6
(svn r16200) -Codechange: Moving news-type description to NewsTypeData array.
2009-05-02 13:05:00 +00:00
frosch
d518b3d0ac
(svn r16199) -Codechange: Pass OrderNonStopFlags also to MakeGoToDepotOrder().
...
-Fix: 'Go non-stop to nearest depot'-orders did not work wrt. the 'non-stop' part.
-Fix: Adding 'Go to nearest depot'-orders did not respect the default setting for 'non-stop'.
2009-05-02 00:10:24 +00:00
frosch
a22ff74ef2
(svn r16198) -Fix/Change (r16187): 'Go to nearest depot'-orders are fulfilled when reaching any depot, even though the train decided for a different depot on the last junction/order-skip.
2009-05-01 23:16:52 +00:00
alberth
ea7891fc6a
(svn r16197) -Codechange: Structure buttons of train order window based on related functions rather than position.
2009-05-01 19:37:59 +00:00
alberth
f65cb3cd5b
(svn r16196) -Codechange: Added nested widgets for non-train and other-companies order windows.
2009-05-01 19:33:58 +00:00
alberth
47ba900958
(svn r16195) -Codechange: Even empty widgets should live within window boundaries.
2009-05-01 19:30:38 +00:00
translators
b976703c45
(svn r16194) -Update: WebTranslator2 update to 2009-05-01 17:45:47
...
finnish - 10 fixed by jpx_ (10)
romanian - 22 fixed by kkmic (22)
turkish - 11 fixed by Emin (11)
2009-05-01 17:45:52 +00:00
alberth
dfbf698392
(svn r16193) -Codechange: Added nested widgets for smallmap and extra viewport windows.
2009-05-01 08:50:07 +00:00
alberth
b1de51b8d6
(svn r16192) -Codechange: Moving smallmap and extra viewport widget enums out of the window structs, completing smallmap enum.
2009-05-01 08:48:07 +00:00
alberth
9dd72dfaa3
(svn r16191) -Codechange: Added nested widgets of one order window.
2009-04-30 19:22:44 +00:00
alberth
585440c38d
(svn r16190) -Codechange: Allow stacking of nested widgets.
2009-04-30 19:21:51 +00:00
alberth
94bc498c42
(svn r16189) -Doc: Additions and improvement of (mainly) nested widgets/widget-parts doxygen docs.
2009-04-30 17:35:38 +00:00
rubidium
90fe46123a
(svn r16188) -Fix [FS#2874] (r16124): printing the first 4 bytes worth of a 8 byte integer causes some unwanted side effects when the system is not little-endian.
2009-04-30 12:11:51 +00:00
rubidium
2a68294990
(svn r16187) -Fix [FS#2871]: do mark the "go to depot X" order fulfilled when reaching any depot, but only when reaching depot X.
2009-04-29 21:12:30 +00:00
alberth
e62df0abf9
(svn r16186) -Codechange: Adding nested widgets to _newgrf_desc and _newgrf_add_dlg_desc window descriptions.
2009-04-29 20:32:11 +00:00
alberth
a0e7f1647d
(svn r16185) -Codechange: Moving the ShowNewGRFStateWidgets and AddNewGRFWindowWidgets widget enums outside their window structs.
...
-Codechange: Improvements to the _newgrf_add_dlg_widgets and _newgrf_widgets widget arrays in preparation for nested widgets.
2009-04-29 20:29:19 +00:00
translators
ef82b4cb2c
(svn r16184) -Update: WebTranslator2 update to 2009-04-29 17:32:47
...
estonian - 6 changed by kristjans (6)
french - 10 fixed by glx (10)
polish - 17 fixed by xaxa (17)
simplified_chinese - 25 fixed, 6 changed by ww9980 (31)
2009-04-29 17:32:53 +00:00
rubidium
e825d56786
(svn r16183) -Fix [FS#2872]: wrong string alignment for error messages with face
2009-04-29 10:11:46 +00:00
rubidium
afada70bac
(svn r16182) -Fix: hardcoded (old sized) MAX_COMPANIES constant
2009-04-29 10:00:58 +00:00
yexo
e41886e78f
(svn r16181) -Fix [Squirrel]: the traps variable wasn't restored, causing try/catch blocks to be 'forgotten' during a suspend.
2009-04-28 13:16:14 +00:00
translators
30213bf972
(svn r16180) -Update: WebTranslator2 update to 2009-04-27 17:43:43
...
brazilian_portuguese - 24 changed by tucalipe (24)
dutch - 10 changed by habell (10)
estonian - 8 changed by kristjans (8)
hungarian - 10 changed by IPG (10)
italian - 1 changed by lorenzodv (1)
malay - 22 fixed by Syed (22)
norwegian_bokmal - 1 changed by khh (1)
polish - 440 changed by konrad (440)
2009-04-27 17:43:51 +00:00
translators
177759eefd
(svn r16179) -Update: WebTranslator2 update to 2009-04-27 17:41:22
...
brazilian_portuguese - 24 fixed by tucalipe (24)
dutch - 10 fixed by habell (10)
estonian - 8 changed by kristjans (8)
hungarian - 10 fixed by IPG (10)
italian - 1 changed by lorenzodv (1)
malay - 22 fixed by Syed (22)
norwegian_bokmal - 1 fixed by khh (1)
polish - 336 fixed, 104 changed by konrad (440)
2009-04-27 17:41:31 +00:00
smatz
8dc0632b78
(svn r16178) -Fix [FS#2866]: don't try to reserve path for trains crashed in station
2009-04-27 15:10:15 +00:00
bjarni
41827de1f8
(svn r16177) -Fix (r15892): [OSX] fixed linking error regarding _select$1050 (only present on some systems)
2009-04-27 00:39:15 +00:00
yexo
52b95bdc96
(svn r16176) -Fix: forbid joining AI companies via the 'move' and 'join' console commands.
2009-04-26 20:01:14 +00:00
yexo
c8ce3f7ef0
(svn r16175) -Fix: Disable the join button in the multiplayer lobby for AI companies, since joining an AI company is not possible.
2009-04-26 19:48:42 +00:00
yexo
bc8f31da4e
(svn r16174) -Fix (r16093) [FS#2863]: crash when starting a game/loading a game with no AIs available.
2009-04-26 19:30:31 +00:00
translators
c7715b263f
(svn r16173) -Update: WebTranslator2 update to 2009-04-26 17:38:31
...
arabic_egypt - 35 fixed by khaloofah (35)
catalan - 10 fixed by arnaullv (10)
estonian - 10 fixed, 26 changed by kristjans (36)
german - 10 fixed by planetmaker (10)
italian - 10 fixed by lorenzodv (10)
2009-04-26 17:38:38 +00:00
yexo
d63f01d78b
(svn r16172) -Fix (r16171): typo (thanks SmatZ)
2009-04-26 17:16:30 +00:00
yexo
3578f4408c
(svn r16171) -Add [NoAI]: two new error codes to AITile: ERR_AREA_ALREADY_FLAT and ERR_ESCAVATION_WOULD_DAMAGE.
2009-04-26 17:01:05 +00:00
alberth
5b5cee9405
(svn r16170) -Codechange: Added nested widgets to OSK.
2009-04-26 16:51:50 +00:00
alberth
78a4a68926
(svn r16169) -Codechange: Completing OSK widget numbers.
2009-04-26 16:48:02 +00:00
alberth
a780198f74
(svn r16168) -Codechange: Removing unused WWT_EMPTY widget.
2009-04-26 16:41:08 +00:00
alberth
25ac77a612
(svn r16167) -Codechange: Added empty-ness test to nested widget containers.
2009-04-26 16:30:12 +00:00
frosch
e04ddbe0ac
(svn r16166) -Add [NoAI]: AITile::Get(Min|Max|Corner)Height
2009-04-26 16:26:41 +00:00
yexo
9101de49d8
(svn r16165) -Add [FS#2801] [NoAI]: several functions to AIOrder to check the what kind of order an order is.
...
-Fix: AIOrder::GetOrderDestination and AIOrder::GetOrderFlags didn't work on ORDER_CURRENT when the vehicle was loading/leaving in a station.
2009-04-26 16:14:53 +00:00
rubidium
85b653bafc
(svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...).
2009-04-26 15:42:45 +00:00
rubidium
7dd677ced2
(svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings.
2009-04-26 15:26:19 +00:00
frosch
3301afa5c3
(svn r16161) -Fix (r16128): AILoadConfig() could not handle NULL settings.
2009-04-26 14:57:42 +00:00
rubidium
53887e07bb
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
2009-04-26 14:52:56 +00:00
rubidium
c21062a728
(svn r16159) -Change [FS#2846]: warn when multiline strings are drawn with DrawString and not DrawStringMultiLine.
2009-04-26 14:40:23 +00:00
yexo
f0bc464b18
(svn r16158) -Codechange: fix the string alignment in all .hpp.sq files
2009-04-26 12:22:09 +00:00
rubidium
ce171535d1
(svn r16157) -Fix: wrong truncation of refit cost/graph x labels because they were multiline strings being drawn using DrawString instead of DrawStringMultiLine.
2009-04-26 10:48:30 +00:00
rubidium
11c6d30e77
(svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter)
2009-04-26 10:45:07 +00:00
smatz
fc63e37616
(svn r16155) -Codechange: remove MarkTileDirty, use MarkTileDirtyByTile instead
2009-04-26 10:21:50 +00:00
alberth
cd9f239f0f
(svn r16154) -Codechange: Added nested widgets for sign list and sign edit windows.
2009-04-26 08:36:48 +00:00
alberth
47d63f0fc5
(svn r16153) -Codechange: Completing QueryEditSignWidgets enum.
2009-04-26 08:33:47 +00:00
alberth
d0655084e0
(svn r16152) -Codechange: Added nested widgets for advanced settings and for custom currency windows.
2009-04-26 07:43:19 +00:00
yexo
660f90d37b
(svn r16151) -Codechange: move some includes around to prevent including half the AI api in non-noai related code.
2009-04-25 23:51:15 +00:00
yexo
486e5b4bfe
(svn r16150) -Fix [NoAI]: Change WAYPOINT_INVALID to 0xFFFF from -1 as that's the value the AIs got (due to casting).
...
Clarify some api documentation.
2009-04-25 22:57:15 +00:00
rubidium
d8bc98d5de
(svn r16149) -Fix [FS#2860]: when there's no AI and an AI is started... *boom*
2009-04-25 22:40:24 +00:00
smatz
25ecace01b
(svn r16148) -Fix [FS#2839]: misleading comment (part by Bilbo)
2009-04-25 22:22:27 +00:00
rubidium
dec40e5501
(svn r16147) -Feature [FS#2635]: give the town generator a slight tendency to build towns near water by not discarding watery random tiles but by searching for near land (db48x)
2009-04-25 22:12:59 +00:00
smatz
f09807bfe1
(svn r16146) -Codechange: use faster algorithm in SetSelectionTilesDirty(). Up to 1000 times faster when large area is selected
2009-04-25 22:04:13 +00:00
rubidium
a36ab04d5d
(svn r16145) -Add: '-export-pragmas' to strgen so external tools can (hopefully) automatically be updated to support new pragmas
2009-04-25 21:09:42 +00:00
rubidium
802d31aab6
(svn r16144) -Fix (r16129): setting the custom digit grouping separator required to restart OpenTTD to take effect. Now also support non 1 ASCII character custom grouping separators.
2009-04-25 20:16:56 +00:00
alberth
4ec6456feb
(svn r16143) -Codechange: Change other languages too.
2009-04-25 17:52:20 +00:00
alberth
55336c4a9d
(svn r16142) -Codechange: Use widgets in the custom currency window.
2009-04-25 17:51:10 +00:00
alberth
76ccb85660
(svn r16141) -Codechange: Adding nested widgets to remaining graph windows.
2009-04-25 12:00:54 +00:00
alberth
f4ea018f7f
(svn r16140) -Codechange: Call a function while contructing a widget tree.
2009-04-25 11:59:36 +00:00
alberth
c6d5923d22
(svn r16139) -Codechange: Adding/completing widget number enums of several graph windows.
2009-04-25 10:06:22 +00:00
rubidium
00ed8c6f27
(svn r16138) -Codechange: move GetClosestWaterDistance to map*
2009-04-24 22:27:21 +00:00
translators
f2f476a570
(svn r16137) -Update: WebTranslator2 update to 2009-04-24 17:43:46
...
catalan - 15 fixed by arnaullv (15)
czech - 2 changed by Hadez (2)
estonian - 28 changed by kristjans (28)
german - 2 changed by planetmaker (2)
luxembourgish - 32 fixed by Gubius (32)
2009-04-24 17:43:53 +00:00
rubidium
ecdb5f46a7
(svn r16136) -Fix (r16095)[FS#2858]: sometimes autorail wouldn't work; seems to be primarily for OSX users though
2009-04-24 17:23:32 +00:00
rubidium
169a003e9a
(svn r16135) -Fix [FS#2856]: always give the server an already resolved 'client address' so we can be sure the client address is always resolved
2009-04-24 10:52:51 +00:00
rubidium
5db32d1dc5
(svn r16134) -Change: do not add duplicates to the broadcast list
2009-04-24 10:33:16 +00:00
rubidium
d21f406b03
(svn r16133) -Fix (r16129): who would've thought that the saveload system couldn't handle skipping strings on load yet?
2009-04-24 08:15:58 +00:00
rubidium
7d76836fcb
(svn r16132) -Fix (r7232/r16129): crash when saving games; r7232 is the cause of the problem, r16129 just causes it to be triggered.
2009-04-23 23:47:13 +00:00
rubidium
81dccf32c1
(svn r16131) -Fix (r16129): some compile warnings on some compilers
2009-04-23 23:30:54 +00:00
rubidium
a1e822df6b
(svn r16130) -Fix [FS#2855]: the overflowsafe type didn't like dividing by int64 larger than MAX_INT32 causing division by negative numbers and small anomolies when drawing graphs.
2009-04-23 23:29:44 +00:00
rubidium
ff05dc8446
(svn r16129) -Feature-ish: configurable digit group separator per language with user override.
2009-04-23 21:05:00 +00:00
rubidium
208234a7a0
(svn r16128) -Change: allow loading (and storing) NULL values for STRQ in openttd.cfg.
2009-04-23 19:13:41 +00:00
translators
e2a7732151
(svn r16127) -Update: WebTranslator2 update to 2009-04-23 17:54:01
...
serbian - 81 fixed by etran (81)
spanish - 24 fixed by eusebio (24)
turkish - 14 fixed by Emin (14)
2009-04-23 17:54:05 +00:00
rubidium
c4df60feb9
(svn r16126) -Fix (r16125): WT2 fracked up big time...
2009-04-23 17:43:23 +00:00
translators
2bcb149cad
(svn r16125) -Update: WebTranslator2 update to 2009-04-23 17:35:41
...
bulgarian - 13 fixed by thetitan (13)
czech - 25 fixed, 2 changed by Hadez (27)
dutch - 14 fixed by habell (14)
estonian - 1 fixed by kristjans (1)
finnish - 15 fixed by jpx_ (15)
german - 49 changed by planetmaker (49)
luxembourgish - 32 fixed by Gubius (32)
serbian - 81 fixed by etran (81)
spanish - 24 fixed by eusebio (24)
turkish - 14 fixed by Emin (14)
2009-04-23 17:35:55 +00:00
rubidium
8bf251f3ab
(svn r16124) -Codechange: unify the three number drawing methods
2009-04-23 16:17:10 +00:00
rubidium
1f25d9126f
(svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo
2009-04-23 14:06:57 +00:00
rubidium
85ca163be2
(svn r16122) -Change: add more misc information about the behaviour of commands to strgen's -export-commands.
2009-04-23 13:32:13 +00:00
smatz
3dbcc66cb1
(svn r16119) -Fix [FS#2582](r12167): road was removed when both the Remove button was active and Ctrl was pressed (Terkhen)
2009-04-22 00:12:37 +00:00
rubidium
59d45a04d6
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-21 23:40:56 +00:00
translators
58db962353
(svn r16117) -Update: WebTranslator2 update to 2009-04-21 23:34:40
...
french - 1 changed by glx (1)
german - 6 changed by planetmaker (6)
hungarian - 1 fixed by alyr (1)
italian - 2 fixed by lorenzodv (2)
2009-04-21 23:34:44 +00:00
rubidium
6dc4fed75c
(svn r16116) -Fix (r16115): note to self: copy the right subversion config file from 'the other' computer otherwise it won't do what you expect it to do, like automatically setting svn:eol-style and svn:keywords.
2009-04-21 21:41:20 +00:00
rubidium
d56d462eca
(svn r16115) -Change: make strgen able to 'export' the important command and plural information so external tools can easily get that information instead of needing manual updating
2009-04-21 21:34:26 +00:00
rubidium
2ec09d95a1
(svn r16114) -Cleanup: unify some more strings and remove some more unused strings
2009-04-21 20:20:53 +00:00
yexo
3949050714
(svn r16113) -Feature [NoAI]: Add UseAsRandomAI as function in info.nut. When an AI returns false, it'll never be chosen as random AI.
2009-04-21 19:13:32 +00:00
translators
d4d163e127
(svn r16112) -Update: WebTranslator2 update to 2009-04-21 17:33:19
...
estonian - 13 fixed, 29 changed by kristjans (42)
french - 15 fixed by glx (15)
german - 14 fixed, 52 changed by planetmaker (66)
hungarian - 14 fixed by alyr (14)
italian - 13 fixed by lorenzodv (13)
2009-04-21 17:33:27 +00:00
rubidium
ce5a282977
(svn r16111) -Cleanup: remove some duplicate/unused strings
...
-Change: move a string to a more sensible location
2009-04-21 16:57:26 +00:00
frosch
d338fff1b9
(svn r16110) -Codechange: use {CARGO} instead hardcoded cargo name (there is always something duplicated :p)
2009-04-21 16:52:58 +00:00
yexo
10c98f7e0e
(svn r16109) -Fix [NoAI]: Make sure AIOrder::GetDestination always returns a tile belonging to the station
2009-04-21 16:49:53 +00:00
yexo
63db874050
(svn r16108) -Fix [NoAI]: When giving an aircraft a goto-hangar order don't let it be a normal goto-station order.
...
Note to AI writers: AIOrder.AppendOrder(vehicle_id, AIStation.GetLocation(station_id)) will give a goto-hangar order for helistations (assuming the station sign is at it's default location).
2009-04-21 12:51:36 +00:00
yexo
61d883e7e5
(svn r16107) -Add [NoAI]: AIOF_STOP_IN_DEPOT to the orderflags in AIOrder to allow stop-in-depot orders
2009-04-20 23:49:27 +00:00
yexo
a664a2668c
(svn r16106) -Fix [NoAI]: AIOrder::SetOrderFlags always removed "Service if needed" from goto-depot orders.
2009-04-20 23:12:32 +00:00
glx
37cce7098b
(svn r16105) -Codechange: use {CARGO} instead hardcoded cargo name
2009-04-20 22:41:09 +00:00
rubidium
b01ed2b38f
(svn r16104) -Fix: remove some unneeded spaces from some strings/make some strings more consistent with itself by adding spaces
2009-04-20 21:39:20 +00:00
smatz
dff3e1d035
(svn r16103) -Fix (r11429): missing const
2009-04-20 21:30:34 +00:00
rubidium
9a56844b67
(svn r16102) -Codechange: unify the vehicle info strings; reduce the number of duplicate strings and unifies the GUIs quite a bit
2009-04-20 21:29:41 +00:00
frosch
f0a4bbda6d
(svn r16101) -Cleanup (r14591): Remove an assertion to increase performance.
2009-04-20 17:42:14 +00:00
translators
d18cea5369
(svn r16100) -Update: WebTranslator2 update to 2009-04-20 17:38:22
...
brazilian_portuguese - 1 fixed by tucalipe (1)
dutch - 1 fixed by habell (1)
english_US - 1 fixed by WhiteRabbit (1)
estonian - 14 fixed, 75 changed by kristjans (89)
german - 1 fixed, 79 changed by planetmaker (79), hellow (1)
italian - 1 fixed by lorenzodv (1)
romanian - 10 fixed by kkmic (10)
simplified_chinese - 1 changed by ww9980 (1)
2009-04-20 17:38:34 +00:00
translators
a9e95b1f3d
(svn r16099) -Fix: re-re-introduce textdir for all languages (and this time WT2 should not remove it on next commit)
2009-04-20 14:17:09 +00:00
rubidium
0068629432
(svn r16096) -Fix [FS#2849]: connect tried to validate too much of the company ID with too little information on hand
2009-04-19 22:24:34 +00:00
rubidium
d02cdd91ca
(svn r16095) -Change/Feature-ish: make the first 4 rail building tools behave more like autorail
2009-04-19 21:26:06 +00:00
frosch
90ebf211dc
(svn r16094) -Fix: AIDebug window profiled the blitters by invalidating itself unconditionally on repaint. OTOH it was not invalidated in other cases when needed.
2009-04-19 16:04:44 +00:00
yexo
a91ff2d5e8
(svn r16093) -Feature [FS#2808]: Add GetURL() as possible function to info.nut. If AIs implement it, that url is shown when the AI crashes and also in the AI selection window.
2009-04-19 15:14:23 +00:00
alberth
ef90925226
(svn r16092) -Fix [FS#2829]: Resizing the order window also resizes the button bars.
2009-04-19 14:55:12 +00:00
yexo
3e2e5b097c
(svn r16091) -Change [FS#2778]: Reverse the order of the lines in the AI debug window
2009-04-19 14:42:03 +00:00
frosch
713da56d9b
(svn r16090) -Fix: s/Slovakish/Slovak/ (unimatrix)
2009-04-19 14:11:17 +00:00
alberth
66ea0207f0
(svn r16089) -Codechange: Removing the ORDER_WIDGET_RESIZE_BAR widget
2009-04-19 10:41:48 +00:00
rubidium
329cabab4f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
2009-04-19 10:31:30 +00:00
rubidium
2a2b40461d
(svn r16087) -Fix (r16079): slow trains wouldn't crash into eachother anymore
2009-04-19 04:36:53 +00:00
rubidium
b66783afab
(svn r16086) -Codechange: magic numbers substitutes by enums and some type safety
2009-04-18 21:10:36 +00:00
translators
25cdef9523
(svn r16085) -Update: WebTranslator2 update to 2009-04-18 17:47:27
...
danish - 6 changed by ThomasA (6)
estonian - 31 fixed, 26 changed by kristjans (57)
simplified_chinese - 1 fixed, 25 changed by ww9980 (26)
turkish - 10 fixed by Emin (10)
2009-04-18 17:47:33 +00:00
alberth
a2a2b183a5
(svn r16082) -Codechange: Completed the widget numbers of the advanced settings window.
2009-04-18 15:31:49 +00:00
alberth
099281d7e4
(svn r16081) -Doc: Adding/fixing some Doxygen comments.
2009-04-18 15:03:02 +00:00
alberth
2fa61c6af7
(svn r16080) -Codechange: Introducing a constant for order-list line height.
2009-04-18 14:12:30 +00:00
rubidium
06a8a8ce8d
(svn r16079) -Fix [FS#2824]: insanely fast trains would not stop in time for stations
...
-Fix: insanely fast trains would sometimes 'jump' over waypoints/via stations within a tick, which would cause the order not to be processed causing the train to go in loops until (with luck) it 'hit' the tile
2009-04-18 13:43:05 +00:00
rubidium
523a92493d
(svn r16078) -Change: do not show stop location for via orders; they don't stop there
2009-04-18 13:21:51 +00:00
frosch
faa1ec7a5d
(svn r16077) -Cleanup (r14456): Remove some code that is only used for some assertions, that haven't been triggered for a while.
2009-04-18 11:08:10 +00:00
alberth
b52c6e5905
(svn r16076) -Codechange: Added nested widgets to terraform windows.
2009-04-18 07:49:20 +00:00
frosch
3086a89ee3
(svn r16075) -Fix (r15792)[FS#2844]: Mixed up TRACK_BIT_X/Y.
2009-04-17 23:16:01 +00:00
alberth
974dcbd339
(svn r16074) -Codechange: Adding nested widgets to subsidy list window.
2009-04-17 20:03:44 +00:00
alberth
19d9dc5836
(svn r16073) -Codechange: Replacing some magic constants by computations relative to the SLW_PANEL widget.
2009-04-17 19:55:39 +00:00
alberth
1883510be0
(svn r16072) -Codechange: Adding widget number constants to subsidy list window.
2009-04-17 19:47:21 +00:00
rubidium
f14425e2c4
(svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due to mathematical overflow.
2009-04-17 17:48:33 +00:00
translators
36bb2f823a
(svn r16070) -Update: WebTranslator2 update to 2009-04-17 17:45:57
...
german - 5 changed by hellow (1), planetmaker (4)
greek - 29 changed by ptsakiris (29)
serbian - 110 fixed by etran (110)
simplified_chinese - 17 fixed, 447 changed by ww9980 (464)
2009-04-17 17:46:05 +00:00
translators
135fea163c
(svn r16069) -Update: WebTranslator2 update to 2009-04-16 17:52:36
...
brazilian_portuguese - 12 fixed by tucalipe (12)
korean - 8 fixed by darkttd (8)
slovenian - 10 fixed by Necrolyte (10)
2009-04-16 17:52:41 +00:00
rubidium
8c68e2488f
(svn r16066) -Fix: another memory leak.
2009-04-15 20:49:26 +00:00
rubidium
d04ebf2fa5
(svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted
2009-04-15 20:37:00 +00:00
rubidium
3061d70387
(svn r16064) -Fix: memory leak when querying a server multiple times.
2009-04-15 20:35:52 +00:00
frosch
aecddf5cbe
(svn r16063) -Fix (r13752): MOF_COND_DESTINATION was not accepted by CmdModifyOrder(). (only used by AI)
2009-04-15 17:37:31 +00:00
frosch
eb7414ea9e
(svn r16062) -Fix (r16037): AIOrder::InsertOrder was broken. Default all AI orders to 'stop at far end'.
2009-04-15 17:31:08 +00:00
translators
f6ba4bf3bd
(svn r16058) -Update: WebTranslator2 update to 2009-04-14 17:49:02
...
danish - 9 fixed by ThomasA (9)
dutch - 10 fixed by habell (10)
english_US - 10 fixed by WhiteRabbit (10)
german - 1 changed by planetmaker (1)
hungarian - 6 fixed, 3 changed by IPG (9)
italian - 10 fixed by lorenzodv (10)
2009-04-14 17:49:10 +00:00
rubidium
34cc30e7fb
(svn r16057) -Fix [FS#2834] (r16037): division by zero when having an order with only one station that has either middle or near end stop location and where the platform is (significantly) longer than the train.
2009-04-13 22:27:21 +00:00
rubidium
627c042df1
(svn r16056) -Fix (r16037): clicking twice on the "end of orders" crashed.
2009-04-13 21:30:21 +00:00
translators
cd4476fc74
(svn r16055) -Update: WebTranslator2 update to 2009-04-13 17:30:44
...
catalan - 10 fixed by arnaullv (10)
czech - 1 changed by Hadez (1)
finnish - 10 fixed by jpx_ (10)
french - 9 fixed by glx (9)
german - 10 fixed by planetmaker (10)
hungarian - 4 fixed by alyr (4)
italian - 10 fixed by lorenzodv (10)
luxembourgish - 38 fixed, 1 changed by draconnier (39)
2009-04-13 17:30:53 +00:00
glx
529bd1eddb
(svn r16054) -Fix: non advanced vehicle list didn't handle company switching correctly
2009-04-13 17:19:43 +00:00
alberth
5d12d1b510
(svn r16053) -Codechange: Added nested widgets to vehicle refit and vehicle details windows.
2009-04-13 14:09:56 +00:00
alberth
56b9742885
(svn r16052) -Codechange: Applying VehicleRefitWidgets in RefitWindow, fixed widget number comment in _vehicle_refit_widgets
2009-04-13 14:04:10 +00:00
alberth
21cad4140c
(svn r16051) -Codechange: Adding widget numbers enum for vehicle refit window.
2009-04-13 08:40:40 +00:00
glx
532fca65ef
(svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the fallback even when freeaddrinfo is available
2009-04-12 22:13:05 +00:00
alberth
eaa98482e4
(svn r16049) -Codechange: Added nested widgets to town windows.
2009-04-12 19:30:47 +00:00
rubidium
8a39da7618
(svn r16048) -Fix/Feature-ish [FS#2740]: don't warn that crashed vehicles are getting old; upgrading them is impossible (racetrack)
2009-04-12 19:28:05 +00:00
alberth
848404eea5
(svn r16047) -Codechange: Extracting widget number enums from their window classes.
2009-04-12 19:25:59 +00:00
rubidium
118a9bdaf1
(svn r16046) -Change: when sorting on cargo ratings only take a look at the ratings of the cargoes that are 'selected'.
2009-04-12 19:23:26 +00:00
rubidium
ae3ebe6834
(svn r16045) -Feature [FS#597]: allow sorting stations by the lowest cargo rating instead of only by the highest cargo rating (based on the idea of KeeperOfTheSoul)
2009-04-12 19:15:53 +00:00
frosch
f46f8bd427
(svn r16044) -Fix (r16042): Win compilation. (Swallow)
2009-04-12 18:40:39 +00:00
alberth
f17d6df0a6
(svn r16043) -Codechange: Prepare town-view widgets for nesting.
2009-04-12 17:47:33 +00:00
frosch
6ebe8d7fc6
(svn r16042) -Feature [FS#1941]: Allow filtering of vehicle purchase lists by cargo. Based on patch by sbr.
2009-04-12 17:38:01 +00:00
rubidium
13d6412c22
(svn r16041) -Fix [FS#774]: the currency abbreviation for the Romanian Leu is now RON.
2009-04-12 17:27:44 +00:00
alberth
d0f91fbea2
(svn r16040) -Codechange: Use coordinates from the widget for the town-view viewport instead of magic constants.
2009-04-12 15:30:16 +00:00
alberth
0196f06744
(svn r16039) -Codechange: Completing widget number enums of town windows and adding them as comment to the widget arrays.
2009-04-12 15:17:27 +00:00
frosch
07a5f529bf
(svn r16038) -Codechange: Remove BuildVehicleWindow::regenerate_list in favor of the GUIList flag.
2009-04-12 14:12:17 +00:00
rubidium
5790293af6
(svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station.
2009-04-12 14:11:14 +00:00
alberth
e85e8ca4db
(svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to TVW_SHOWAUTHORITY (bilbo)
2009-04-12 06:01:24 +00:00
rubidium
47e2901e18
(svn r16034) -Fix: compile warnings generated by 64 bits MSVC.
2009-04-11 20:26:25 +00:00
alberth
e5ab73e762
(svn r16033) -Codechange: Added nested widgets to about window, land-info window, and both query windows.
2009-04-11 19:14:34 +00:00
alberth
23f0277526
(svn r16032) -Codechange: Completing widget numbers of query windows.
2009-04-11 18:38:10 +00:00
alberth
8a90633ba6
(svn r16031) -Codechange: Added nested widgets to highscore and endgame windows.
2009-04-11 18:10:32 +00:00
translators
f190eb0d93
(svn r16030) -Update: WebTranslator2 update to 2009-04-11 17:38:26
...
serbian - 50 fixed by etran (50)
traditional_chinese - 6 fixed, 2 changed by josesun (8)
2009-04-11 17:38:29 +00:00
rubidium
f99b125c84
(svn r16029) -Fix [FS#2785]: do not give "... Mines" as name to the station of oil rigs, or more general: do not add "... Mines" when the all of the cargoes are part of the liquid, passenger or mail classes.
2009-04-11 17:09:38 +00:00
rubidium
ec0635e59b
(svn r16028) -Fix [FS#2826]: storing/loading some currencies failed due to inconsistent "tables".
...
-Codechange: unduplicate settings "tables" that might be made inconsistent in the future (to prevent other cases like FS#2826).
2009-04-11 15:23:54 +00:00
frosch
1b85c10a5b
(svn r16027) -Fix (r9555): Usage of uninitialised memory when trying to build a random new industry, but there are no industrytypes to choose from (i.e. all appearance probabilities are zero).
2009-04-11 14:54:03 +00:00
peter1138
be7215497c
(svn r16026) -Codechange: Use font height for chat line spacing instead of fixed value.
2009-04-11 10:38:00 +00:00
rubidium
f16aa9f509
(svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations.
2009-04-10 22:47:19 +00:00
rubidium
bee930f9b3
(svn r16024) -Codechange: harden string copying on places where it's possible
2009-04-10 20:37:05 +00:00
rubidium
4bf3508680
(svn r16023) -Fix (r15615) [FS#2817]: 32 bpp sprites in tars would also be shown in the list of heightmaps.
2009-04-10 20:20:37 +00:00
rubidium
2663ad302f
(svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary.
2009-04-10 20:18:48 +00:00
peter1138
238742ee03
(svn r16021) -Codechange: Offset current console output by (width of "] ")+5 pixels instead of 5+5 pixels.
2009-04-10 18:55:38 +00:00
peter1138
3bb5b00e48
(svn r16020) -Codechange: Use actual font height for console output instead of fixed value.
2009-04-10 18:21:40 +00:00
translators
3d15404ce3
(svn r16019) -Update: WebTranslator2 update to 2009-04-10 17:49:32
...
estonian - 11 changed by kristjans (11)
serbian - 50 fixed by etran (50)
turkish - 2 fixed by Emin (2)
2009-04-10 17:49:39 +00:00
rubidium
930bc73e7a
(svn r16018) -Fix (r16014): properly escape IPv6 style ([::]) addresses so they aren't seen as new groups.
2009-04-10 17:16:46 +00:00