translators
3bf9e9e9c2
(svn r14775) -Update: WebTranslator2 update to 2008-12-30 18:44:32
...
arabic_egypt - 10 fixed, 2 changed by khaloofah (12)
croatian - 14 fixed, 63 changed by tperic (77)
indonesian - 13 fixed by rindu (13)
norwegian_nynorsk - 2 fixed by zibiam (2)
romanian - 13 fixed by kkmic (13)
serbian - 20 fixed by nummer (20)
turkish - 14 fixed by Emin (14)
2008-12-30 18:44:40 +00:00
rubidium
5c83e8a853
(svn r14774) -Change: show which tile caused the "error" when leveling land like raising and lowering does and use the same sound.
2008-12-30 15:32:46 +00:00
rubidium
32583bd405
(svn r14773) -Fix-ish[FS#2469]: attach a signal handler during loading savegames to catch any crashes due to broken savegames/missing NewGRFs and tell the user about that instead of "just" crashing without explanation.
2008-12-30 15:14:23 +00:00
rubidium
3c6add5293
(svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option.
2008-12-29 21:50:25 +00:00
rubidium
ad1c52abf8
(svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :(
2008-12-29 21:41:20 +00:00
rubidium
1ce965ed5f
(svn r14770) -Fix: gracefully handle an invalid packet instead of asserting.
2008-12-29 21:33:27 +00:00
rubidium
9f4132c739
(svn r14769) -Change: when loading games in "network" mode use the start date of the save game for the server and all clients when loading the NewGRFs instead of the current date. Prevents desyncs caused by action 7/9s skipping parts of the GRF based on the date or some other variables that can differ at NewGRF load time.
2008-12-29 20:36:12 +00:00
translators
d38d7f1297
(svn r14768) -Update: WebTranslator2 update to 2008-12-29 18:40:47
...
dutch - 13 fixed, 5 changed by Excel20 (18)
french - 13 fixed by glx (13)
hebrew - 22 fixed, 1 changed by yitzc (16), davidx123 (7)
italian - 13 fixed by lorenzodv (13)
norwegian_nynorsk - 94 fixed, 20 changed by Grilldyret (114)
portuguese - 14 fixed by rmrebelo (8), SnowFlake (6)
serbian - 32 fixed by nummer (32)
ukrainian - 1 fixed by mad (1)
2008-12-29 18:40:59 +00:00
rubidium
31d496342f
(svn r14767) -Codechange: remove some unneeded artificial limits from currencies and use the bounds of the data type.
2008-12-29 15:46:14 +00:00
rubidium
e198bf02ab
(svn r14766) -Fix (r14730ish): remove unused typedef.
2008-12-29 11:17:12 +00:00
rubidium
deffb584b0
(svn r14765) -Update (r14764): remove changed strings from translations.
2008-12-29 10:40:43 +00:00
rubidium
a25e3f8d70
(svn r14764) -Codechange: make the '***' chat messages like "Game paused (not enough players)" fully translateable.
2008-12-29 10:37:53 +00:00
rubidium
703831ec6d
(svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug code :(
2008-12-28 22:23:43 +00:00
rubidium
105b84e343
(svn r14760) -Fix (rlongago): network connection of clients being closed twice (found due to added assertion in r14730)
2008-12-28 21:45:41 +00:00
rubidium
e626e07bd3
(svn r14759) -Fix (r14730): tab completion causing out-of-bounds read.
2008-12-28 21:07:45 +00:00
rubidium
ee952b10d9
(svn r14758) -Fix: determine the real size of a depot before trying to place it.
2008-12-28 20:53:19 +00:00
translators
c7d3ab3382
(svn r14757) -Update: WebTranslator2 update to 2008-12-28 18:41:48
...
arabic_egypt - 140 fixed, 26 changed by khaloofah (166)
czech - 1 fixed, 2 changed by Hadez (3)
dutch - 1 fixed by Excel20 (1)
french - 1 fixed by glx (1)
indonesian - 1 fixed, 69 changed by fanioz (70)
italian - 1 fixed by lorenzodv (1)
korean - 1 fixed, 3 changed by leejaeuk5 (4)
latvian - 58 changed by peerer (58)
lithuanian - 12 fixed by Enternald (12)
romanian - 1 fixed by kneekoo (1)
thai - 30 fixed by chat9780 (30)
2008-12-28 18:42:00 +00:00
rubidium
aa73cc9202
(svn r14756) -Update (r14755): remove removed string from other languages too.
2008-12-28 16:13:10 +00:00
rubidium
683b65ee18
(svn r14755) -Codechange: remove ending year as it can't be changed anyways.
2008-12-28 16:09:58 +00:00
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
2008-12-28 14:37:19 +00:00
smatz
53679122af
(svn r14753) -Fix (r1): after buying a company, one could have more vehicles with the same UnitID
2008-12-26 23:53:07 +00:00
rubidium
b8d82cc28c
(svn r14752) -Fix [FS#2438]: revenue when clearing land would show up in red in the land info window as negative cost.
2008-12-26 23:37:53 +00:00
smatz
f4d10ec033
(svn r14751) -Codechange: put VehicleEnterTile declaration where it should be and use correct return type
2008-12-26 22:44:13 +00:00
rubidium
21fa036c21
(svn r14750) -Fix [FS#1993]: in an MP game in SP mode no company would go bankrupt. Furthermore companies that passed the "bankrupt" period (4 quarters) wouldn't go bankrupt when loading the game back in MP. Now any company that is in MP or not "currently controlled by the player" in SP will bankrupt.
2008-12-26 21:49:00 +00:00
rubidium
c2466d9571
(svn r14749) -Codechange: replace a few wrapper functions that only called delete by a direct delete instead.
2008-12-26 21:16:15 +00:00
rubidium
3ebe66a5e4
(svn r14748) -Codechange: unduplicate window updating when deleting vehicles.
2008-12-26 21:08:51 +00:00
rubidium
f18043ee21
(svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle destructor as that was already doing the same for a few vehicle types.
2008-12-26 20:45:02 +00:00
smatz
73ca72922c
(svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) target invalid industry
2008-12-26 19:37:50 +00:00
rubidium
1721222080
(svn r14745) -Codechange: move "depot_list" and "leave_depot_immediately" out of the vehicle struct (saving up to 16 bytes per vehicle) as it is only used to tell a calling function entered a depot (for autoreplace).
2008-12-26 18:26:11 +00:00
rubidium
a8cb9fa2f5
(svn r14744) -Fix [FS#2474]: don't tell loading a savegame failed in two distinct ways.
2008-12-26 18:24:05 +00:00
smatz
419f6e099f
(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-12-26 18:01:15 +00:00
smatz
2e2086f3f8
(svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size
2008-12-26 13:50:46 +00:00
translators
435d920448
(svn r14741) -Update: WebTranslator2 update to 2008-12-25 18:48:16
...
arabic_egypt - 144 fixed, 3 changed by khaloofah (147)
indonesian - 74 changed by fanioz (74)
thai - 104 fixed, 38 changed by chat9780 (142)
2008-12-25 18:48:21 +00:00
smatz
5e79462685
(svn r14740) -Fix (r13675)(r14739): we shouldn't skip all remaining sprites neither
2008-12-24 23:20:30 +00:00
smatz
aeeb60868c
(svn r14739) -Fix (r13675): when a static GRF was forcibly disabled, wrong data was released, causing memory leaks and wrong behaviour or crashes
2008-12-24 23:01:16 +00:00
smatz
48af805ada
(svn r14738) -Fix (r13576): GCF_STATIC belongs to GRFConfig::flags, not GRFConfig::status
2008-12-24 22:33:06 +00:00
smatz
921863da15
(svn r14737) -Fix (r10211): memory leak in Action 0x0F (new town names)
2008-12-24 21:25:09 +00:00
translators
4ec06cc478
(svn r14736) -Update: WebTranslator2 update to 2008-12-24 15:29:53
...
arabic_egypt - 8 fixed, 37 changed by khaloofah (45)
hebrew - 36 fixed by dodibitran (36)
indonesian - 39 changed by fanioz (39)
latvian - 7 fixed, 27 changed by peerer (34)
serbian - 31 fixed by Jenraux (31)
urdu - 79 fixed by yasirniazkhan (79)
2008-12-24 15:30:01 +00:00
rubidium
d1bb5e5f36
(svn r14735) -Codechange: remove a bit of bit-waste in the map array (without changing the map array) and make the CompanyIDs contiguous.
...
-Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-24 09:53:15 +00:00
smatz
5b26afbd6b
(svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not byte
2008-12-24 00:25:17 +00:00
rubidium
4a1f4144eb
(svn r14733) -Fix (r14730): creating new companies didn't always work as expected.
2008-12-24 00:03:47 +00:00
rubidium
c3746a55bb
(svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables.
2008-12-23 21:03:43 +00:00
rubidium
ece37ca2c0
(svn r14731) -Fix: don't initialise UDP multiple times without closing it.
2008-12-23 20:58:03 +00:00
rubidium
afddfcb2b1
(svn r14730) -Codechange: remove the need for networkclientsockets and networkclientinfo structs to be in a contiguous piece of memory and put them in a pool.
...
-Note: 255 should really be enough for now... making it any more means network protocol bumps.
2008-12-23 20:52:27 +00:00
rubidium
94dd23aaf8
(svn r14729) -Fix: writing a single char to the config file caused reading outside a buffer.
2008-12-23 20:50:09 +00:00
rubidium
f7a52c4444
(svn r14728) -Fix [FS#2470]: don't select anything when opening the client list.
...
-Fix: don't show clients that are "only" in the lobby.
2008-12-23 17:12:20 +00:00
rubidium
bc8984a9bb
(svn r14727) -Codechange: replace some magic numbers with a constant.
2008-12-23 15:23:31 +00:00
rubidium
fb7ccc6820
(svn r14726) -Fix (r14720): making new companies in network kinda failed...
2008-12-23 12:26:19 +00:00
rubidium
f8f7febe41
(svn r14725) -Change: make it clearer why (and that) MAX_CLIENTS isn't the amount of slots in the array, but one less as a dedicated server takes a slot too.
2008-12-23 11:55:46 +00:00
rubidium
52fb6b7d7c
(svn r14724) -Codechange: move some NetworkClientSocket related function/definitions closer together.
2008-12-23 11:43:32 +00:00
rubidium
9476a49763
(svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies.
2008-12-23 11:06:52 +00:00
rubidium
d501a20065
(svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/
2008-12-23 10:42:06 +00:00
rubidium
ae96ca635c
(svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as it's (way) more descriptive what it's used for.
2008-12-23 09:47:42 +00:00
rubidium
d95a485108
(svn r14720) -Codechange: s/FOR_ALL_CLIENTS/FOR_ALL_CLIENT_SOCKETS/ as the latter describes the name more precisely.
2008-12-23 09:02:41 +00:00
rubidium
b4734ee9a4
(svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used)
2008-12-23 08:39:30 +00:00
rubidium
94e7f41a9d
(svn r14718) -Change: remove some direct network core variable accesses from non-network locations.
2008-12-22 21:38:03 +00:00
rubidium
f49cc67f83
(svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ClientIndex
2008-12-22 21:30:21 +00:00
rubidium
573d1b324a
(svn r14716) -Codechange: move more network core querying to the network files.
2008-12-22 21:26:26 +00:00
rubidium
5b7cd460e9
(svn r14715) -Codechange: move some network code from the main gui file into one of the the network files.
2008-12-22 21:15:02 +00:00
rubidium
a687667448
(svn r14714) -Codechange: only allocate the company network "state" variables (password/months not used) when needed, i.e. only for servers.
2008-12-22 20:42:02 +00:00
translators
4511739377
(svn r14713) -Update: WebTranslator2 update to 2008-12-22 18:43:52
...
arabic_egypt - 14 fixed, 144 changed by khaloofah (158)
hebrew - 9 fixed, 1 changed by davidx123 (10)
hungarian - 17 changed by IPG (17)
indonesian - 136 changed by fanioz (119), sireno (17)
latvian - 116 fixed, 235 changed by peerer (351)
norwegian_nynorsk - 8 fixed by Thor (3), runarlu (2), DavidS (3)
urdu - 79 fixed by yasirniazkhan (79)
2008-12-22 18:44:01 +00:00
rubidium
abc903d625
(svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information.
2008-12-22 18:40:57 +00:00
rubidium
e6e32bad4d
(svn r14711) -Codechange: don't misuse the _network_company_info password field for changing the password on clients.
2008-12-22 18:20:28 +00:00
rubidium
887869c771
(svn r14710) -Change: simplify sending company information from the server to the client.
2008-12-22 15:17:14 +00:00
rubidium
782b80eff7
(svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays.
2008-12-22 12:59:31 +00:00
frosch
ebf51ffb6b
(svn r14707) -Cleanup: Replace an 'int' by 'Trackdir'.
2008-12-20 20:26:40 +00:00
translators
400626d882
(svn r14706) -Update: WebTranslator2 update to 2008-12-20 18:37:49
...
finnish - 17 changed by UltimateSephiroth (17)
indonesian - 81 changed by fanioz (81)
latvian - 137 fixed, 123 changed by peerer (260)
2008-12-20 18:38:00 +00:00
frosch
f1900768c0
(svn r14705) -Fix [FS#2460]: First transfer the whole load of a vehicle chain to industries before triggering any processing.
...
This reduces callback usage and resolves critical rounding errors when using input-cargo-multipliers instead of production callbacks.
2008-12-20 17:21:22 +00:00
frosch
5ea2dc97fd
(svn r14704) -Codechange: Add set capabilities to SmallVector.
2008-12-20 17:09:44 +00:00
frosch
8db5bda4f7
(svn r14703) -Fix (r8735): [YAPF] YapfRoadVehDistanceToTile() shall not abort searching at v->dest_tile, when it in fact tries to reach another tile.
2008-12-20 15:30:18 +00:00
frosch
74ed0b5efc
(svn r14702) -Documentation: Add a note about the meaning and validity of Vehicle::dest_tile.
2008-12-20 11:51:52 +00:00
smatz
d1ea050232
(svn r14700) -Fix (r1): loading of very old savegames was broken (STNS chunk is stored before MAP in old savegame)
2008-12-20 01:35:12 +00:00
frosch
383d8713cb
(svn r14699) -Fix (r14483): Do not use v->dest_tile for trains heading to a station. Reaching that tile does not mean reaching the station.
2008-12-20 00:16:23 +00:00
rubidium
395cb45039
(svn r14697) -Fix: some int vs unsigned int comparisons in strgen.
2008-12-19 23:24:42 +00:00
frosch
59fca8523f
(svn r14696) -Fix (r10495): Words now consist of 16 bits.
2008-12-19 23:13:51 +00:00
frosch
c20e6d3a13
(svn r14695) -Cleanup: When NTP is not active there is no need to set up TrainTrackFollowerData.
2008-12-19 22:26:43 +00:00
smatz
f52d1bd0ba
(svn r14694) -Fix (r1): zeppeliner (disaster) should target st->airport_tile, not st->xy
2008-12-19 21:12:16 +00:00
smatz
a7f82bd11a
(svn r14693) -Codechange: replace one check in old AI (probably typo, but the effect was the same) (Yexo)
2008-12-19 20:53:38 +00:00
translators
e1565c5707
(svn r14692) -Update: WebTranslator2 update to 2008-12-19 18:43:35
...
arabic_egypt - 85 fixed by khaloofah (85)
estonian - 3 fixed by Kender (3)
galician - 2 fixed by Condex (2)
latvian - 170 fixed, 114 changed by peerer (284)
portuguese - 10 fixed by SnowFlake (10)
2008-12-19 18:43:42 +00:00
translators
6af6f576eb
(svn r14691) -Update: WebTranslator2 update to 2008-12-18 18:47:25
...
arabic_egypt - 132 fixed, 1 changed by khaloofah (133)
czech - 10 fixed, 25 changed by Hadez (35)
esperanto - 15 fixed by Athaba (15)
greek - 7 fixed by ouranogrammi (7)
indonesian - 88 changed by fanioz (88)
latvian - 117 fixed, 16 changed by peerer (83), marismols (50)
lithuanian - 15 fixed by Zogg (15)
malay - 38 fixed by tombakemas (5), Syed (33)
serbian - 39 fixed, 1 changed by Jenraux (40)
thai - 105 fixed by vetbook (105)
2008-12-18 18:47:39 +00:00
translators
b2c7e521d0
(svn r14686) -Update: WebTranslator2 update to 2008-12-17 18:01:03
...
arabic_egypt - 200 fixed, 28 changed by Azoo4oozi (228)
czech - 3 changed by Hadez (3)
indonesian - 1 fixed, 4 changed by fanioz (5)
korean - 1 changed by leejaeuk5 (1)
latvian - 299 fixed, 3 changed by marismols (302)
lithuanian - 79 fixed by Zogg (79)
serbian - 25 fixed by Jenraux (25)
2008-12-17 18:01:19 +00:00
rubidium
c7c65cf5bc
(svn r14683) -Change: only say a engine/vehicle is refittable when it can be refitted to at least two cargo type or when it has subcargos.
...
NOTE: it is still possible that a vehicle is marked refittable when there is nothing to refit to, e.g. when only one subcargo is available but that cannot be determined without a vehicle chain.
2008-12-16 22:02:12 +00:00
frosch
b177c5fd9e
(svn r14682) -Fix (r14672): Check the correct savegame version. (Thanks SmatZ)
2008-12-16 20:15:36 +00:00
translators
014eb8fcf9
(svn r14681) -Update: WebTranslator2 update to 2008-12-16 18:42:42
...
arabic_egypt - 208 fixed, 18 changed by khaloofah (188), Azoo4oozi (38)
indonesian - 9 fixed by Gonrong (9)
norwegian_bokmal - 2 fixed by Thor (2)
portuguese - 2 fixed by rmrebelo (2)
serbian - 19 fixed by Jenraux (19)
thai - 20 fixed by vetbook (20)
2008-12-16 18:43:02 +00:00
frosch
a87af0d7e5
(svn r14680) -Feature(ette) [FS#2434]: Use property 4 (model life) also for wagons.
...
Setting property 4 to 0xFF will protect the vehicle (engine or wagon) from expireing. (Necessary since early introduction dates)
Savegames will only be affected after 'resetengines'.
2008-12-16 18:09:40 +00:00
rubidium
1599ade7ca
(svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window.
2008-12-16 17:58:27 +00:00
rubidium
bfe9743f20
(svn r14678) -Fix [FS#2435]: gradual filling graphics were not chosen according to the NewGRF spec (Maedhros)
2008-12-15 22:22:23 +00:00
translators
9edc4e8030
(svn r14677) -Update: WebTranslator2 update to 2008-12-15 11:38:07
...
arabic_egypt - 343 fixed, 3 changed by Azoo4oozi (153), khaloofah (193)
indonesian - 123 changed by adjayanto (95), fanioz (28)
macedonian - 74 fixed, 4 changed by sashozs (78)
simplified_chinese - 8 fixed by ww9980 (8)
traditional_chinese - 6 fixed by ww9980 (6)
2008-12-15 11:39:23 +00:00
frosch
e259fa8ede
(svn r14676) -Fix: Do not copy the signal type of parallel vertical/horizontal track, when dragging signals.
2008-12-14 19:52:55 +00:00
rubidium
79e20448f8
(svn r14675) -Fix: setting the Estonian or custom currency as used currency didn't survive a restart cycle.
2008-12-14 16:56:28 +00:00
frosch
a5c02ba0a5
(svn r14674) -Fix (r4965): Check sprite size when executing action 6.
2008-12-13 19:43:57 +00:00
translators
4b12d83fdd
(svn r14673) -Update: WebTranslator2 update to 2008-12-13 18:45:31
...
arabic_egypt - 230 fixed by khaloofah (230)
indonesian - 2 fixed by Gonrong (2)
italian - 1 changed by lorenzodv (1)
portuguese - 12 fixed by SnowFlake (7), rmrebelo (5)
thai - 32 fixed by vetbook (32)
2008-12-13 18:45:37 +00:00
frosch
fab1a52963
(svn r14672) -Fix [FS#2444]: Property 7 and callback 12 were broken for aircraft.
...
Now callback 12 is properly called also for 'mail'.
If the callback is not used, 'mail' uses 1/4 of property 7 (rounded up).
2008-12-13 18:25:42 +00:00
smatz
d2a050bb29
(svn r14671) -Fix: compilation was broken for some systems
2008-12-13 18:19:44 +00:00
smatz
28028cf755
(svn r14670) -Codechange: use better readable (I hope) and branchless (for some archs/compilers) code for cargo value computation
2008-12-13 16:16:44 +00:00
smatz
3cd2957544
(svn r14669) -Codechange: use SmallVector instead of std::list at one place
2008-12-13 15:59:25 +00:00
rubidium
0bf775a20a
(svn r14668) -Change: use include <> instead of include "" when including ICU's headers.
2008-12-12 19:54:54 +00:00
translators
065e10fd1b
(svn r14667) -Update: WebTranslator2 update to 2008-12-11 18:45:04
...
arabic_egypt - 1207 fixed by khaloofah (1207)
indonesian - 30 fixed by fanioz (30)
malay - 21 fixed by Syed (21)
portuguese - 52 fixed, 3 changed by rmrebelo (55)
2008-12-11 18:45:10 +00:00
translators
f71429dc0f
(svn r14666) -Update: WebTranslator2 update to 2008-12-10 18:44:59
...
arabic_egypt - 306 fixed by khaloofah (306)
hebrew - 419 fixed, 45 changed by moshe (458), ybungalobill (6)
hungarian - 1 changed by alyr (1)
ido - 12 fixed by Cecile (12)
indonesian - 10 fixed by fanioz (10)
latvian - 1 fixed by pakalns (1)
portuguese - 17 fixed by rmrebelo (12), SnowFlake (5)
turkish - 161 changed by doesntmatter (161)
2008-12-10 18:45:17 +00:00
translators
be874f0cd0
(svn r14665) -Update: WebTranslator2 update to 2008-12-09 18:44:40
...
arabic_egypt - 301 fixed by khaloofah (301)
esperanto - 64 fixed, 2 changed by alekcxjo (66)
hebrew - 430 fixed by moshe (430)
hungarian - 10 changed by alyr (9), oklmernok (1)
indonesian - 49 fixed, 4 changed by fanioz (40), anansboga (13)
lithuanian - 5 fixed by Enternald (5)
portuguese - 6 fixed by SnowFlake (6)
thai - 333 fixed by vetbook (333)
2008-12-09 18:44:51 +00:00
translators
175228d036
(svn r14662) -Update: WebTranslator2 update to 2008-12-08 16:28:15
...
frisian - 216 fixed, 14 changed by Fryslân Boppe (230)
hebrew - 109 fixed, 2 changed by ybungalobill (111)
hungarian - 1 changed by oklmernok (1)
indonesian - 115 fixed by adjayanto (59), fanioz (56)
lithuanian - 24 fixed by Enternald (24)
malay - 41 fixed by Syed (41)
norwegian_nynorsk - 72 fixed by Thor (72)
turkish - 3 changed by Emin (3)
2008-12-08 16:29:36 +00:00
translators
d952324cfa
(svn r14660) -Update: WebTranslator2 update to 2008-12-06 18:44:39
...
croatian - 55 changed by knovak (55)
hebrew - 237 fixed, 2 changed by ybungalobill (239)
indonesian - 124 fixed, 11 changed by sireno (19), adjayanto (50), fanioz (66)
persian - 19 fixed by ali sattari (19)
russian - 1 fixed by ybungalobill (1)
traditional_chinese - 1 fixed by josesun (1)
turkish - 28 fixed by Emin (28)
2008-12-06 18:44:49 +00:00
rubidium
64c973ccc5
(svn r14658) -Change: allow changing town names when there are no towns in the scenario yet.
2008-12-05 22:46:39 +00:00
translators
c8cade5519
(svn r14657) -Update: WebTranslator2 update to 2008-12-05 18:44:56
...
afrikaans - 5 fixed by burgerd (5)
icelandic - 13 fixed by scrooge (13)
latvian - 101 fixed by Wersoo (101)
lithuanian - 4 fixed, 293 changed by linasmi (297)
malay - 40 fixed by Syed (40)
slovenian - 11 fixed by Necrolyte (11)
turkish - 78 fixed by Emin (78)
2008-12-05 18:45:05 +00:00
rubidium
bcb9a11754
(svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms.
2008-12-05 18:02:04 +00:00
translators
1b91ec49c8
(svn r14655) -Update: WebTranslator2 update to 2008-12-04 18:47:16
...
croatian - 61 fixed by knovak (61)
hebrew - 192 fixed by davidx123 (192)
hungarian - 1 changed by IPG (1)
indonesian - 165 fixed, 6 changed by fanioz (121), dnaftali (50)
malay - 182 fixed, 1 changed by tombakemas (104), Syed (79)
2008-12-04 18:47:20 +00:00
translators
1b0bf2d264
(svn r14654) -Add: stub for Hebrew.
2008-12-04 00:34:52 +00:00
translators
7ce3c1e798
(svn r14653) -Update: WebTranslator2 update to 2008-12-03 19:27:43
...
danish - 10 fixed by ThomasA (10)
indonesian - 48 fixed by fanioz (48)
-Fix: WebTranslator2 went haywire on Croatian/Danish.
2008-12-03 19:31:15 +00:00
translators
cf6a167a1c
(svn r14652) -Update: WebTranslator2 update to 2008-12-03 18:43:05
...
croatian - 28 changed by knovak (28)
indonesian - 64 fixed, 1 changed by fanioz (50), dnaftali (15)
macedonian - 10 fixed by zharko (10)
malay - 267 fixed, 3 changed by tombakemas (270)
serbian - 29 fixed by dejac (29)
2008-12-03 18:43:10 +00:00
rubidium
217a72122a
(svn r14649) -Change: consistently use can't instead of primarily can't and a bit of cannot in english.txt.
2008-12-03 00:09:26 +00:00
translators
0b248ef69a
(svn r14648) -Update: WebTranslator2 update to 2008-12-02 18:46:52
...
croatian - 3 fixed, 5 changed by knovak (8)
hungarian - 37 changed by IPG (37)
indonesian - 62 fixed by fanioz (62)
lithuanian - 17 fixed by Enternald (17)
malay - 66 fixed, 2 changed by tombakemas (68)
swedish - 6 fixed by daishan (6)
turkish - 42 fixed by Emin (42)
2008-12-02 18:47:03 +00:00
translators
9905fa3116
(svn r14647) -Update: WebTranslator2 update to 2008-12-01 18:28:38
...
croatian - 160 changed by knovak (160)
hungarian - 2 changed by oklmernok (2)
malay - 20 fixed by SeaGates (20)
spanish - 1 fixed by eusebio (1)
2008-12-01 18:28:44 +00:00
translators
58b2cdbcff
(svn r14646) -Update: WebTranslator2 update to 2008-11-30 18:46:24
...
esperanto - 4 fixed by Athaba (4)
finnish - 1 changed by SuomiPoika (1)
indonesian - 16 fixed, 4 changed by fanioz (20)
korean - 1 fixed by dlunch (1)
lithuanian - 57 fixed, 20 changed by Enternald (77)
macedonian - 140 fixed, 1 changed by simonkoco (34), zharko (107)
persian - 21 fixed by ali sattari (21)
serbian - 5 fixed by dejac (5)
2008-11-30 18:46:32 +00:00
frosch
a0327b375f
(svn r14643) -Fix: Invalidate autoreplace window when toggling 'replace protection'.
2008-11-29 21:27:15 +00:00
translators
0191220b64
(svn r14642) -Update: WebTranslator2 update to 2008-11-29 18:44:42
...
croatian - 163 fixed, 30 changed by knovak (193)
czech - 1 fixed, 1 changed by miris2009 (2)
esperanto - 41 fixed by Athaba (41)
german - 4 fixed, 2 changed by Athaba (6)
greek - 20 fixed by vesnikos (20)
hungarian - 6 changed by IPG (6)
indonesian - 46 fixed by fanioz (46)
malay - 259 fixed by SeaGates (259)
polish - 1 fixed, 10 changed by meush (11)
2008-11-29 18:44:52 +00:00
rubidium
cdec8f6b27
(svn r14641) -Change [Allegro]: when making a debug build revert Allegro's hooks on SIGSEGV/SIGABRT so one can actually use gdb.
...
-Change: make it more clear that Allegro's failing to find a driver.
2008-11-29 01:28:13 +00:00
translators
9140315c7b
(svn r14640) -Update: WebTranslator2 update to 2008-11-28 18:47:35
...
bulgarian - 1 fixed by Ar4i (1)
catalan - 1 fixed by arnaullv (1)
croatian - 43 fixed by knovak (43)
esperanto - 3 fixed by Athaba (3)
estonian - 8 fixed by t2t2 (8)
german - 1 fixed by Athaba (1)
latvian - 315 fixed, 112 changed by Reinis (414), yopzer (7), niko (6)
polish - 1 fixed by xaxa (1)
romanian - 6 fixed, 1 changed by kkmic (7)
ukrainian - 2 fixed by mad (2)
2008-11-28 18:47:49 +00:00
translators
7f24ffea6a
(svn r14639) -Update: WebTranslator2 update to 2008-11-27 18:48:40
...
brazilian_portuguese - 4 fixed by tucalipe (4)
catalan - 1 fixed by arnaullv (1)
dutch - 1 fixed, 7 changed by Excel20 (8)
finnish - 4 fixed by UltimateSephiroth (1), jpx_ (3)
french - 1 fixed by glx (1)
greek - 10 fixed by Dimi (10)
hungarian - 8 fixed, 49 changed by IPG (57)
italian - 1 fixed by lorenzodv (1)
japanese - 1 fixed, 41 changed by bve255 (42)
korean - 3 fixed by dlunch (3)
lithuanian - 99 fixed, 16 changed by Domas (115)
norwegian_nynorsk - 35 fixed, 1 changed by mkrwii (36)
persian - 38 fixed by ali sattari (38)
polish - 20 fixed by coolik (14), xaxa (6)
romanian - 8 fixed by stykat (8)
slovak - 1 fixed by James (1)
welsh - 2 fixed by welshdragon (2)
2008-11-27 18:49:00 +00:00
glx
93ee81fa45
(svn r14638) -Fix [FS#2430]: don't restore fast-forward when SaveFileDone() callback happens after we returned to the menu
2008-11-27 18:39:55 +00:00
translators
7b7e3e0fce
(svn r14637) -Add: stub for Arabic (Egypt).
2008-11-26 20:14:46 +00:00
rubidium
a614dd7174
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
2008-11-26 13:12:45 +00:00
rubidium
bb25748a9d
(svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000.
2008-11-26 01:07:49 +00:00
rubidium
69eb6978e7
(svn r14634) -Change: _rdtsc is defined by some platforms so we can't use that name.
2008-11-26 01:03:34 +00:00
rubidium
131f9e39d3
(svn r14633) -Fix: compile failure when building a debug build without network support.
2008-11-25 23:24:38 +00:00
rubidium
34ddda1009
(svn r14632) -Add: support Allegro as midi backend.
2008-11-25 23:21:58 +00:00
rubidium
72124862f0
(svn r14631) -Add: support for Allegro as sound backend.
2008-11-25 21:09:00 +00:00
rubidium
3aacd0a3d5
(svn r14630) -Add: support Allegro as video backend.
2008-11-25 19:32:12 +00:00
translators
f31999c030
(svn r14626) -Update: WebTranslator2 update to 2008-11-25 18:44:46
...
bulgarian - 1 fixed by Ar4i (1)
croatian - 21 fixed, 11 changed by knovak (32)
finnish - 12 fixed by UltimateSephiroth (12)
french - 1 fixed by glx (1)
greek - 31 fixed by vesnikos (31)
hungarian - 13 fixed, 98 changed by IPG (111)
icelandic - 71 fixed, 2 changed by pall (73)
italian - 1 fixed by lorenzodv (1)
japanese - 114 fixed, 243 changed by bve255 (313), ickoonite (44)
polish - 36 fixed by coolik (3), xaxa (33)
2008-11-25 18:44:59 +00:00
rubidium
1983754132
(svn r14625) -Codechange: a bit of coding style.
2008-11-25 18:42:06 +00:00
translators
8e48319c44
(svn r14624) -Add: stub for Malay.
2008-11-25 09:05:56 +00:00
rubidium
5466d8e959
(svn r14623) -Codechange: a sprinkle of coding style.
2008-11-24 20:51:55 +00:00
glx
b7c6872903
(svn r14622) -Fix (r14618): win9x compilation
2008-11-24 20:10:39 +00:00
rubidium
f7f89d63b2
(svn r14621) -Fix (r14618): link error when you aren't compiling for Windows or you don't have fontconfig.
2008-11-24 19:31:01 +00:00
glx
68d399d0ae
(svn r14620) -Fix (r14618): missing lines broke compilation on windows
2008-11-24 18:59:53 +00:00
translators
730a3d4772
(svn r14619) -Update: WebTranslator2 update to 2008-11-24 18:56:10
...
czech - 1 fixed by Hadez (1)
dutch - 1 fixed by habell (1)
latvian - 19 fixed, 1 changed by v3rb0 (20)
persian - 22 fixed by ali sattari (22)
piglatin - 21 fixed by adammw (21)
polish - 2 fixed, 3 changed by Simek (5)
russian - 13 fixed by Smoky555 (13)
slovak - 1 fixed by James (1)
spanish - 1 fixed by eusebio (1)
2008-11-24 18:56:24 +00:00
rubidium
fea78fbfbb
(svn r14618) -Feature: when the chosen language isn't supported by the current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation.
2008-11-24 18:53:17 +00:00
rubidium
6878b181c7
(svn r14617) -Change: unduplicate the languagepack(header).
2008-11-24 11:20:07 +00:00
rubidium
f28992719d
(svn r14616) -Fix [FS#2424]: a nearest depot order should be "equal" to the resolved nearest depot order; otherwise we keep resolving the nearest depot order every tick.
2008-11-23 21:46:27 +00:00
translators
54128db1cf
(svn r14615) -Update: WebTranslator2 update to 2008-11-23 18:07:42
...
dutch - 29 changed by MsG (29)
finnish - 60 fixed, 2 changed by jpx_ (3), UltimateSephiroth (59)
hungarian - 37 changed by oklmernok (37)
romanian - 13 fixed, 39 changed by stykat (52)
ukrainian - 4 fixed by mad (4)
2008-11-23 18:07:49 +00:00
smatz
d0e4cc5ee0
(svn r14614) -Codechange [FS#2423]: GetTreeCount() should behave as its name and documentation imply. Remove unused SetTreeCount() (PhilSophus)
2008-11-23 16:45:53 +00:00
frosch
e35be92a3a
(svn r14613) -Fix [FS#2420]: When building industries, clear the tiles as OWNER_TOWN instead of the founder to take care of protected buildings and to not get stressed by town ratings.
2008-11-23 16:34:27 +00:00
smatz
c4179d4ea9
(svn r14612) -Change: force the argument given to '-i' parameter to be valid. Accept '2', too
2008-11-23 16:01:24 +00:00
frosch
3d467cabe5
(svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map array instead of the construction year.
...
Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses.
2008-11-23 14:17:41 +00:00
rubidium
2277a1ff9c
(svn r14610) -Fix [FS#2415]: possible stack corruption when reading corrupted sprites.
...
-Change: harden the sprite reading routine against corrupt sprites.
2008-11-23 13:42:05 +00:00
peter1138
ca5ed4b2cc
(svn r14609) -Codechange: Use supplied button colour instead of hardcoded yellow, for 'greyed out' arrow buttons. (Yorick)
2008-11-23 12:35:02 +00:00
frosch
5aad874639
(svn r14608) -Fix (r9315): Return the current year as construction year for unfinished houses.
2008-11-22 19:49:17 +00:00
translators
6df10074d4
(svn r14607) -Update: WebTranslator2 update to 2008-11-22 18:44:20
...
afrikaans - 28 changed by burgerd (28)
finnish - 65 fixed, 17 changed by UltimateSephiroth (82)
hungarian - 86 changed by oklmernok (86)
norwegian_bokmal - 4 fixed by brygge_2 (4)
2008-11-22 18:44:26 +00:00
frosch
259a073f0c
(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and PALETTE_MODIFIER_COLOR in spritelayout drawing.
...
-Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-22 16:04:11 +00:00
frosch
f0286cb1e5
(svn r14605) -Fix (r9315): When callback 1E fails, use the standard random colour.
2008-11-22 15:57:31 +00:00
frosch
b759ccd032
(svn r14604) -Codechange: Simplify a function and rename it, and fix some comments.
2008-11-22 15:48:43 +00:00
rubidium
6e93e611c8
(svn r14603) -Fix [FS#2422]: the company ID is off-by-one w.r.t. to the rest of the GUI in the cheat window.
2008-11-22 13:09:31 +00:00
translators
176e7469b6
(svn r14602) -Update: WebTranslator2 update to 2008-11-21 18:45:14
...
bulgarian - 2 fixed by Ar4i (2)
catalan - 2 fixed by arnaullv (2)
czech - 2 fixed by Hadez (2)
finnish - 90 fixed by UltimateSephiroth (90)
hungarian - 6 fixed, 42 changed by oklmernok (48)
indonesian - 88 fixed by adjayanto (88)
polish - 61 fixed by coolik (61)
romanian - 20 fixed by kkmic (20)
russian - 2 fixed by MajestiC (2)
spanish - 1 fixed by eusebio (1)
2008-11-21 18:45:27 +00:00
rubidium
2209c6a344
(svn r14601) -Fix: the nearest depot and stop in depot orders didn't work together (the vehicle didn't stop).
2008-11-21 18:16:19 +00:00
translators
bc88d7d9b0
(svn r14600) -Update: WebTranslator2 update to 2008-11-20 18:44:05
...
afrikaans - 34 fixed by nubllett (34)
galician - 4 fixed by Condex (4)
hungarian - 7 fixed, 49 changed by oklmernok (17), IPG (39)
italian - 2 fixed by lorenzodv (2)
polish - 45 fixed by kruczek1 (45)
slovak - 1 fixed by James (1)
2008-11-20 18:44:13 +00:00
frosch
ee8fb221d3
(svn r14599) -Fix (r14598)[FS#2417]: Show again group-membership in the vehicle-lists. (Based on patch by PhilSophus)
2008-11-20 16:48:22 +00:00
rubidium
a1853ea27c
(svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station).
2008-11-19 23:55:34 +00:00
translators
e80a222d31
(svn r14597) -Update: WebTranslator2 update to 2008-11-19 18:43:03
...
afrikaans - 165 fixed, 227 changed by nubllett (156), burgerd (236)
dutch - 2 fixed, 5 changed by Excel20 (7)
french - 2 fixed by glx (2)
german - 6 fixed, 2 changed by jonathan159 (2), MaSch (6)
hungarian - 1 fixed, 20 changed by oklmernok (21)
macedonian - 90 fixed by sashozs (90)
serbian - 560 fixed by AtzaMan (560)
slovak - 1 fixed by James (1)
spanish - 1 fixed by eusebio (1)
2008-11-19 18:43:16 +00:00
frosch
1e991548ac
(svn r14596) -Fix (r14591): Missing 'return'.
2008-11-19 16:53:24 +00:00
rubidium
aa126066b7
(svn r14595) -Add: Estonian currency.
...
-Change: Slovenia switched to the Euro in 2007.
2008-11-19 16:17:42 +00:00
rubidium
b00bfa0adf
(svn r14594) -Fix [FS#2412]: trains could get their their last visited station reset when still (un)loading causing an invalid state.
2008-11-19 14:48:12 +00:00
rubidium
aaeb01b428
(svn r14593) -Update: remove outdated (in r14592) string.
2008-11-18 23:58:24 +00:00
rubidium
2ed3c27822
(svn r14592) -Feature [FS#1124]: non-destructive autofill with option to keep waiting times (PhilSophus)
2008-11-18 23:53:37 +00:00
smatz
07e3c096b3
(svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation
...
-Codechange: rewrite parts of code responsible for caching index of nearest town
2008-11-18 22:43:59 +00:00
translators
e1a36e90a4
(svn r14590) -Update: WebTranslator2 update to 2008-11-18 18:44:24
...
catalan - 2 fixed by arnaullv (2)
czech - 3 fixed by miris2009 (3)
danish - 7 fixed by Hatsen (7)
finnish - 6 fixed by SuomiPoika (6)
hungarian - 41 fixed, 121 changed by oklmernok (162)
korean - 2 fixed, 9 changed by dlunch (11)
lithuanian - 30 fixed by BlinK_ (30)
polish - 30 fixed by coolik (30)
slovak - 2 fixed by James (2)
2008-11-18 18:45:42 +00:00
translators
ebad6b6730
(svn r14589) -Update: WebTranslator2 update to 2008-11-17 18:47:02
...
brazilian_portuguese - 2 fixed by tucalipe (2)
bulgarian - 67 fixed by Ar4i (67)
czech - 4 fixed, 4 changed by Hadez (8)
dutch - 2 fixed by habell (2)
finnish - 4 fixed by SuomiPoika (4)
hungarian - 5 fixed by oklmernok (5)
indonesian - 20 fixed by dnaftali (20)
italian - 2 fixed, 2 changed by lorenzodv (4)
russian - 9 fixed by veZuk (1), MajestiC (8)
slovak - 45 fixed by James (45)
2008-11-17 18:47:18 +00:00
rubidium
798fa3ec81
(svn r14588) -Fix [FS#2414]: the range for kicking/banning clients is based on the maximum number of clients, not the maximum number of companies.
2008-11-17 16:15:55 +00:00
michi_cc
2ed0c72ec5
(svn r14587) -Cleanup: Fix some old comments. Bits are not bytes.
2008-11-17 00:41:58 +00:00
translators
64ee487ed5
(svn r14583) -Update: WebTranslator2 update to 2008-11-16 18:59:11
...
dutch - 4 changed by Excel20 (4)
english_US - 7 fixed by WhiteRabbit (7)
french - 2 fixed, 2 changed by glx (4)
persian - 21 fixed by ali sattari (21)
portuguese - 49 fixed by joznaz (49)
spanish - 2 fixed by eusebio (2)
2008-11-16 18:59:22 +00:00
rubidium
cdfa2d68b1
(svn r14582) -Fix [FS#2392]: blank box on cost estimation of levelling a flat area.
...
-Fix: make levelling, raising and lowering of an area behave the same.
2008-11-16 14:17:49 +00:00
rubidium
ffa3ec54f9
(svn r14581) -Fix: make rail, road and canal building behave the same when overbuilding already built stretches.
2008-11-16 13:49:57 +00:00
frosch
1a866c7552
(svn r14578) -Fix (r2389, r10811)[FS#Vikthor]: Allow capacity callbacks (15, 36) to return zero capacity.
2008-11-13 20:26:06 +00:00
smatz
f28172c5f4
(svn r14577) -Fix [FS#2403]: vehicle didn't respect its 'refit in nearest depot' order (Swallow)
2008-11-11 22:51:27 +00:00
translators
a13108d5b6
(svn r14575) -Update: WebTranslator2 update to 2008-11-11 18:47:38
...
dutch - 2 changed by Excel20 (2)
latvian - 14 fixed by v3rb0 (14)
macedonian - 161 fixed, 15 changed by sashozs (176)
portuguese - 1 fixed by joznaz (1)
2008-11-11 18:47:46 +00:00
rubidium
a9f82cddea
(svn r14572) -Add: stub for Macedonian.
2008-11-10 10:06:24 +00:00
translators
cb89c5fe6d
(svn r14569) -Update: move Welsh from unfinished to finished.
2008-11-07 18:15:46 +00:00
translators
16d03f660b
(svn r14568) -Update: WebTranslator2 update to 2008-11-07 18:07:33
...
latvian - 69 fixed, 1 changed by v3rb0 (70)
norwegian_bokmal - 5 fixed by christian (5)
persian - 42 fixed by ali sattari (42)
welsh - 227 fixed, 2 changed by PlayDead (229)
2008-11-07 18:08:53 +00:00
rubidium
13ee151a69
(svn r14567) -Revert (part of 14566): don't commit testing stuff...
2008-11-07 18:02:46 +00:00
rubidium
c7f3935506
(svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali)
2008-11-07 17:59:51 +00:00
translators
e91ae97e19
(svn r14565) -Update: WebTranslator2 update to 2008-11-04 18:44:06
...
brazilian_portuguese - 5 fixed by tucalipe (5)
catalan - 5 fixed, 2 changed by arnaullv (7)
italian - 2 changed by lorenzodv (2)
latvian - 65 fixed, 1 changed by v3rb0 (66)
persian - 111 fixed by ali sattari (111)
polish - 6 fixed by meush (6)
welsh - 200 fixed, 12 changed by PlayDead (203), welshdragon (9)
2008-11-04 18:44:15 +00:00
smatz
f23dabb149
(svn r14564) -Fix (r14555): one more incorrect use of lastof()
2008-11-04 18:20:41 +00:00
rubidium
39450b6e4e
(svn r14563) -Fix [FS#2395]: in the case that an industry NewGRF, a shared TTDPatch and
...
OpenTTD feature with it's origin in TTDPatch to replace/add/change vehicles
(including e.g. maximum speed, graphics and introduction year), stations,
bridges, industries, town houses or any other graphics used by either
TTDPatch or OpenTTD, would tell that building an industry is okay, which
is queried using a so-called callback that allows the NewGRF author to
test all kinds of information about the neighbourhood where the industry
might get build, it would corrupt, i.e. overwrite with invalid data, the
structure that is used to build up an error message. This then might result
in trying to resolve an invalid StringID, an internal numeric representation
of all translateable strings, which would in it's turn trigger a safety
check that is added to ensure invalid StringIDs are never resolved.
2008-11-03 23:42:07 +00:00
frosch
e1bf231727
(svn r14562) -Fix (r14561): 8 bits are enough. The rest stays reserved.
2008-11-03 20:23:51 +00:00
frosch
ec4b30f9d9
(svn r14561) -Feature(ette)[FS#2334]: Add result 0x0F to callbacks 0x29/0x35. (Yexo)
2008-11-03 19:25:52 +00:00
smatz
7dd0b0dc07
(svn r14560) -Fix [FS#2396](r14555): lengthof() can't be simply replaced by lastof() in some cases (part by Aali)
2008-11-03 12:03:00 +00:00
michi_cc
808d9255a8
(svn r14559) -Fix [FS#2387]: A train could be blocked inside a depot if it was reversed just after leaving the depot.
2008-11-02 19:32:24 +00:00
michi_cc
f649496caa
(svn r14558) -Fix (r13957): Converting the track type of a tunnel/bridge could cause trains to get stuck.
2008-11-02 17:42:28 +00:00
skidd13
6d94be75e9
(svn r14557) -Codechange: Remove a redundant line of code
2008-11-02 11:41:13 +00:00
frosch
f8ed412b40
(svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges.
2008-11-02 11:23:44 +00:00
skidd13
706dd0f86c
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
2008-11-02 11:20:15 +00:00
rubidium
c03e55b32a
(svn r14554) -Fix: languages using longer gender names than strgen supports.
2008-11-02 11:15:26 +00:00
skidd13
6043b4574e
(svn r14553) -Doc: Add some doxygen comments
2008-11-02 11:05:26 +00:00
michi_cc
a4548a4b9b
(svn r14550) -Fix [FS#2391]: Don't assert on path look-ahead when processing a not-part-of-orders depot-order.
2008-10-31 16:46:34 +00:00
translators
4661917f64
(svn r14549) -Update: WebTranslator2 update to 2008-10-30 18:25:24
...
croatian - 9 fixed by tperic (9)
ido - 13 fixed by Cecile (13)
indonesian - 219 fixed by dnaftali (219)
italian - 1 changed by lorenzodv (1)
korean - 2 changed by dlunch (2)
latvian - 168 fixed, 22 changed by Wersoo (119), v3rb0 (71)
persian - 99 fixed by ali sattari (99)
swedish - 3 changed by Andreas (3)
2008-10-30 18:27:17 +00:00
rubidium
6629698dfe
(svn r14548) -Add: partial welsh translation, to be finished later.
2008-10-30 18:12:51 +00:00
rubidium
ffe155bb2a
(svn r14547) -Fix: order pool seemed to look full when it was not as it only checked whether it was possible to allocate a new block of pool items instead of checking for free pool items.
2008-10-30 12:32:32 +00:00
skidd13
38efdc8222
(svn r14546) -Codechange: Unify string(cpy|cat) functions
...
-Doc: string(cpy|cat) functions
2008-10-29 16:30:41 +00:00
rubidium
a6df995fbb
(svn r14545) -Fix [FS#2386]: road vehicles sometimes never got their "slots" deallocated causing RVs not going to depot for service.
2008-10-28 23:34:42 +00:00
rubidium
633b15caf3
(svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure they will not overflow their buffers.
2008-10-28 16:04:41 +00:00
rubidium
da0a0ef8ca
(svn r14541) -Fix (r14540): mingw didn't like it :(
2008-10-28 15:47:42 +00:00
rubidium
0d254e8914
(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
2008-10-28 14:42:31 +00:00
translators
cf4cffd91a
(svn r14539) -Update: WebTranslator2 update to 2008-10-27 18:43:26
...
dutch - 5 fixed by habell (5)
french - 5 fixed by glx (5)
galician - 5 fixed by Condex (5)
ido - 31 fixed by Cecile (31)
indonesian - 50 fixed by dnaftali (50)
italian - 5 fixed by lorenzodv (5)
korean - 5 fixed, 4 changed by leejaeuk5 (9)
spanish - 5 fixed by eusebio (5)
swedish - 5 fixed by ChrillDeVille (5)
ukrainian - 5 fixed by mad (5)
2008-10-27 18:43:40 +00:00
frosch
896841403f
(svn r14536) -Fix (r14530): Do not expect uints to become negative.
2008-10-25 22:00:51 +00:00
frosch
77a5a4953b
(svn r14535) -Fix: Description of '-i' commandline option.
2008-10-25 20:16:07 +00:00
glx
a6bfd7f15b
(svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu)
2008-10-25 19:59:11 +00:00
frosch
7df85e8a45
(svn r14533) -Fix: ...hopefully most glitches wrt. inclined foundations.
2008-10-25 18:58:24 +00:00
frosch
fd049f0a64
(svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window.
2008-10-25 15:25:52 +00:00
frosch
ac281ed35c
(svn r14530) -Fix [FS#2138]: Do not deliver cargo to industries not inside station catchment area.
2008-10-25 14:24:50 +00:00
frosch
11ef57d81e
(svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius().
2008-10-25 14:19:09 +00:00
rubidium
a14ad77a36
(svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)
2008-10-25 13:51:47 +00:00
rubidium
9075a2bbfc
(svn r14527) -Fix: allocate stub (empty) sound entries when loading an empty/corrupt/incorrectly sized sample.cat instead of making valid NewGRFs fail to load.
2008-10-25 10:26:23 +00:00
rubidium
7588513003
(svn r14526) -Fix [FS#2379]: make sure trains stop at the end of a station; a 3/8th length train did stop 2/8th of it's length too early causing a 63/8th long train not to fit in a 4 tile station.
2008-10-24 20:53:57 +00:00
translators
e3e65e8f2b
(svn r14525) -Update: WebTranslator2 update to 2008-10-24 17:44:48
...
indonesian - 412 fixed by dnaftali (412)
2008-10-24 17:44:49 +00:00
rubidium
42df5cbc03
(svn r14524) -Add: stop-in-depot as part of orders (PhilSophus)
2008-10-24 14:49:45 +00:00
translators
e094088852
(svn r14523) -Update: WebTranslator2 update to 2008-10-23 17:42:35
...
indonesian - 668 fixed by dnaftali (668)
italian - 6 changed by lorenzodv (6)
persian - 88 fixed by ali sattari (88)
2008-10-23 17:42:40 +00:00
glx
eb0464071d
(svn r14521) -Fix [FS#2378]: fast trains could continue to move after a crash
2008-10-22 23:06:36 +00:00
smatz
1e7e5fb175
(svn r14518) -Fix (r14514): forgot win32 and OS/2 files (glx)
2008-10-22 20:23:50 +00:00
rubidium
f43dc3e758
(svn r14517) -Feature: arrow key scrolling in the server list (Roujin)
2008-10-22 20:22:18 +00:00
rubidium
219abb5235
(svn r14516) -Fix: determine the default text direction based on the language file instead of hardcoding one.
2008-10-22 20:21:11 +00:00
smatz
c10f7db576
(svn r14514) -Codechange: use 'size' instead of 'length' for querystring and textbuf, explicitly say it includes the terminating zero
...
-Fix: one couldn't rename things with too long default/automatic name
-Fix: buffer overflow in console when too long (1024 bytes) command was entered
2008-10-22 19:12:10 +00:00
translators
6bc0f0ef92
(svn r14513) -Update: WebTranslator2 update to 2008-10-22 17:26:32
...
czech - 6 fixed by Hadez (6)
indonesian - 121 fixed by dnaftali (120), Admin (1)
italian - 1 changed by lorenzodv (1)
korean - 15 changed by dlunch (15)
latvian - 20 fixed by v3rb0 (20)
persian - 127 fixed by ali sattari (127)
2008-10-22 17:26:40 +00:00
smatz
bb4a4a255d
(svn r14508) -Fix (r14501): arrays were not properly zeroed
2008-10-21 14:56:23 +00:00
rubidium
639f9d8305
(svn r14506) -Add: stub for indonesian language.
2008-10-21 11:19:17 +00:00
michi_cc
ac722661a5
(svn r14505) -Fix (r14504): Missing include.
2008-10-20 19:46:49 +00:00
michi_cc
02c99bdf66
(svn r14504) -Cleanup: Use the right variable type for tile offsets.
2008-10-20 19:35:48 +00:00
rubidium
6c35825453
(svn r14502) -Codechange: add some inline comments and declare variable on use (Alberth)
2008-10-20 15:44:14 +00:00
rubidium
9df75b3f9e
(svn r14501) -Codechange: use sizeof(variable) instead of sizeof(type) or hardcoded amounts (magic constant) for memset (Alberth)
2008-10-20 15:42:56 +00:00
rubidium
8cce756f8f
(svn r14494) -Fix: few MSVC x64 warnings.
2008-10-19 18:47:15 +00:00
frosch
4dcf12a3ad
(svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games.
2008-10-19 17:30:41 +00:00
michi_cc
6815cc52fe
(svn r14492) -Fix [FS#2366] (r14482): Conditional orders could lead to an infinite loop on path look-ahead.
...
Don't refactor things that don't want to be refactored, folks. And some comments can't hurt either.
2008-10-19 17:16:26 +00:00
rubidium
d832626bb9
(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)
2008-10-19 15:39:12 +00:00
rubidium
15eb140d28
(svn r14490) -Codechange: fix comment style on a few locations (Alberth)
2008-10-19 09:51:19 +00:00
frosch
5a1df325e2
(svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout (Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint).
...
Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
2008-10-18 17:21:56 +00:00
frosch
2e6894b7bb
(svn r14487) -Fix: The station picker preview did not draw child sprites.
2008-10-18 17:20:31 +00:00
smatz
7a031b60cd
(svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken
2008-10-18 14:16:29 +00:00
frosch
f2eba8b0bf
(svn r14485) -Fix (r5464): Do not check the end of destination buffer using the source pointer.
...
Did not cause trouble though as destination buffer has always been bigger than source buffer.
2008-10-18 14:11:09 +00:00
frosch
63a9ddeb77
(svn r14484) -Fix (r10182) [FS#2358]: Obiwan dislikes music. (Patch by Yexo)
2008-10-18 13:43:52 +00:00
michi_cc
2001d127b8
(svn r14483) -Fix [FS#2340]: On reaching a waypoint a train could falsely be reported as lost when doing the look ahead for a path.
2008-10-18 13:13:31 +00:00
michi_cc
73dc280847
(svn r14482) -Codechange: Use a class for saving the current train order when extending the reserved path beyond the current destination during pathfinding.
...
The class' destructor will make sure that the order is restored on function exit in all cases.
2008-10-18 13:13:27 +00:00
translators
e9d6016fe6
(svn r14481) -Update: WebTranslator2 update to 2008-10-17 17:47:40
...
korean - 4 changed by leejaeuk5 (4)
latvian - 10 fixed by v3rb0 (10)
persian - 55 fixed by ali sattari (55)
2008-10-17 17:47:42 +00:00
rubidium
65404674a4
(svn r14480) -Add: warning when trying to use a right-to-left language without support for it in OpenTTD.
2008-10-17 17:42:51 +00:00
rubidium
ae0715e8c3
(svn r14479) -Add: initial (optional) support for handling bidirectional scripts and connecting Arabic characters.
2008-10-17 17:14:09 +00:00
frosch
7f5f0fea42
(svn r14469) -Fix [FS#2355]: Empty station spreads (e.g. from greyed station signs) were modified in test mode.
2008-10-15 21:10:43 +00:00
translators
b3742c0165
(svn r14468) -Update: WebTranslator2 update to 2008-10-15 17:40:33
...
hungarian - 8 fixed, 1 changed by alyr (9)
ido - 98 fixed by Cecile (98)
italian - 1 changed by lorenzodv (1)
korean - 88 changed by dlunch (88)
latvian - 15 fixed, 174 changed by v3rb0 (189)
persian - 43 fixed by ali sattari (43)
2008-10-15 17:40:39 +00:00
rubidium
a999bb3227
(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation.
2008-10-14 19:27:08 +00:00
rubidium
0c5c199f2f
(svn r14465) -Codechange: minor code style of command.cpp.
2008-10-14 18:49:21 +00:00
rubidium
272b2ef0e9
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
2008-10-14 18:38:51 +00:00
rubidium
03bef3fb5b
(svn r14463) -Fix [FS#2348]: small possible chance of desync due to sorting on pointer instead of by (station) index (PhilSophus)
2008-10-14 12:07:14 +00:00
rubidium
e9f5a19544
(svn r14462) -Codechange: replace magic number with already existing constant (Albert)
2008-10-13 03:40:48 +00:00
rubidium
f1f5b248c2
(svn r14461) -Document: add some doxygen comments (Albert)
2008-10-13 03:26:48 +00:00
translators
313f193b55
(svn r14460) -Update: WebTranslator2 update to 2008-10-12 17:43:44
...
bulgarian - 6 fixed, 1 changed by kokobongo (7)
english_US - 6 fixed by WhiteRabbit (6)
ido - 43 fixed by Cecile (43)
italian - 6 changed by lorenzodv (6)
korean - 41 changed by dlunch (41)
latvian - 54 changed by v3rb0 (54)
persian - 66 fixed by ali sattari (66)
2008-10-12 17:43:52 +00:00
frosch
dea505cbb8
(svn r14459) -Fix [FS#2343]: Update station-spread when building or removing oilrigs to make them consistent with station-spread-calculation on game-load and to make oilrig-stations behave like any other station type.
2008-10-12 10:22:13 +00:00
smatz
2611fbeb18
(svn r14458) -Fix [FS#2341](r14368): crash when there was a tram dead end after a station/tunnel/bridge (frosch123 and Rubidium)
2008-10-10 22:50:31 +00:00
translators
9075eafaae
(svn r14457) -Update: WebTranslator2 update to 2008-10-10 22:29:03
...
french - 28 changed by glx (28)
italian - 6 fixed, 28 changed by lorenzodv (34)
korean - 43 changed by dlunch (43)
latvian - 75 fixed, 191 changed by v3rb0 (266)
persian - 34 fixed by ali sattari (34)
slovak - 14 fixed by lengyel (14)
swedish - 26 changed by Andreas (26)
2008-10-10 22:29:13 +00:00
frosch
70e1e83eb2
(svn r14456) -Fix: Obiwan in catchment-area and station-spread of docks.
2008-10-10 20:09:29 +00:00
rubidium
a34bd150fe
(svn r14450) -Fix [FS#2337]: time table restoring did check too restrictively causing order backups not to be properly restored.
2008-10-08 11:29:17 +00:00
rubidium
1d2fbbc8a7
(svn r14449) -Fix [FS#2338]: service at nearest depot acted like go to nearest depot.
2008-10-08 11:03:43 +00:00
smatz
1906aa2bbb
(svn r14448) -Codechange [FS#2328]: rename a few variables (based on a patch by planetmaker)
2008-10-07 20:57:41 +00:00
michi_cc
b3726f4c7c
(svn r14447) -Change [FS#2333]: Rename YAPP "advanced signals" to "path signals" and "normal signals" to "block signals".
2008-10-07 20:13:22 +00:00
rubidium
719891c23e
(svn r14446) -Fix [FS#2330]: when a road stop gets moved make sure to update the destination of RVs going to that road stop.
2008-10-07 18:46:12 +00:00
translators
0e518c2d92
(svn r14445) -Update: WebTranslator2 update to 2008-10-07 17:43:40
...
latvian - 2 fixed, 15 changed by v3rb0 (17)
spanish - 6 fixed by eusebio (6)
ukrainian - 6 fixed by mad (6)
2008-10-07 17:43:47 +00:00
translators
249a9c0912
(svn r14444) -Add: stubs for two new languages: Persian (or Farsi) and Ido.
2008-10-07 14:22:04 +00:00
frosch
1358756071
(svn r14442) -Fix (r14406): Typo causing problems in rare cases.
2008-10-05 18:42:59 +00:00
translators
e17db9655c
(svn r14441) -Update: WebTranslator2 update to 2008-10-05 17:45:23
...
catalan - 6 fixed by arnaullv (6)
german - 1 changed by sulai (1)
hungarian - 1 fixed, 1 changed by alyr (2)
norwegian_bokmal - 6 fixed by christian (6)
simplified_chinese - 1 fixed by ww9980 (1)
traditional_chinese - 2 changed by josesun (2)
2008-10-05 17:45:33 +00:00
smatz
b4a307d0bb
(svn r14439) -Fix (r12044)(r14139): centering on a plane at the SE border could cause crash
2008-10-04 10:25:12 +00:00
translators
5f9e2e60fb
(svn r14438) -Update: WebTranslator2 update to 2008-10-03 17:45:52
...
brazilian_portuguese - 6 fixed by tucalipe (6)
dutch - 6 fixed by habell (6)
french - 6 fixed by glx (6)
galician - 6 fixed by Condex (6)
german - 6 fixed, 19 changed by sulai (25)
hungarian - 48 fixed by alyr (48)
korean - 6 fixed by dlunch (6)
simplified_chinese - 84 fixed by ww9980 (84)
slovenian - 6 fixed by Necrolyte (6)
swedish - 6 fixed by ChrillDeVille (6)
traditional_chinese - 9 fixed, 69 changed by josesun (78)
2008-10-03 17:46:13 +00:00
rubidium
da2b14e6b2
(svn r14436) -Fix [FS#1793]: (fast) trains would sometimes move one time too often/little when moving from diagonal<->non-diagonal tracks (iguannab)
2008-10-03 12:55:39 +00:00
rubidium
b727f93bbc
(svn r14434) -Fix (r14432): compile warning.
2008-10-02 22:48:52 +00:00
rubidium
bdd756b58c
(svn r14432) -Fix: tile description of tiles with only one signal that is not the normal signal showing "normal signal and <signal type on tile>".
2008-10-02 00:23:30 +00:00
rubidium
d19d6f21a0
(svn r14431) -Fix (r14414): alias parameter "evaluation" would remove the last byte of the parameters.
2008-10-02 00:08:45 +00:00
michi_cc
ba5575e0fc
(svn r14428) -Fix [FS#2306]: A 90-degree curve can be a safe waiting position if they are forbidden for trains.
2008-10-01 15:48:44 +00:00
rubidium
c9a82ac3e7
(svn r14423) -Codechange: also do r14221 for the strings.
2008-09-30 21:18:28 +00:00
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
2008-09-30 20:51:04 +00:00
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
2008-09-30 20:39:50 +00:00
translators
cc1e761eda
(svn r14420) -Update: WebTranslator2 update to 2008-09-30 17:50:15
...
hungarian - 3 fixed, 1 changed by alyr (4)
simplified_chinese - 122 fixed, 2 changed by ww9980 (124)
swedish - 1 fixed by ChrillDeVille (1)
2008-09-30 17:50:21 +00:00
belugas
d130ff3889
(svn r14419) -Codechange: adding two digits for no obvious reason (nor comment), plus code style Infringement.
2008-09-30 16:50:25 +00:00
smatz
a858d0993f
(svn r14417) -Codechange: rewrite GetClosestWaterDistance(), now it is ~100 times faster than pre-r14416 in average case
2008-09-29 18:56:36 +00:00
smatz
e65771f25c
(svn r14416) -Fix (r10074)(r10517): substraction was done the other way in the 'nearest land/water' check (~25% performance penalty)
2008-09-29 18:34:05 +00:00
smatz
c631c26a9f
(svn r14415) -Fix (r10074): void tiles could be the nearest 'land' for water industries
2008-09-29 18:23:56 +00:00
rubidium
e7829c1a57
(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated.
2008-09-29 16:27:02 +00:00
frosch
c20c3be91d
(svn r14412) -Documentation: Comment some functions related to the advanced settings. Patch by Alberth, but with less excessive use of 'at'.
2008-09-28 15:42:15 +00:00
frosch
1032dbe142
(svn r14411) -Fix (r14406): IsFrontEngine() is only valid for trains.
2008-09-28 15:07:03 +00:00
rubidium
e635df8d53
(svn r14410) -Codechange: one can't inject a negative number of parameters, so enforce this by using a uint.
2008-09-28 13:50:11 +00:00
frosch
a370f32c15
(svn r14409) -Codechange: Simplify a loop and correct a comment.
2008-09-28 12:38:56 +00:00
glx
f2d7c48b31
(svn r14408) -Fix (r9205): generation seed set using -G was always overwritten by -g
2008-09-27 22:19:34 +00:00
frosch
76c13beef0
(svn r14407) -Cleanup (r14406): Remove a redundant test. (thanks SmatZ)
2008-09-27 17:08:03 +00:00
frosch
67db5087cd
(svn r14406) -Fix [FS#Eddi]: Autoreplace did not work for vehicles in free wagon chains.
2008-09-27 14:58:46 +00:00
frosch
05d8a0ebad
(svn r14405) -Fix [FS#2289]: Correct handling of selling free wagons while the following vehicle is an engine (i.e. a new train is created).
2008-09-26 19:25:49 +00:00
rubidium
257f7a229b
(svn r14404) -Change [FS#2176]: don't make the town flatten land unconditionally when build on slopes is turned on. Based on a patch by Eddi.
2008-09-26 19:11:15 +00:00
frosch
436011dda3
(svn r14403) -Fix (r14384): The condition was too restrictive.
2008-09-26 19:01:57 +00:00
translators
804185d392
(svn r14402) -Update: WebTranslator2 update to 2008-09-26 17:45:50
...
slovenian - 3 fixed by Necrolyte (3)
traditional_chinese - 1 fixed, 8 changed by josesun (9)
2008-09-26 17:47:39 +00:00
peter1138
37931fb2c6
(svn r14401) -Fix (r11724): Don't check articulated parts or rear multihead parts for callback 1D when moving a chain of wagons.
2008-09-26 06:52:06 +00:00
smatz
e4242c8735
(svn r14398) -Cleanup (r14395): unused function sneaked in
2008-09-25 09:50:31 +00:00
rubidium
86f1a98ac8
(svn r14397) -Fix: possible buffer overrun, wrong parameter type passed to printf and && where || is meant. Found by MSVC's code analysis (Darkvater)
2008-09-24 23:25:24 +00:00
smatz
b907ffec97
(svn r14396) -Fix: ctrl+right click at 'Go to nearest depot' order scrolled to depot with DepotID == 0
2008-09-24 16:51:36 +00:00
smatz
6987e6015a
(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open
...
-Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-24 16:40:06 +00:00
translators
7a527807d9
(svn r14394) -Update: WebTranslator2 update to 2008-09-24 14:01:38
...
danish - 8 changed by ThomasA (8)
german - 5 changed by sulai (5)
hungarian - 17 fixed, 4 changed by alyr (21)
korean - 45 changed by dlunch (45)
norwegian_bokmal - 9 fixed by christian (9)
spanish - 1 changed by eusebio (1)
traditional_chinese - 91 fixed, 1044 changed by josesun (1135)
2008-09-24 14:01:49 +00:00
rubidium
a143100f46
(svn r14393) -Fix [FS#2318]: deleting the same window (pointer) twice.
2008-09-23 20:12:13 +00:00
rubidium
57d592828b
(svn r14392) -Fix [FS#1404]: some widgets saw a single click as multiple clicks.
2008-09-23 19:25:00 +00:00
rubidium
6a931d67cd
(svn r14390) -Codechange: replace magic constants with symbolic constants.
2008-09-23 15:24:15 +00:00
translators
ff76ef6a0a
(svn r14386) -Update: WebTranslator2 update to 2008-09-22 19:58:30
...
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan - 3 fixed by arnaullv (3)
english_US - 2 fixed by WhiteRabbit (2)
estonian - 1 fixed by kristjans (1)
french - 1 fixed by glx (1)
galician - 1 changed by Condex (1)
hungarian - 3 changed by alyr (3)
korean - 18 changed by dlunch (18)
norwegian_bokmal - 194 fixed by christian (194)
spanish - 2 fixed by eusebio (2)
2008-09-22 19:58:46 +00:00
frosch
5abea62e3e
(svn r14384) -Fix: Moving the first vehicle of a train elsewhere might require a new unitnumber for the remaining chain.
2008-09-22 19:28:53 +00:00
smatz
abbc9cd9cb
(svn r14383) -Fix [FS#2316](r14343): handle invalid 'v->u.air.targetairport' in the NewGRF code, too
2008-09-22 14:34:38 +00:00
rubidium
7ef5406946
(svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front engine when turning a train in a station.
2008-09-21 18:28:35 +00:00
frosch
2bf182fb36
(svn r14369) -Fix: Enforce non-front engines to be stopped.
...
This could be caused by old savegames resp. their conversion, and causes
trouble for e.g. autoreplace.
2008-09-21 14:03:47 +00:00
rubidium
cccd1a8739
(svn r14368) -Fix [FS#1852]: trams jumping when reversing on a single trambit (like caused during road construction reworks) or when (manually) reversing in a corner.
2008-09-21 11:26:50 +00:00
frosch
3dceffd283
(svn r14366) -Fix (r14362): Match multiheaded parts starting from the first vehicle in a chain.
2008-09-20 18:31:31 +00:00
glx
c125cfa6cc
(svn r14365) -Backport (r14364 from NoAI): add the ability do CmdBuildSingleSignal to directly place the correct signal, instead requiring multiple inputs before doing so
2008-09-20 17:43:06 +00:00
glx
fe5cc9c839
(svn r14363) -Fix [FS#2206]: some keypress combinations could be handled twice
2008-09-20 16:07:56 +00:00
frosch
07418cbf7f
(svn r14362) -Fix (r3403): Also connect multiheaded parts in free wagon chains.
2008-09-20 10:53:08 +00:00
translators
c3c58c95b9
(svn r14361) -Update: WebTranslator2 update to 2008-09-19 20:23:28
...
italian - 8 fixed by lorenzodv (8)
korean - 3 fixed by leejaeuk5 (3)
simplified_chinese - 119 fixed by ww9980 (119)
spanish - 1 fixed by eusebio (1)
swedish - 13 fixed by ChrillDeVille (13)
ukrainian - 3 fixed by mad (3)
2008-09-19 20:23:41 +00:00
smatz
89edec7bfb
(svn r14360) -Cleanup (r12652): remove unused handler for the 'Tranfser' button
2008-09-19 16:34:24 +00:00
rubidium
ee2a851aab
(svn r14359) -Fix [FS#2311]: the ownership of roadtiles was not properly set for very old savegames (including TTD's) making it impossible to remove some pieces of road.
2008-09-18 15:32:20 +00:00
smatz
deaa0725e9
(svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for tunnels and bridges
2008-09-17 17:23:57 +00:00
belugas
217db3cb61
(svn r14352) -Feature: Allow sorting vehicles by remaining life time.
...
Patch by yorick
2008-09-17 02:30:24 +00:00
smatz
9fed67a05a
(svn r14351) -Codechange: call CFollowTrackT::GetSingleTramBit() only if we know it is a tram, so compiler doesn't generate code for trains and ships
2008-09-17 00:32:35 +00:00
smatz
97150dcffd
(svn r14350) -Fix (r13927): do not draw PBS reservation for NW and NE depots, it is drawn through depot walls
2008-09-16 22:56:43 +00:00
smatz
7ae255a553
(svn r14348) -Fix (r1667): signs were not updated on company bankrupcy/sell, they have colour of invalid player
2008-09-16 20:57:49 +00:00
smatz
c998342206
(svn r14346) -Codechange [FS#2184]: reduce code duplication when jumping to next/previous sign in signs_gui.cpp (Roujin)
2008-09-16 19:18:22 +00:00
smatz
5a1203963f
(svn r14345) -Fix: delete the RenameSignWindow when 'its' sign is deleted
...
Also, it makes sure the RenameSignWindow isn't open when there are no signs (and crashes associted with that)
2008-09-16 19:05:38 +00:00
smatz
4a97033e7e
(svn r14344) -Fix: when a new airport is built in the same tick as the old station is deleted, aircraft may go crazy (and crash the game)
2008-09-16 16:07:18 +00:00
smatz
192d348f78
(svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause crashes at several places when the station pool got smaller
2008-09-16 15:15:41 +00:00
smatz
47d19f7914
(svn r14340) -Fix (r11822): signs from old savegames were lost (causing little memory leaks)
2008-09-16 11:19:07 +00:00
smatz
dce7bec2d3
(svn r14339) -Fix (r13731): crash when loading the intro game failed
2008-09-15 23:50:12 +00:00
smatz
5f4ff33ce3
(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too
2008-09-15 22:58:41 +00:00
smatz
a20dae0df1
(svn r14336) -Fix (r14334): when there was a station with custom name in an old savegame, it's default name was empty
2008-09-15 22:45:18 +00:00
frosch
bffc5717bc
(svn r14335) -Codechange: Remove some magic numbers.
2008-09-15 19:55:00 +00:00
smatz
1266b1a73f
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-15 19:02:50 +00:00
belugas
0682dc3a0d
(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by introducing a daily random industry change.
...
This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process.
Thanks to frosch, for nice code ideas and rewrites
2008-09-15 17:18:22 +00:00
smatz
606f4defdc
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
2008-09-15 16:29:40 +00:00
rubidium
ff89c704fa
(svn r14330) -Fix: compile warnings in some unfinished lang files.
2008-09-15 13:32:59 +00:00
rubidium
1ce4e5721b
(svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore.
2008-09-15 10:02:39 +00:00
smatz
6be25eabb3
(svn r14328) -Fix (r11822): when a company was renamed and then manager was renamed before building anything, company name changed
2008-09-15 08:37:40 +00:00
rubidium
c496fe4d1a
(svn r14327) -Fix [FS#2251]: if you rename a town before building something and build something near that town your company would be called "<old townname> Transport".
2008-09-14 20:11:34 +00:00
rubidium
497ded7e40
(svn r14326) -Fix: some wrong comments (Yexo)
2008-09-14 19:36:31 +00:00
translators
cc16809f71
(svn r14325) -Update: WebTranslator2 update to 2008-09-14 17:42:18
...
czech - 2 fixed, 31 changed by Hadez (33)
english_US - 211 fixed by WhiteRabbit (211)
galician - 193 fixed, 10 changed by Condex (203)
german - 2 fixed, 38 changed by sulai (40)
swedish - 60 fixed by ChrillDeVille (60)
2008-09-14 17:42:25 +00:00
rubidium
7c8a50d7d8
(svn r14324) -Fix [FS#2241]: free any blocks that a helicopter may have on an oilrig when the helicopter gets forcefully removed (bankruptcy). For other airports this isn't needed as they can't be used by multiple companies.
2008-09-14 16:49:21 +00:00
smatz
5df524ecc0
(svn r14323) -Fix (r14064): forgot a return...
2008-09-14 16:01:46 +00:00
smatz
c5960b4be1
(svn r14322) -Fix (r10368): possible assert when renaming removed waypoint
2008-09-14 15:48:49 +00:00
rubidium
6ce4fe40f7
(svn r14321) -Add: support for newgrfs printing bytes/words/dwords as hexadecimals.
2008-09-14 14:31:37 +00:00
rubidium
811193e468
(svn r14320) -Fix [FS#2299]: glitch when chatbox window is full and the window is scrolled (yorP)
2008-09-14 10:39:22 +00:00
smatz
9174c19291
(svn r14319) -Fix (r10760): use operator delete when deleting an order, so order pool fills up a bit slower
2008-09-14 10:32:32 +00:00
rubidium
cbbb2eb85c
(svn r14318) -Fix [FS#2296]: OSK of the chat box did not get updated. This as the chatbox got a higher priority than the OSK instead of the usual other way around.
2008-09-14 10:30:31 +00:00
peter1138
45ce441a55
(svn r14317) -Fix (r13662) [FS#2298]: Order distance processing for conditional orders on ships treated v->orders as an array, and didn't use the correct next order.
2008-09-14 08:47:18 +00:00
smatz
54d1b49981
(svn r14316) -Fix: do not allow building road over level crossings and drive-through road stops in the wrong direction even when the roadtype is present
2008-09-13 17:37:18 +00:00
smatz
c4d49dfc21
(svn r14315) -Fix: allow adding roadtypes only to drive-through road stops
2008-09-13 17:26:44 +00:00
smatz
d5ca29a5ab
(svn r14314) -Fix: pay for two road bits when adding/removing roadtype at drive through road stop/level crossing
2008-09-13 17:06:44 +00:00
frosch
856157b6da
(svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file.
2008-09-13 15:49:29 +00:00
rubidium
0251a9c529
(svn r14310) -Fix: don't show palette information in the newgrf lists of the network lobby.
2008-09-13 12:40:31 +00:00
rubidium
ab4d0e2dac
(svn r14309) -Fix [FS#2244]: aircraft frozen above oil rig when the next order is invalid.
2008-09-13 11:00:30 +00:00
rubidium
defecbc6ef
(svn r14308) -Fix [FS#2268]: pay extra when tram/road bits need to be build for a roadstop.
2008-09-13 10:41:00 +00:00
smatz
66be028ad4
(svn r14307) -Fix: when deleting a station, remove news items regarding it
2008-09-13 10:19:51 +00:00
rubidium
fc62d736f7
(svn r14306) -Codechange: unify the code to draw the vehicle list.
...
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
2008-09-13 10:04:36 +00:00
frosch
1647597943
(svn r14305) -Fix [FS#2294] (r5033): [YAPF] Only reserve road slots for multistop when they are really reachable.
2008-09-12 23:23:41 +00:00
smatz
3236b3d10e
(svn r14304) -Fix (r14104): waypoint train list wasn't closed with the waypoint window (crashes since r14296)
2008-09-12 22:52:48 +00:00
rubidium
3b4d15d35b
(svn r14303) -Codechange: make the vehicle list part of the group window look exactly like the vehicle list instead of some buttons being one pixel wider/smaller.
2008-09-12 21:59:34 +00:00
rubidium
3384638e36
(svn r14302) -Codechange: simplify and make the vehicle list and group windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles.
2008-09-12 21:58:36 +00:00
rubidium
560e5560f1
(svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items.
2008-09-12 21:20:12 +00:00
translators
95bdb5a6a3
(svn r14300) -Update: WebTranslator2 update to 2008-09-12 17:41:59
...
brazilian_portuguese - 13 fixed by tucalipe (13)
catalan - 12 fixed by arnaullv (12)
danish - 9 fixed, 7 changed by ThomasA (16)
dutch - 1 changed by habell (1)
estonian - 5 fixed by kristjans (5)
galician - 98 fixed, 6 changed by Condex (104)
german - 7 fixed, 83 changed by sulai (69), dih (21)
korean - 12 fixed by leejaeuk5 (12)
romanian - 20 fixed by kneekoo (20)
slovenian - 5 fixed by Necrolyte (5)
2008-09-12 17:42:11 +00:00
rubidium
6d52fce720
(svn r14299) -Fix: disable 'toggle palette' when no NewGRF has been selected.
2008-09-12 17:38:57 +00:00
rubidium
d6bc633870
(svn r14298) -Fix [FS#2214]: "{CARGO} from unknown destination".
2008-09-12 17:16:04 +00:00
rubidium
8d449825f9
(svn r14297) -Fix: one could be trying to get the station name of a station that is outside of the pool.
2008-09-12 17:14:07 +00:00
rubidium
8f42c38039
(svn r14296) -Codechange: there is no case where an invalid waypoint index should be passed to be drawn as a string.
2008-09-12 17:11:28 +00:00
belugas
a2b00e24b6
(svn r14295) -Fix(r14294): If the house is not built yet, still give me proper coordinates, pretty please!
...
Plus, two(2) rogue tabs found their way in.
2008-09-12 17:05:23 +00:00
belugas
13eab4177d
(svn r14294) -Feature[newGRF]: Add Variational Action 2 Variable 0x47 for houses, Coordinates of the house tile
2008-09-12 17:02:22 +00:00
smatz
37edc141e2
(svn r14293) -Change: do not show PBS track reservation in the intro game
2008-09-11 21:53:59 +00:00
frosch
80b0671cc9
(svn r14292) -Cleanup (r11128): Move an 'if' out of a loop as it does not need to be iterated. (spotted by smatz)
2008-09-11 19:44:30 +00:00
frosch
33c2b798fb
(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.
2008-09-11 19:12:31 +00:00
smatz
ef03a41631
(svn r14290) -Fix (r13932): level crossings could be barred when they shouldn't be after savegame conversion
2008-09-11 17:41:43 +00:00
smatz
9431bf1c29
(svn r14289) -Fix [FS#2286](r3720)(r1): sound effects an music volume should be in range 0-127, default value shouldn't be higher
...
(based on a patch by kakaopor)
2008-09-11 13:58:59 +00:00
michi_cc
1b7de43e80
(svn r14286) -Fix [FS#2265]: If a change of conventional/electric rail coincided with the start of a station platform, stale reservations could be left behind.
2008-09-09 19:21:22 +00:00
michi_cc
fa3f2ae035
(svn r14285) -Fix [FS#2263]: A train inside a wormhole could free the reservation of another train inside the wormhole.
2008-09-09 19:02:47 +00:00
michi_cc
a7a7e2d3cc
(svn r14284) -Fix (r13958): Trains would not look ahead and extend their reservation on a waypoint tile in all cases.
2008-09-09 18:47:53 +00:00
smatz
0757669c49
(svn r14283) -Fix [FS#2281](r14175): beep only after clicking on the main toolbar, not after finishing the selection
2008-09-09 17:42:31 +00:00
translators
e5081f587a
(svn r14282) -Update: WebTranslator2 update to 2008-09-09 17:38:39
...
czech - 1 fixed, 7 changed by Hadez (7), joeprusa (1)
danish - 61 fixed, 6 changed by ThomasA (28), MiR (39)
dutch - 6 fixed by habell (5), webfreakz (1)
estonian - 1 fixed by kristjans (1)
finnish - 66 fixed by habazi (66)
french - 2 fixed, 2 changed by glx (4)
galician - 14 fixed by Condex (14)
german - 63 fixed, 16 changed by sulai (41), dih (38)
italian - 1 fixed, 1 changed by lorenzodv (2)
piglatin - 27 fixed by adammw (27)
romanian - 57 fixed by kneekoo (57)
russian - 13 fixed by Smoky555 (13)
slovenian - 6 fixed by Necrolyte (6)
spanish - 9 fixed by eusebio (9)
ukrainian - 6 fixed by mad (6)
2008-09-09 17:40:23 +00:00
smatz
f503c7c99e
(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() and IsRailWaypoint() checks at several places
2008-09-09 12:26:25 +00:00
frosch
95ba19ee69
(svn r14276) -Fix: Rename one of the advanced settings, as 'TTDPatch compatible nonstop handling' wasn't a correct description anymore.
2008-09-08 19:20:39 +00:00
frosch
e3f2da01d3
(svn r14275) -Change: Rename 'Configure patches' to 'Advanced settings'.
2008-09-08 17:23:50 +00:00
smatz
db7c2b97f8
(svn r14274) -Fix (r10237): nonexistant order could be selected in the timetable window (causing SIGFPE)
2008-09-08 11:06:43 +00:00
smatz
0a4090b8a7
(svn r14270) -Fix: make small UFO aware of articulated RVs
2008-09-07 22:23:25 +00:00
smatz
2c0a95ed66
(svn r14265) -Fix (r10750): desyncs after deleting a waypoint because of explicit destructor call instead of using operator delete
2008-09-07 18:21:57 +00:00
smatz
06be820730
(svn r14263) -Codechange: give a better error message when removing a sign fails
2008-09-07 16:22:55 +00:00
rubidium
3b7ffcf759
(svn r14260) -Fix [FS#2277]: merge keycode for "normal" 0-9 keys and keypad 0-9 keys so people don't get confused that the keypad doesn't work as expected.
2008-09-07 11:55:28 +00:00
rubidium
9474db5cb6
(svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
...
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
2008-09-07 11:23:10 +00:00
rubidium
f4ee4fd5ae
(svn r14257) -Fix (r14153): incorrect update of ini-file group tail pointer causing memory corruption.
2008-09-07 08:51:26 +00:00
belugas
db58c25af2
(svn r14254) -Codechange: Code style and breathing room
2008-09-06 02:53:18 +00:00
translators
a7a2f54716
(svn r14250) -Update: WebTranslator2 update to 2008-09-05 15:13:08
...
afrikaans - 9 fixed by TrueTenacity (9)
croatian - 19 fixed by tperic (19)
czech - 5 fixed, 50 changed by Hadez (55)
dutch - 5 fixed by habell (5)
estonian - 9 fixed by kristjans (9)
french - 5 fixed by glx (5)
german - 85 fixed by dih (45), MaSch (40)
italian - 5 fixed, 4 changed by lorenzodv (9)
polish - 25 fixed, 4 changed by heimat (29)
spanish - 7 fixed by eusebio (7)
ukrainian - 5 fixed by mad (5)
2008-09-05 15:13:30 +00:00
rubidium
72b72bb368
(svn r14245) -Fix: NewGRF configs loaded from the config file would always default to the DOS palette instead of the "default" palette.
2008-09-04 19:43:20 +00:00
rubidium
236c613365
(svn r14243) -Fix [FS#2269]: clicking on the smallmap didn't break the "follow vehicle in main viewport".
2008-09-04 19:09:31 +00:00
frosch
e6688ab190
(svn r14239) -Fix [FS#2267]: The engine-purchase-list-sorter doubled running-cost and halfed capacity of double-headed engines.
2008-09-03 18:05:02 +00:00
glx
7b78084150
(svn r14235) -Fix (r14234): compilation with MSVC was broken
2008-09-03 13:25:56 +00:00
smatz
b6962222ee
(svn r14234) -Fix: feeder share was computed wrong when splitting cargo packet
2008-09-03 10:30:07 +00:00
rubidium
a4cd12274c
(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
2008-09-03 07:51:07 +00:00
smatz
c620d5e5f0
(svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3
2008-09-02 21:11:48 +00:00
rubidium
a482f0053d
(svn r14231) -Fix: Windows binaries not able to read non-windows newlines ini files. For more detail read the 'attached' diff.
2008-09-02 20:24:55 +00:00
frosch
3ce1a5672e
(svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff.
2008-09-02 20:01:18 +00:00
rubidium
fc216aeeb8
(svn r14229) -Feature: allow overriding the palette of the base GRFs. This way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported.
2008-09-02 18:45:15 +00:00
smatz
c0cdfea97d
(svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work
2008-09-02 17:24:46 +00:00
rubidium
c8e8911ef6
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
2008-09-02 15:20:38 +00:00
smatz
cbe397388f
(svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels
2008-09-02 14:46:28 +00:00
rubidium
fd97a89c57
(svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data.
2008-09-02 08:25:15 +00:00
peter1138
941f8b5f16
(svn r14215) -Cleanup (r13866): Strange line wrapping...
2008-09-01 08:57:33 +00:00
rubidium
886c8ec79f
(svn r14214) -Codechange: move another TTD graphics bug into the GRF; height problem of sprite #142 .
2008-08-31 23:12:57 +00:00
smatz
b51bb8c221
(svn r14210) -Codechange: remove a useless check when creating new waypoint
2008-08-31 21:30:36 +00:00
smatz
7fa98e33ce
(svn r14209) -Feature(tte): doubleclick to join selected server/company
2008-08-31 20:54:01 +00:00
peter1138
744b3527e5
(svn r14208) -Fix (r14197): Crash if no .obg files are found.
2008-08-31 20:08:24 +00:00
rubidium
dc2ace2494
(svn r14207) -Fix [FS#2262] (r14191): warning about non-virtual destructor in class with virtual functions.
2008-08-31 19:56:52 +00:00
translators
48479cd86f
(svn r14205) -Update: WebTranslator2 update to 2008-08-31 19:47:56
...
bulgarian - 12 fixed by thetitan (12)
catalan - 49 fixed by arnaullv (49)
czech - 4 fixed, 15 changed by Hadez (19)
dutch - 2 fixed, 5 changed by habell (7)
french - 2 fixed, 1 changed by belugas (1), glx (2)
galician - 75 fixed, 54 changed by Condex (129)
german - 10 fixed, 1 changed by dih (11)
italian - 5 fixed, 5 changed by lorenzodv (10)
korean - 14 fixed by leejaeuk5 (14)
slovenian - 6 fixed by Necrolyte (6)
turkish - 18 fixed by jnmbk (18)
ukrainian - 2 fixed by mad (2)
2008-08-31 17:48:17 +00:00
smatz
f2dbe6685d
(svn r14204) -Fix (r7475): when determining length of a string with limited size, first check if we are not out of bounds already
2008-08-31 17:34:03 +00:00
peter1138
7bc5b136b1
(svn r14203) -Codechange: [NewGRF] Disable a GRF if it contains an unknown property, or tries to assign an invalid ID.
2008-08-31 16:41:27 +00:00
peter1138
b4b1f26a9f
(svn r14202) -Codechange: [NewGRF] Give more meaningful output if a house/industry/industrytile is undefined in action 3, and continue processing remaining IDs.
2008-08-31 15:46:14 +00:00
peter1138
7e88b7bb3e
(svn r14201) -Codechange: [NewGRF] Don't continue processing an Action 0 if we didn't read the data for a property -- the data will be wrong for subsequent reads.
...
-Codechange: [NewGRF] *Do* continue processing if the value of a property is invalid, however.
2008-08-31 15:26:46 +00:00
rubidium
6b86de13d6
(svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments!
2008-08-31 11:51:09 +00:00
rubidium
ea1f180a55
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-31 10:50:05 +00:00
peter1138
46e23b8f99
(svn r14198) -Codechange: [NewGRF] Simplify handling of common vehicle properties.
2008-08-31 09:52:47 +00:00
rubidium
c3a9653c89
(svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
...
-Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible.
-Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics.
-Feature: allow people to create their own base graphics easily and without requiring code changes.
2008-08-31 08:46:43 +00:00
rubidium
1afa473d0f
(svn r14196) -Codechange: make the searching for files with a specific extension extendable.
2008-08-31 08:38:30 +00:00
rubidium
0b88f0cf54
(svn r14193) -Fix (r14191): don't put an unsigned 0x80 in a signed int8 as that's not what you want.
2008-08-30 12:14:56 +00:00
rubidium
d40145008e
(svn r14192) -Fix [FS#2236]: properly update the current timetable's travel/wait times instead of only doing it for one vehicle in the shared order chain and only when some bit has not been set (PhilSophus)
2008-08-30 10:26:16 +00:00
rubidium
d3d34d2aac
(svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).
...
-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
2008-08-30 09:46:52 +00:00
rubidium
e06c21426e
(svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended.
2008-08-30 09:43:07 +00:00
peter1138
bfcd6e9772
(svn r14189) -Fix (r14188): Accidental line removal
2008-08-30 09:01:05 +00:00
peter1138
2b67c01a24
(svn r14188) -Codechange: [NewGRF] Cargo type of 0xFF is specified to be 'use first refittable cargo', so don't issue a warning for it.
2008-08-30 08:59:55 +00:00
rubidium
468655c916
(svn r14187) -Fix (r14104): silence warning when compiling without networking enabled.
2008-08-29 21:11:28 +00:00
rubidium
ead8de78ea
(svn r14186) -Fix [FS#2255]: small typo (Jafinto)
2008-08-29 21:07:26 +00:00
rubidium
7c002c14cc
(svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible.
2008-08-29 21:06:49 +00:00
peter1138
4c56b827e5
(svn r14184) -Codechange: [NewGRF] Since our NewGRF handling is better than it used to be, disable a NewGRF if unexpected sprites are reached.
2008-08-29 20:03:51 +00:00
peter1138
80c9ecedcd
(svn r14182) -Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early.
2008-08-28 19:53:25 +00:00
peter1138
38ee1c8d49
(svn r14181) -Fix (r14175): Rail types are not road types
2008-08-28 19:22:03 +00:00
glx
e598fa4701
(svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list).
2008-08-27 21:30:20 +00:00
frosch
ef60a4cf35
(svn r14179) -Fix (r1): RemoveOrderFromAllVehicles() did not mark enough windows dirty.
2008-08-27 19:54:41 +00:00
frosch
7ce75961b4
(svn r14178) -Fix [FS#2256]: Do not evaluate GetDestination() for go-to-nearest-depot-orders.
2008-08-27 19:21:01 +00:00
smatz
361292bd23
(svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet
2008-08-25 22:10:47 +00:00
smatz
e840aabf8d
(svn r14176) -Fix: better 'safe' than ... 'save'
2008-08-25 20:54:34 +00:00
peter1138
759fb5937d
(svn r14175) -Codechange: Rewrite the main toolbars to use the standard dropdown menu system, allowing flexible menus instead of fixed string lists, and removing code duplication.
2008-08-25 20:42:54 +00:00
smatz
c9bef19043
(svn r14174) -Fix: since now, we are 'losing' things, not 'loosing'
2008-08-25 20:10:45 +00:00
peter1138
b60ff46806
(svn r14173) -Fix: Don't check for rail type and catenary on aqueducts.
2008-08-25 18:14:19 +00:00
belugas
23a9938317
(svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.
...
In other words, one can now specifies a 16 bits cost multiplier.
2008-08-25 17:16:27 +00:00
belugas
bc7a87613f
(svn r14171) -Codechange: Make the test for HQ a bit lighter.
...
The presence of a HQ is only dictated by the 7th bit been set.
The rest of the data is related to the size and the type.
2008-08-25 16:41:00 +00:00
peter1138
6a742cef5f
(svn r14170) -Codechange: Missing enum for road type iteration.
2008-08-25 16:20:26 +00:00
belugas
08898f69be
(svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation
2008-08-25 16:10:34 +00:00
peter1138
cf52b683c0
(svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified.
2008-08-25 16:07:10 +00:00
rubidium
621a9b647a
(svn r14167) -Fix: items in some ini-groups got duplicated on save.
2008-08-25 15:15:41 +00:00
matthijs
262ddecfc5
(svn r14166) -Doc: Change "forbid 90 degree turn" patch option description to say "not with NTP" instead of "requires NPF" (which has been untrue since the introduction of YAPF). Thanks to FauxFaux for pointing this out.
2008-08-25 12:47:17 +00:00
peter1138
c76455be02
(svn r14165) -Codechange: When over-building rail with a different type, don't convert the rail if the engines of the new type are powered on the existing type.
2008-08-25 10:58:24 +00:00
rubidium
411c65e755
(svn r14164) -Codechange: simplify and unify the addition of ini items with value when not loading an ini file.
...
-Fix: wrong insertion management causing leaks.
2008-08-25 06:35:28 +00:00
peter1138
6e4d8a273e
(svn r14162) -Fix: Allow rail type conversion if the rail type cost multipliers are the same.
2008-08-24 23:29:58 +00:00
rubidium
b2d6254b44
(svn r14161) -Codechange: allow inis to be loaded from tars.
2008-08-24 23:12:10 +00:00
peter1138
b45ced35ee
(svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct.
2008-08-24 23:10:23 +00:00
peter1138
2f80a277eb
(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
2008-08-24 23:00:11 +00:00
peter1138
ff07598ce2
(svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs.
2008-08-24 21:31:24 +00:00
smatz
0d4e7f9537
(svn r14156) -Fix (r14153): missing/wrong comments
2008-08-24 17:29:57 +00:00
glx
4a4549405c
(svn r14155) -Fix (r14154): wrong comments
2008-08-24 17:18:05 +00:00
glx
2ddb86eea5
(svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms
2008-08-24 17:02:21 +00:00
rubidium
ae32d158cb
(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.
2008-08-24 13:50:31 +00:00
rubidium
a4854aaddc
(svn r14152) -Fix (r14146): Apple decided to use a name I wanted to use... thus making compilation fail on OSX (planetmaker)
2008-08-24 09:48:21 +00:00
rubidium
8c73b5c42d
(svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette.
2008-08-24 08:41:38 +00:00
belugas
14bc2b5d4f
(svn r14150) -Add: Add the count of trains using the current waypoint in the vehicle list window's caption
2008-08-24 01:39:56 +00:00
frosch
6aeeeb9012
(svn r14149) -Fix: When selling the front engine of a train consist with another engine at the second position, not all 'important' data was copied to the new head.
2008-08-23 23:31:27 +00:00
frosch
13d938ae3d
(svn r14148) -Fix (r14096) [FS#2239]: Orders were freed while they were still shared by other vehicles.
2008-08-23 23:15:04 +00:00
frosch
32e1fd55c5
(svn r14147) -Codechange: Allow passing 'const Vehicle *' to GetNextUnit() and GetPrevUnit().
2008-08-23 22:31:36 +00:00
rubidium
200f405706
(svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs.
2008-08-23 20:16:54 +00:00
frosch
5de17da66e
(svn r14145) -Fix (r14135, r14141): When savegame conversion cannot determine a owner of a greyed waypoint, ensure that the owner is assigned when the waypoint is rebuild.
2008-08-23 19:14:27 +00:00
peter1138
2e28978264
(svn r14144) -Fix (r8826): Incorrect cargo weights
2008-08-23 18:05:52 +00:00
frosch
a813b6a854
(svn r14143) -Codechange: Recenter viewport of waypoint window when relocating the waypoint.
2008-08-23 16:34:05 +00:00
frosch
857df41a6d
(svn r14142) -Codechange: Disallow taking over greyed waypoints of other companies.
2008-08-23 16:26:01 +00:00
frosch
4e0faffc72
(svn r14141) -Fix (r14135): Savegame conversion could assign a recently removed waypoint (grey sign) to a wrong owner.
2008-08-23 16:16:37 +00:00
frosch
63f4726e06
(svn r14140) -Fix (r14135): Enum in saveload-table.
2008-08-23 16:13:31 +00:00
frosch
5216223f45
(svn r14139) -Fix (r12044): GetSlopeZ() gets a virtual coordinate, not a tile.
2008-08-23 16:09:06 +00:00
smatz
0816d2cf20
(svn r14138) -Fix (r12863): dark blue wasn't considered as similiar to blue
2008-08-23 12:29:41 +00:00
celestar
7e8c7dfcbf
(svn r14137) -Codechange: Remove a now unused member of CargoPacket
2008-08-23 09:31:53 +00:00
belugas
7dc212edeb
(svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed from rail underneath it.
2008-08-23 02:15:46 +00:00
frosch
f625ecbeba
(svn r14134) -Fix (r12667, r13579) [FS#2245]: Update 'current_order' when changing 'cur_order_index'.
2008-08-23 00:32:01 +00:00
rubidium
ca27155a52
(svn r14133) -Fix [FS#2249]: close the 'manage vehicles' dropdown once the number of vehicles in the list reaches 0.
2008-08-22 22:54:38 +00:00
frosch
12f38e56df
(svn r14132) -Fix (r14039): Only reserve a path on leaving a station if the current block really is a PBS block. (michi_cc)
2008-08-22 22:48:12 +00:00
frosch
9fe035f8e8
(svn r14131) -Fix (r13952) [FS#2250]: The reservation of adjacent stations was sometimes not freed correctly. (michi_cc)
2008-08-22 22:42:21 +00:00
frosch
f2623e7c09
(svn r14130) -Fix (r13961) [FS#2248]: Clear the stuck state of a train that is reversing with the first vehicle inside a depot. (michi_cc)
2008-08-22 22:28:26 +00:00
frosch
b03fcdf323
(svn r14129) -Fix (r13935) [FS#2247]: Signal state for PBS signals was not updated when cycling the signal side. Patch by michi_cc with a small addition from me.
2008-08-22 22:19:23 +00:00
belugas
bb3c205e05
(svn r14127) -Feature(ette): Give the the player's colour to the waypoint window been shown
2008-08-22 01:14:25 +00:00
frosch
0e2736399e
(svn r14126) -Codechange (r14125): Add some tabs.
2008-08-21 20:45:52 +00:00
frosch
447d0930f7
(svn r14125) -Fix [FS#2237]: Segfault when autoreplace failed very early.
...
Note: Proper indenting in next commit.
2008-08-21 20:42:45 +00:00
belugas
f520a702e0
(svn r14123) -Codechange: a few magical number to sprite name conversions
2008-08-21 19:12:24 +00:00
translators
90176a547a
(svn r14120) -Update: WebTranslator2 update to 2008-08-21 10:46:06
...
brazilian_portuguese - 33 fixed by tucalipe (33)
czech - 1 fixed, 11 changed by Hadez (12)
dutch - 4 fixed by habell (4)
estonian - 25 fixed, 111 changed by kristjans (135), vermon (1)
french - 3 fixed, 8 changed by glx (9), belugas (2)
galician - 78 fixed by Condex (78)
german - 13 fixed by dih (13)
korean - 20 fixed, 1 changed by leejaeuk5 (21)
simplified_chinese - 51 fixed, 1 changed by ww9980 (52)
slovenian - 54 fixed by Necrolyte (54)
ukrainian - 3 fixed by mad (3)
2008-08-21 08:46:25 +00:00
belugas
8385653118
(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing
2008-08-21 02:19:31 +00:00
belugas
d3dd9c6566
(svn r14118) -Fix(r14104): typos creeping like bugs
2008-08-21 01:42:21 +00:00
frosch
ff749ab09d
(svn r14114) -Fix [FS#2242]: Sign list was not properly updated on removal of signs.
2008-08-20 19:53:42 +00:00
frosch
f42fab0dec
(svn r14113) -Codechange: Language updates for r14112.
2008-08-20 19:33:06 +00:00
frosch
7c5d237447
(svn r14112) -Fix (r13715)[FS#2232]: Action B custom messages with parameteers were broken.
2008-08-20 19:31:35 +00:00
frosch
d43a475650
(svn r14111) -Fix (r2572): [strgen] Changing order of parameters {X:...} did not work for strings including some {StringY}.
2008-08-20 19:10:42 +00:00
glx
ef0458c739
(svn r14110) -Fix: desyncs due to bubbles in toyland
2008-08-20 16:51:08 +00:00
smatz
5d5cb04297
(svn r14109) -Fix (r14107): marking reserved tile dirty is needed for waypoints and stations even when patch option is disabled
2008-08-20 16:06:27 +00:00
belugas
80ca96d469
(svn r14108) -Fix(r14104): Give a more consistent naming of the new gui file
2008-08-20 15:27:22 +00:00
smatz
999994bcf3
(svn r14107) -Codechange: marking reserved tile dirty twice (and even when patch option is off) is not needed
2008-08-20 15:21:03 +00:00
belugas
578833ef01
(svn r14106) -Fix(r14104): A string too much been commited
2008-08-20 13:32:57 +00:00
belugas
f2f2bcf23c
(svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.
...
Provided by ln
I've added a little fix on currency.cpp too, why not :)
2008-08-20 01:38:12 +00:00
belugas
77ee099212
(svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
...
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
2008-08-20 01:29:05 +00:00
smatz
bd6ef958e7
(svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation
2008-08-19 10:55:33 +00:00
rubidium
aa80c3a96c
(svn r14102) -Fix [FS#1986]: make NewGRF action 0x06's changes persistent over the several loading stages.
2008-08-19 09:08:45 +00:00
rubidium
c98c3122b5
(svn r14101) -Cleanup (r14083): leftover friend.
2008-08-18 21:44:03 +00:00
belugas
1500ed3665
(svn r14099) -Codechange: Welcome back, Celestar.
...
While at it, an alphabetic error been fixed
2008-08-18 17:07:27 +00:00
celestar
23a48b2815
(svn r14098) -Fix: Make the 'Transfer Credit' display aware of the entire consist, not only the first vehicle
2008-08-18 16:52:40 +00:00
rubidium
99efe9aaae
(svn r14097) -Fix [FS#2085]: one couldn't get a list of vehicles sharing an order when the number of orders was 0; you could see that the vehicles had a shared order though.
2008-08-17 21:07:09 +00:00
rubidium
abd9f74871
(svn r14096) -Codechange: merge the shared order's vehicle list management to a single location.
2008-08-17 19:56:17 +00:00
frosch
ca3f1f6406
(svn r14095) -Fix (r14076): Trains shall not stop instantly.
2008-08-17 18:48:18 +00:00
glx
fbd2db34e6
(svn r14094) -Revert (r14071): caused more problems than it solved
2008-08-17 15:03:54 +00:00
rubidium
2f5caa63f8
(svn r14093) -Fix [FS#2230]: don't flood a NewGRF industry when it implicitly tells that it wants to be build on water (land shape flags bit 5).
2008-08-17 13:56:11 +00:00
rubidium
2f7c20eccd
(svn r14092) -Cleanup (r14083): dead code, i.e. unused function.
2008-08-17 11:52:06 +00:00
frosch
11a20379f3
(svn r14091) -Cleanup (r14083): Remove superfluous '#include's.
2008-08-17 11:49:35 +00:00
rubidium
3663965f3e
(svn r14090) -Fix: the vehicle window of articulated road vehicles would show the clone/refit button when the vehicle was not completely stopped in the depot.
2008-08-17 11:12:56 +00:00
rubidium
b6b9cd9d51
(svn r14089) -Fix [FS#2219]: trains not being able to find a route to a depot when the front is already in the depot.
2008-08-17 11:04:37 +00:00
rubidium
9648bf3019
(svn r14087) -Fix [FS#2228]: flawed parsing of words (as in 2 bytes) in GRF strings due to sign extension (minime)
2008-08-16 21:48:28 +00:00
smatz
25a1c59abb
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
2008-08-16 18:01:23 +00:00
frosch
9751fbe4dc
(svn r14085) -Cleanup (r14083): Remove no longer used functions.
2008-08-16 14:15:32 +00:00
frosch
f3e7b77dcb
(svn r14084) -Codechange: Language updates for r14083.
2008-08-16 14:04:29 +00:00
frosch
f7826f8a37
(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel.
2008-08-16 14:02:20 +00:00
frosch
56459cab81
(svn r14082) -Codechange: Make 'GetNextUnit()' more fool-proof wrt. real dualheads.
2008-08-16 13:52:44 +00:00
glx
c10691faff
(svn r14080) -Fix (r14052): assert triggered when drawing chat window with 32bpp-anim blitter (backup buffer was too small)
2008-08-15 22:06:58 +00:00
peter1138
9d0e1b635a
(svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is.
2008-08-15 17:54:43 +00:00
frosch
844a83ed58
(svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE.
2008-08-15 13:57:43 +00:00
rubidium
20ee6f1158
(svn r14071) -Fix [FS#2057]: the screen wouldn't be centered on Windows multimonitor systems if the first monitor is right of the second one.
2008-08-13 19:09:27 +00:00
rubidium
d986380169
(svn r14069) -Fix: silence MSVC 64-bits compile warnings.
2008-08-13 14:52:54 +00:00
rubidium
e5bdcfaf9e
(svn r14068) -Fix (r14056): MSVC doesn't support typeof.
2008-08-13 14:26:20 +00:00
rubidium
2d94337e1a
(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in the command. Checking for the length in pixels is impossible because that differs per client.
2008-08-13 06:22:04 +00:00
rubidium
97c184f8f8
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
2008-08-13 06:05:01 +00:00
rubidium
08e7da71f5
(svn r14062) -Fix [FS#2226]: division by 0 in newai.
2008-08-13 05:12:36 +00:00
belugas
c773d33cc3
(svn r14061) -Codechange: constification and move a declaration more logically
2008-08-13 02:48:50 +00:00
belugas
931f16cfa8
(svn r14060) -Codechange: Replace numbers with Colours enum on Gen world gui.
...
Note that some WWT_TEXT widgets have received a COLOUR_x value.
It is not a valid colour a per say. THe strings been displayed there do have their own colours encoded.
IT is currently just for the sake of ease of writing, as TextColour and Colours are not really related.
2008-08-13 02:43:42 +00:00
belugas
7564dbd32f
(svn r14059) -Fix(r13872): Wrong comments in enum. Dear old copy/paste...
2008-08-13 01:48:58 +00:00
rubidium
0b9be84d46
(svn r14058) -Fix [FS#2224]: NewGRF callback 23 didn't use the NewGRF compatible text stack (minime)
2008-08-12 22:14:57 +00:00
rubidium
d1073ba574
(svn r14057) -Fix: NewGRF text stack's "push word" didn't move the data around properly (minime)
2008-08-12 22:12:14 +00:00
rubidium
fe87fa8205
(svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold.
2008-08-12 20:49:27 +00:00
rubidium
203b5eed27
(svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit.
2008-08-12 20:31:49 +00:00
rubidium
4ae352d288
(svn r14054) -Fix (rthebeginning): long strings in the edit box would cause OpenTTD to stop drawing the string. This is especially noticable with low resolutions and the chat input box.
2008-08-12 19:29:10 +00:00
rubidium
72c154fd0f
(svn r14052) -Codechange: make the size of the chat message "box" configurable and increase the default size slightly so it can hold the longest chat messages.
2008-08-12 12:23:05 +00:00
rubidium
a3910ced70
(svn r14051) -Codechange: enumify the DrawString buffer length.
2008-08-12 11:21:37 +00:00
belugas
61007078b6
(svn r14049) -Codechange: rename a variable to a somewhat more descriptive one. And constify it too.
2008-08-12 02:20:39 +00:00
rubidium
c04ab6628b
(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks properly this time. (michi_cc)
2008-08-11 22:58:30 +00:00
rubidium
d0c1a989a4
(svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
2008-08-11 22:45:11 +00:00
rubidium
6995365535
(svn r14046) -Codechange: make the size of querystring "widgets" more configurable.
2008-08-11 22:08:56 +00:00
rubidium
3b4c3a3df6
(svn r14045) -Codechange: move the network's limitation to chat messages to a more logical location and give it a more consistent name.
2008-08-11 22:07:26 +00:00
belugas
5f52c44c14
(svn r14043) -Codechange: Rename a variable to a more obvious name. And a few comments added too.
2008-08-11 20:06:57 +00:00
belugas
7f5173bf94
(svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array.
2008-08-11 18:30:52 +00:00
glx
16aac30c66
(svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands
2008-08-11 17:15:31 +00:00
belugas
ebe9ae2b17
(svn r14040) -Codechange:Remove a hard coded value that is not even representative,
...
since captions have their own encoded colours in string.
2008-08-11 16:31:36 +00:00
rubidium
8726c2fd99
(svn r14039) -Fix [FS#2217]: reversing an overlength train at a station would try to find a route out and sometimes reset the unload counter making it wait 2.5 years before departing instead of waiting until the train would actually leave the station (michi_cc)
2008-08-10 21:56:47 +00:00
rubidium
2086f77dab
(svn r14038) -Fix [FS#2211] (r13731): company limit was not properly enforced for CMD_PLAYER_CTRL.
2008-08-10 19:00:33 +00:00
frosch
4eae917c1c
(svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for replacement which CmdSetAutoReplace() did not accept.
2008-08-10 15:02:21 +00:00
rubidium
b1ed3bad58
(svn r14036) -Fix [FS#2197,FS#2198]: trains crashing into eachother when signals are changed (michi_cc)
2008-08-10 13:37:09 +00:00
translators
1c04049f1c
(svn r14035) -Update: WebTranslator2 update to 2008-08-10 11:54:57
...
bulgarian - 4 fixed by thetitan (4)
croatian - 15 fixed by knovak (15)
czech - 47 fixed, 29 changed by Hadez (76)
dutch - 29 fixed by habell (29)
estonian - 8 fixed, 63 changed by kristjans (71)
french - 29 fixed, 1 changed by glx (30)
italian - 29 fixed, 6 changed by lorenzodv (35)
russian - 52 fixed by Smoky555 (52)
slovak - 2 fixed by lengyel (2)
spanish - 35 fixed by eusebio (35)
ukrainian - 30 fixed by mad (30)
2008-08-10 09:55:26 +00:00
peter1138
8531a1f430
(svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi)
2008-08-09 18:46:51 +00:00
peter1138
6ad76f4d1c
(svn r14033) -Fix (r13938) [FS#2209]: Wrong offset in signal GUI. (Eddi)
2008-08-09 18:42:37 +00:00
bjarni
fbef6535a5
(svn r14032) -Fix (r13584): [OSX] changed the condition for selecting 8 or 32 bpp blitter by default
...
Now we will pick 32 bpp if no 8 bpp fullscreen resolutions are available on the main display (the one with the dock)
2008-08-09 17:56:31 +00:00
frosch
731685cf64
(svn r14031) -Fix (r13850): Determining the refit cargo did not work, when the old vehicle did not carry anything but the new one did.
2008-08-09 16:42:55 +00:00
frosch
92afb4d9bd
(svn r14030) -Fix (r14027): true != false, also rename the parameter to make 'true' and 'false' more intuitively useable.
2008-08-09 11:04:42 +00:00
belugas
815f08982a
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
2008-08-09 03:30:15 +00:00
belugas
9e883ca48f
(svn r14028) -Fix(r14027): Wrong value for the multiline_skipping. Just the other way around.
2008-08-09 02:54:06 +00:00
belugas
e3ea3c8fbe
(svn r14027) -Codechange: Document a bit the DoDrawString function while removing yet som more magic numbers and one "false" colour
2008-08-09 02:11:46 +00:00
glx
788b625553
(svn r14026) -Cleanup (r13995, r14004): trailing whitespaces
2008-08-08 15:49:16 +00:00
smatz
cc3685ffaf
(svn r14024) -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. Honor that in penalty calculations. (michi_cc)
2008-08-08 15:02:21 +00:00
smatz
872cefeb27
(svn r14023) -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a signal on it, is could be falsely seen as a valid destination. (michi_cc)
2008-08-08 14:58:27 +00:00
smatz
b595d59497
(svn r14022) -Fix (r13957) [YAPP]: Removing station tiles could produce stale reservations, too. (michi_cc)
2008-08-08 13:53:06 +00:00
smatz
5229e45363
(svn r14021) -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track tiles could produce stale reservations. (michi_cc)
2008-08-08 13:29:18 +00:00
rubidium
de629dd62f
(svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for free path (michi_cc).
2008-08-08 09:31:50 +00:00
peter1138
2cb555ed11
(svn r14018) -Fix (r14017): Typos prevented compilation.
2008-08-08 06:02:06 +00:00
belugas
ef22740ccb
(svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button
2008-08-08 03:37:00 +00:00
belugas
a2f590aeec
(svn r14016) -Codechange: Remove some magical numbers
2008-08-08 02:28:28 +00:00
peter1138
3c2f69bf62
(svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released.
2008-08-07 18:26:13 +00:00
peter1138
6bae045b4a
(svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item.
2008-08-07 18:11:09 +00:00
rubidium
bf65e7e8f9
(svn r14013) -Fix [FS#2202]: do not allow extending signals by dragging in any direction other than the track direction.
2008-08-07 13:07:51 +00:00
peter1138
a993a29b63
(svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals.
2008-08-07 07:48:57 +00:00
belugas
8c7a450e98
(svn r14011) -Codechange: not required to define an enum which was just the representation of another.
...
If you want to customize it more easily, why not a simple const of said enum value?
2008-08-07 01:28:27 +00:00
peter1138
aff313cd4b
(svn r14009) -Cleanup (r14008): Bad whitespace...
2008-08-06 20:14:21 +00:00
peter1138
1e5175451a
(svn r14008) -Fix (r14004): NewGRF preset drop down list not working
2008-08-06 20:12:42 +00:00
frosch
acf224683d
(svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside.
2008-08-06 19:00:31 +00:00
frosch
cffd5d17de
(svn r14006) -Codechange: Deduplicate some code.
2008-08-06 18:57:37 +00:00
smatz
0eade71bde
(svn r14005) -Codechange: minor coding style fix
2008-08-06 15:52:04 +00:00
peter1138
98d3d86004
(svn r14004) -Codechange: Clean of drop down lists.
...
Move empty item drawing to base ListItem Draw() function.
Remove String() from base class.
Pass correct width to Draw().
2008-08-06 07:10:40 +00:00
belugas
85c84c9d86
(svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls
2008-08-06 04:01:07 +00:00
smatz
158d4acbba
(svn r14001) -Fix (r13989): reading wrong variable, train crash on bridge crashes game
2008-08-05 13:25:49 +00:00
peter1138
ddd8b73f0a
(svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum
2008-08-05 00:17:56 +00:00
rubidium
fe6111d6f2
(svn r13999) -Fix [FS#2190]: crash when the AI tries to find the depot of an airport that doesn't have a depot.
2008-08-04 22:31:49 +00:00
rubidium
0ebcac669e
(svn r13997) -Fix (r13988): in some cases no broadcast addresses would be found.
2008-08-04 19:07:37 +00:00
frosch
96b9fba333
(svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class.
2008-08-04 18:54:19 +00:00
rubidium
b1eaf763e1
(svn r13995) -Fix (r13988): some warnings of the compile farm.
2008-08-04 18:27:54 +00:00
belugas
5c3a18fa90
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
2008-08-04 17:27:06 +00:00
belugas
d21f73658c
(svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table
2008-08-04 17:12:23 +00:00
rubidium
6c5f703cf0
(svn r13992) -Fix [FS#2189]: the dedicated console removed any character that was not a printable ASCII character instead. Now it allows UTF8 formated strings too.
2008-08-04 15:07:17 +00:00
smatz
8fba4705f0
(svn r13991) -Codechange: draw text effects after all other signs
2008-08-04 14:40:50 +00:00
glx
0f10939029
(svn r13990) -Fix (r13988): win32 compilation failed
2008-08-04 13:54:10 +00:00
rubidium
7a50ae28d5
(svn r13989) -Fix [FS#2186] (r13953): YAPP track reservation for crashed trains was broken for depots and wormholes (michi_cc).
2008-08-04 13:15:15 +00:00
rubidium
c88cb1daa0
(svn r13988) -Codechange: move the to IP resolving functions to a separate file.
2008-08-04 12:56:38 +00:00
peter1138
a822e259c5
(svn r13987) -Codechange: Resize small map legend dynamically on window resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space.
2008-08-04 05:59:28 +00:00
smatz
dcc10a3b8f
(svn r13985) -Fix (r13944): gcc 2.95 compilation
2008-08-03 20:50:12 +00:00
peter1138
63cd8fc24f
(svn r13984) -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height.
2008-08-03 20:09:35 +00:00
frosch
628723d45c
(svn r13983) -Fix (r13953) [YAPP]: Crashed trains can be on different trackbits. Make sure there is still a track reservation when one vehicle is cleaned up.
2008-08-03 19:04:11 +00:00
peter1138
1f4b89ff4b
(svn r13982) -Fix (r13981): And then not enough was cleared...
2008-08-03 18:56:44 +00:00
peter1138
e434323d38
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
2008-08-03 18:51:13 +00:00
peter1138
e1451e1124
(svn r13980) -Codechange: Turn small map legend while loop into a for-loop.
2008-08-03 18:18:36 +00:00
peter1138
29ba35df7b
(svn r13979) -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area.
2008-08-03 18:00:28 +00:00
peter1138
65f26bb737
(svn r13978) -Fix: Incorrect widget size.
2008-08-03 17:36:39 +00:00
peter1138
92b63e38f0
(svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets.
2008-08-03 17:35:08 +00:00
frosch
b92c4cfc92
(svn r13976) -Fix (r13953) [YAPP]: A crashing train could sometimes free the reservation of another train. (assisted by michi_cc)
2008-08-03 17:16:39 +00:00
peter1138
a5453e43b1
(svn r13975) -Codechange: Replace some globals used by the small map window with static members of the window.
2008-08-03 14:58:26 +00:00
frosch
983e297ff0
(svn r13974) -Fix [YAPP]: A train crash could lead to stale reservations. (michi_cc)
2008-08-03 14:16:57 +00:00
smatz
9a1958be91
(svn r13973) -Codechange [YAPP]: Improve the behavior when changing signals to not cause stale reservations. (michi_cc)
2008-08-03 11:28:35 +00:00
rubidium
6639c496c3
(svn r13972) -Fix [FS#2180]: the timetable's "Clear Time" button didn't have any effect.
2008-08-03 08:25:26 +00:00
rubidium
13dee60ae1
(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)
2008-08-03 08:20:04 +00:00
belugas
96892e081a
(svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
...
Mostly forgotten ones.
2008-08-03 02:18:45 +00:00
glx
87c3599895
(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning
2008-08-02 23:30:50 +00:00
rubidium
cc48f3d6f9
(svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc)
2008-08-02 22:57:47 +00:00
rubidium
bba8ff290e
(svn r13966) -Codechange [YAPP]: Bar level crossings upon path reservation. (michi_cc)
2008-08-02 22:57:18 +00:00
rubidium
88b1ee0b43
(svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS reservation state). (michi_cc)
2008-08-02 22:57:03 +00:00
rubidium
1e2c61360b
(svn r13964) -Codechange [YAPP]: Check if a train needs servicing when reserving the next path segment. (michi_cc)
2008-08-02 22:56:50 +00:00
rubidium
47a5faf874
(svn r13963) -Codechange [YAPP]: Reserve a track when entering a PBS block through a conventional signal. (michi_cc)
2008-08-02 22:56:35 +00:00
rubidium
5c9bb1bbd6
(svn r13962) -Codechange [YAPP]: Do not reverse in front of red signals when inside a PBS block and reversing of stuck trains is disabled. (michi_cc)
2008-08-02 22:56:21 +00:00
rubidium
db637a2b7f
(svn r13961) -Add [YAPP]: Handle train reversing. (michi_cc)
2008-08-02 22:56:07 +00:00
rubidium
9e91bb4b33
(svn r13960) -Codechange [YAPP]: Reserve a path when exiting a depot into a PBS block. (michi_cc)
2008-08-02 22:55:52 +00:00
rubidium
4339948b1f
(svn r13959) -Codechange [YAPP]: Try to extend a train reservation as far as possible and only call into the pathfinder on track choices. (michi_cc)
2008-08-02 22:55:38 +00:00
rubidium
16ab0d84bb
(svn r13958) -Add [YAPP]: Implement look-ahead for trains so they extend their reservation before reaching the end. (michi_cc)
2008-08-02 22:55:23 +00:00
rubidium
753da05bc6
(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc)
2008-08-02 22:55:08 +00:00
rubidium
bce6f7b41c
(svn r13956) -Add [YAPP]: Function for getting the train holding a reserved path. (michi_cc)
2008-08-02 22:54:53 +00:00
rubidium
bd0a420744
(svn r13955) -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc)
2008-08-02 22:54:38 +00:00
rubidium
e9b62103e4
(svn r13954) -Codechange [YAPP]: On reserving a path that ends at the destination, the path could end at a non-safe tile. In this case, extend the reservation based on the next vehicle orders. (michi_cc)
2008-08-02 22:54:23 +00:00
rubidium
d06fb949ff
(svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc)
2008-08-02 22:54:07 +00:00
rubidium
10d8fb6456
(svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc)
2008-08-02 22:53:51 +00:00
rubidium
33898d49bb
(svn r13951) -Codechange [YAPP]: A train leaving a tile should unreserve the track it came from if it was reserved. (michi_cc)
2008-08-02 22:53:37 +00:00
rubidium
e9c33fb288
(svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc)
2008-08-02 22:53:21 +00:00
rubidium
0dfaa88c1e
(svn r13949) -Codechange [YAPP]: Declare the functions for processing conditional orders as non-static. (michi_cc)
2008-08-02 22:53:05 +00:00
rubidium
a706766690
(svn r13948) -Add [YAPP]: Extend NPF with a function to find a safe tile and reserve a path. (michi_cc)
2008-08-02 22:52:50 +00:00
rubidium
4f5f3846a0
(svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc)
2008-08-02 22:52:36 +00:00
rubidium
cd041b6944
(svn r13946) -Add [YAPP]: Implement track reserving for NPF as well. (michi_cc)
2008-08-02 22:52:22 +00:00
rubidium
773f19da05
(svn r13945) -Codechange [YAPP]: Extend CFollowTrackT to not require a Vehicle when following rail. (michi_cc)
2008-08-02 22:52:08 +00:00
rubidium
53cc7e8a5c
(svn r13944) -Add [YAPP]: Add YAPF provider to find a safe tile and reserve a path. (michi_cc)
2008-08-02 22:51:53 +00:00
rubidium
2b153abd93
(svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized more in YAPF. This should help with spread out stations. (michi_cc)
2008-08-02 22:51:38 +00:00
rubidium
ecc509195a
(svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc)
2008-08-02 22:51:23 +00:00
rubidium
8c7983727e
(svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. (michi_cc)
2008-08-02 22:51:07 +00:00
rubidium
abc46b1e86
(svn r13940) -Add [YAPP]: YAPF is now able to reserve the found path. (michi_cc)
2008-08-02 22:50:52 +00:00
rubidium
c91c12adde
(svn r13939) -Add [YAPP]: Extend YAPF with the possibility to override the railtype info of the vehicle. (michi_cc)
2008-08-02 22:50:38 +00:00
rubidium
908591b40a
(svn r13938) -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc)
2008-08-02 22:50:22 +00:00
rubidium
3e055b32bf
(svn r13937) -Codechange [YAPP]: Don't cycle through two-sided PBS signals during build. (michi_cc)
2008-08-02 22:50:04 +00:00
rubidium
07a43863c4
(svn r13936) -Codechange [YAPP]: Enable the auto-signal tool to build PBS signals and honor the default signal type. (michi_cc)
2008-08-02 22:49:39 +00:00
rubidium
60006ad24c
(svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc)
2008-08-02 22:49:23 +00:00
rubidium
5c55922a06
(svn r13934) -Codechange [YAPP]: Handle through signals in the pathfinders. (michi_cc)
2008-08-02 22:49:10 +00:00
rubidium
d6645818b4
(svn r13933) -Codechange [YAPP]: Handle through and PBS signals correctly in the signal code. (michi_cc)
2008-08-02 22:48:57 +00:00
rubidium
fe4f23dba2
(svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc)
2008-08-02 22:48:43 +00:00
rubidium
ad4fdb76fc
(svn r13931) -Codechange [YAPP]: Retain the reservation state when building/removing waypoints or level crossings. (michi_cc)
2008-08-02 22:48:27 +00:00
rubidium
9295bd3f7c
(svn r13930) -Codechange [YAPP]: Clear track reservation when removing a rail track. (michi_cc)
2008-08-02 22:48:14 +00:00
rubidium
f6555cf6f8
(svn r13929) -Codechange [YAPP]: Reserving and unreserving of single tracks is now possible. (michi_cc)
2008-08-02 22:48:01 +00:00
rubidium
2bb8825538
(svn r13928) -Add [YAPP]: Function for getting the path reservation state of any tile. (michi_cc)
2008-08-02 22:47:48 +00:00
rubidium
df99103a31
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
2008-08-02 22:47:34 +00:00
rubidium
ec7cc49825
(svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc)
2008-08-02 22:47:20 +00:00
frosch
770d293788
(svn r13923) -Feature: Show [total-]cargo info in depot when [ctrl-]right-clicking on vehicle.
2008-08-02 12:43:45 +00:00
frosch
0fc769bb6c
(svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window.
2008-08-02 11:26:25 +00:00
peter1138
b92520ddfd
(svn r13921) -Codechange (r11473): Use the correct enum...
2008-08-02 10:17:45 +00:00
belugas
d0d285ed57
(svn r13920) -Codechange: uniformise the definition with the declaration of DrawFrameRect
2008-08-02 02:50:40 +00:00
belugas
c5cecdd2e3
(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
2008-08-02 02:28:17 +00:00
rubidium
d67ef3573c
(svn r13917) -Fix [FS#2178]: wrong tooltip for the industry directory's list.
2008-08-01 23:08:11 +00:00
bjarni
862ba19279
(svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems
2008-08-01 17:43:11 +00:00
rubidium
ad36ea6b29
(svn r13912) -Codechange: remove some casts by returning the proper type instead of void*.
2008-08-01 15:07:31 +00:00
smatz
7c0b1172e1
(svn r13911) -Fix (r13806): do not consider crashed train as waiting at signal, v->direction doesn't have to match track anyway
2008-08-01 13:25:19 +00:00
rubidium
c5a4e90338
(svn r13910) -Document: string drawing related functions and types (Alberth)
2008-08-01 09:34:34 +00:00
rubidium
47592b9288
(svn r13909) -Codechange: use the same type before CmdBuildRailStation as it used in the command itself (Alberth)
2008-08-01 09:26:39 +00:00
rubidium
62c94f1b12
(svn r13908) -Codechange: merge two tables into a single one (Alberth)
2008-08-01 09:17:27 +00:00
belugas
69671d3aef
(svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage
2008-08-01 03:43:53 +00:00
translators
325ef293fd
(svn r13905) -Update: WebTranslator2 update to 2008-08-01 02:27:37
...
brazilian_portuguese - 22 fixed by tucalipe (22)
dutch - 9 fixed by habell (9)
estonian - 4 fixed by kristjans (4)
french - 5 fixed, 1 changed by glx (6)
galician - 105 fixed, 206 changed by Condex (311)
italian - 5 fixed, 2 changed by lorenzodv (7)
korean - 15 fixed by leejaeuk5 (15)
portuguese - 48 fixed by supra90 (48)
slovak - 30 fixed by lengyel (30)
spanish - 9 fixed by eusebio (9)
ukrainian - 22 fixed by mad (22)
2008-08-01 00:31:20 +00:00
glx
513f4c7ca7
(svn r13904) -Fix (r13715): 'cast from/to pointer to/from integer of different size' warnings
2008-07-31 22:55:12 +00:00
rubidium
fb80ed218d
(svn r13903) -Fix: missing eol-style property.
2008-07-31 21:06:19 +00:00
belugas
10f450e2d4
(svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis.
2008-07-31 17:45:52 +00:00
belugas
87f95cd4cf
(svn r13899) -Codechange: Replace numbers with Colours enum on roads gui.
...
save command file before commiting :P
2008-07-31 17:19:47 +00:00
belugas
d2c29c22fb
(svn r13898) -Codechange: Replace remaining numbers with Colours enum on players, roads and rails guis
2008-07-31 17:17:27 +00:00
belugas
d34eedfdb3
(svn r13897) -Codechange: Replace remaining numbers with Colours enum on news guis
...
-Fix: a few misalignements
2008-07-31 16:44:51 +00:00
belugas
5bbb5721df
(svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis
2008-07-31 16:42:11 +00:00
belugas
5c3b347350
(svn r13895) -Codechange: Replace numbers with Colours enum on music gui and on DrawFrameRect calls
...
-Fix: a few misalignements
2008-07-31 14:42:55 +00:00
bjarni
61799786d5
(svn r13893) -Fix: [OSX] solved a deprecated warning specific to 10.5
2008-07-31 14:00:01 +00:00
smatz
5e2c2db235
(svn r13891) -Fix (r12547): one could click on waypoint and station signs even when they were invisible
2008-07-31 13:28:23 +00:00
peter1138
b7e64bb5a6
(svn r13890) -Codechange: Simplify drawing of invisibilty buttons in the transparency gui -- the real widgets above already have coordinates so there is no need to hardcode them again. As an added bonus the invisibility buttons now line up properly.
2008-07-31 05:47:29 +00:00
belugas
1cd0aa4b74
(svn r13889) -Codechange: Replace numbers with Colours enum on transparency gui.
...
-Fix: "true" is not a color. COLOUR_PALE_GREEN should look better, at least in the code ;)
2008-07-31 03:13:35 +00:00
belugas
22d9d9c588
(svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous guis.
2008-07-31 02:59:21 +00:00
belugas
1737ce45e3
(svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, build_vehicle, cheat, depot and dock guis.
...
The fact that it goes alphabetically is pure coincidence.
2008-07-31 02:36:01 +00:00
frosch
93d0ca8731
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
2008-07-30 18:23:12 +00:00
smatz
515b55c635
(svn r13884) -Fix (r11822): custom vehicle names from TTD(Patch) games were lost
2008-07-30 17:41:02 +00:00
belugas
faaa637987
(svn r13883) -Codechange: Replace numbers with Colours enum on graph gui
2008-07-30 17:39:26 +00:00
belugas
63f7214abd
(svn r13882) -Codechange: Replace widget numbers with appropriate enums
2008-07-30 17:13:55 +00:00
frosch
c840a63dfd
(svn r13881) -Cleanup (r12751): Remove some dead code.
2008-07-30 17:06:17 +00:00
belugas
c848b9d3c4
(svn r13880) -Codechange: Replace numbers with Colours enum on intro gui, and align a bit the code
2008-07-30 16:23:55 +00:00
belugas
4cc5da9409
(svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui
2008-07-30 16:13:58 +00:00
belugas
96a0010911
(svn r13876) -Codechange: Replace numbers with Colours enum on bridge gui
2008-07-30 14:04:15 +00:00
belugas
486ce7dbc3
(svn r13875) -Codechange: Remove some magic numbers in favour of the Colours enum they are representing
2008-07-30 02:15:58 +00:00
belugas
60d020059c
(svn r13874) -Change: missing svn:property eol-style
2008-07-30 02:07:49 +00:00
belugas
caf5cac9eb
(svn r13873) -Codechange: remove useless string from all language files affected by r13872. which removed the STR_NEWS_OPEN_CLOSE string
2008-07-30 02:04:44 +00:00
belugas
d358eff64d
(svn r13872) -Feature: Split the news message announcing opening and closure of industries into two news of their own
2008-07-30 01:53:03 +00:00
peter1138
b90dc6cc34
(svn r13870) -Fix [FS#2167]: Callback 10 (visual effect and powered wagons setting) and powered wagons operation were not performed for articulated wagons.
2008-07-29 22:19:37 +00:00
rubidium
ef6e366c08
(svn r13869) -Fix [FS#2153] (r13674): in some cases the sprite cache could be filled with unremovable items.
2008-07-29 21:45:30 +00:00
frosch
814c91843a
(svn r13868) -Fix: Parent scope of industry variables.
2008-07-29 19:51:30 +00:00
belugas
da4dc32a6f
(svn r13867) -Codechange: Fix missing alignment
2008-07-29 15:34:56 +00:00
peter1138
ca703d3701
(svn r13866) -Codechange: Use sortlist for sign windows
2008-07-29 10:26:48 +00:00
peter1138
b49814c537
(svn r13865) -Codechange: Use case-insensitive sort for NewGRF list.
2008-07-29 07:51:55 +00:00
belugas
ec58ec4a73
(svn r13864) -Feature(FS #2164 ): All industry creations are now generating a news event, even those funded by a real player.
2008-07-28 23:37:19 +00:00
smatz
88637d9213
(svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work
2008-07-28 15:31:11 +00:00
smatz
686019398f
(svn r13858) -Fix: buffer overflow for too long filename supplied as '-g' parameter
2008-07-28 15:17:47 +00:00
peter1138
81dafb5e69
(svn r13855) -Fix [FS#2157]: Cargo type lookup was incorrect for GRFv7 files without a translation table.
2008-07-28 06:16:34 +00:00
bjarni
78730d4c71
(svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time
2008-07-27 20:43:21 +00:00
frosch
1aa6e00b48
(svn r13851) -Fix (r9393): GetTownByTile() is only valid for houses and roads.
2008-07-27 18:36:11 +00:00
frosch
1f31e117f0
(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace.
2008-07-27 15:17:16 +00:00
bjarni
62c053729a
(svn r13849) -Fix: [OSX] 10.5 appears to be more picky when setting up compiling of universal binaries
2008-07-27 14:16:24 +00:00
frosch
80725edc3d
(svn r13847) -Codechange: Add MAX_ARTICULATED_PARTS and set it to 100.
2008-07-27 12:35:14 +00:00
frosch
2cec059248
(svn r13846) -Fix (r13838): Do not draw water borders inside of industries.
2008-07-27 09:16:23 +00:00
frosch
74c63ac9e2
(svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station tiles, also make use of it.
2008-07-27 09:12:18 +00:00
frosch
4da23a6280
(svn r13844) -Fix (r13074, r13591): Power, running cost and capacity of multiheaded engines were (too often) doubled in newspaper resp. offer window.
2008-07-26 22:00:59 +00:00
frosch
91486b116b
(svn r13840) -Fix: Some glitches in the autoreplace GUI.
2008-07-26 17:55:49 +00:00
frosch
16c80d031c
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
2008-07-26 16:14:10 +00:00
peter1138
ea7ed286a6
(svn r13836) -Fix [FS#2074]: Automatically recalculate inflation if NewGRFs are changed and cargo types are added, so that cargo payment rates are correct.
2008-07-26 14:58:08 +00:00
peter1138
49c971c8eb
(svn r13832) -Fix [FS#2152]: FreeType may return a bitmap glyph even if a grey-scale glyph was requested.
2008-07-26 10:21:26 +00:00
peter1138
7a73bff37a
(svn r13831) -Codechange: Make purchase list order NewGRF property an extended byte.
2008-07-26 07:43:20 +00:00
smatz
05c2a8eba4
(svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries
2008-07-25 22:37:34 +00:00
smatz
ce7585101d
(svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder in tile description
2008-07-25 19:50:40 +00:00
peter1138
7cdd6ef33c
(svn r13825) -Revert (r13821 partially): preview_player_rank wasn't a PlayerByte value in r12143, and still isn't a PlayerByte value.
2008-07-25 17:33:53 +00:00
rubidium
64833bb84f
(svn r13824) -Fix (r13822): also make sure a tile is a road stop tile before trying to get information about the roadstop...
2008-07-25 13:20:50 +00:00
rubidium
3a706b0f2d
(svn r13822) -Fix [FS#2166]: building through the wrong side of a drive through station was allowed.
2008-07-25 10:10:11 +00:00
rubidium
1a4ac3ee5c
(svn r13821) -Codechange: replace some uint8/bytes with more specificly named typedefs and replace a few magic numbers.
2008-07-25 10:00:03 +00:00
miham
00d87b537f
(svn r13820) -Update: WebTranslator2 update to 2008-07-25 00:59:06
...
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan - 10 fixed by arnaullv (10)
czech - 12 fixed, 3 changed by Hadez (15)
danish - 21 fixed by ThomasA (21)
dutch - 16 fixed by habell (16)
estonian - 37 fixed by kristjans (37)
french - 19 fixed by glx (19)
italian - 19 fixed by lorenzodv (19)
korean - 10 fixed by leejaeuk5 (10)
simplified_chinese - 97 fixed, 17 changed by ww9980 (114)
slovak - 87 fixed by lengyel (87)
spanish - 10 fixed by eusebio (10)
ukrainian - 2 fixed by mad (2)
2008-07-24 22:59:29 +00:00
peter1138
b98deeb5cc
(svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset.
2008-07-24 18:29:01 +00:00
smatz
97eeb07201
(svn r13817) -Cleanup (r13816): no need to check for ENABLE_NETWORK, _networking is defined anyway
2008-07-24 16:23:55 +00:00
smatz
aae2aa64c4
(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that
2008-07-24 15:19:26 +00:00
rubidium
9bee994898
(svn r13814) -Fix (r13810): MSVC (as usual) does stupid things. This time it is copying around a struct it created itself, causing bad things to happen if you don't explicitly set all variables to something remotely sane in the constructor.
2008-07-24 08:46:34 +00:00
rubidium
81c50c6c32
(svn r13810) -Fix: small memory leak when tar files would be found.
2008-07-23 21:42:55 +00:00
rubidium
a050a78525
(svn r13809) -Fix: memory leak each time a "new ai" got (re)started.
2008-07-23 20:42:13 +00:00
rubidium
1560fe3298
(svn r13807) -Fix: memory leak when loading groups.
2008-07-23 18:41:15 +00:00
smatz
c0e11a797c
(svn r13806) -Fix [FS#2162]: checking for train waiting at other side of two-way signal was broken
2008-07-23 18:23:12 +00:00
smatz
4835e300c4
(svn r13800) -Codechange: minor comment style fixes in misc_gui.cpp
2008-07-23 15:01:50 +00:00
glx
ec6aff4870
(svn r13799) -Fix (r13730): {RAW_STRING} should be used in english.txt only
2008-07-23 14:58:43 +00:00
glx
ac9459c46c
(svn r13797) -Fix [FS#2160](r13715): crash when displaying save/load errors
2008-07-23 13:15:54 +00:00
rubidium
52982de589
(svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the "start server window"'s list of scenarios.
2008-07-23 13:10:08 +00:00
rubidium
24bb768450
(svn r13795) -Change: do not require canals/rivers/seas to be empty when building a bridge over it as it is not required for roads and rails either.
2008-07-22 23:45:55 +00:00
rubidium
af21ac537e
(svn r13794) -Fix: helicopters leaving a heliport could get stuck after processing conditional orders.
2008-07-22 23:29:08 +00:00
peter1138
9a6b7a90e0
(svn r13789) -Fix (r13781): Saved preset was not automatically selected.
2008-07-22 20:52:30 +00:00
smatz
06a52be95c
(svn r13787) -Codechange: resize the red error message box if needed
2008-07-22 19:25:47 +00:00
peter1138
49769dffba
(svn r13784) -Codechange: Truncate vehicle names in purchase list to width of window.
2008-07-22 16:13:42 +00:00
glx
1f0939f4e2
(svn r13782) -Cleanup: removed a useless declaration
2008-07-22 15:02:18 +00:00
peter1138
6e0af9fdfe
(svn r13781) -Feature: NewGRF presets, selected by a drop down list in the NewGRF window. Presets are saved in the config file.
2008-07-22 14:17:29 +00:00
rubidium
14a747e490
(svn r13776) -Fix: some revision checking code was unintentionally disabled.
2008-07-21 18:49:50 +00:00
glx
317868261a
(svn r13775) -Codechange: enforce the validity of a NetworkAction (chat packet) issued by a client
2008-07-21 15:50:55 +00:00
peter1138
e6aa4e1eb1
(svn r13774) -Codechange: Add support for changing vehicle purchase list position for all vehicle types.
2008-07-21 14:42:25 +00:00
rubidium
aafd8393cc
(svn r13773) -Codechange: disable autoclean for protected/unprotected companies when the timeout is set to 0. Based on an idea by Thomas.
2008-07-21 13:05:43 +00:00
peter1138
e6a1f1c012
(svn r13761) -Codechange: Remove dependency on rail for altering purchase list position (mostly function renaming)
2008-07-20 21:23:28 +00:00
peter1138
00e052ad39
(svn r13760) -Codechange: With multiple NewGRF engine sets, engine IDs may not be allocated in the order expected by GRF authors, so sort by 'list position' instead of engine ID for all vehicle types.
2008-07-20 21:21:51 +00:00
rubidium
fec49bcc83
(svn r13759) -Fix [FS#2147]: selecting non-full length vehicles in the depot gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim".
2008-07-20 19:21:18 +00:00
smatz
690859bf57
(svn r13758) -Fix (r13226): always use st->airport_tile, st->xy is different in many cases
2008-07-20 15:50:41 +00:00
rubidium
77fdefea19
(svn r13754) -Fix (r13731): one could not join companies from the command line.
2008-07-20 13:29:59 +00:00
rubidium
b607b51d93
(svn r13753) -Cleanup (r13752): save before commit instead of the other way around is usually better.
2008-07-20 12:59:27 +00:00
rubidium
a6e314bbba
(svn r13752) -Fix [FS#2130]: correctly restore conditional orders when they are put 'into' backup.
2008-07-20 07:41:43 +00:00
rubidium
7c3fc13087
(svn r13740) -Fix (r13731): one could only join the first company.
2008-07-19 20:24:41 +00:00
rubidium
c4467aa8fb
(svn r13739) -Fix (r13731): some variables would be erroneously zeroed, causing autoclean and company passwords not to work.
2008-07-19 20:23:51 +00:00
rubidium
bfa66f70b3
(svn r13734) -Fix: NewGRF rail continuation would always mark a tunnel on the same axis as connected, even when the tunnel faces the wrong direction.
2008-07-19 10:10:21 +00:00
smatz
f2da045731
(svn r13733) -Fix (r13731): gcc2.95 compilation
2008-07-18 21:01:30 +00:00
rubidium
5f280d0e50
(svn r13732) -Feature: add a few extra columns with information to the server list. Patch by Pegasus.
2008-07-18 20:44:35 +00:00
rubidium
3a799389eb
(svn r13731) -Codechange: make a pool of the array of players.
2008-07-18 16:40:29 +00:00
rubidium
891bec7e23
(svn r13730) -Fix: make a copy of the names for news messages about the deletion of companies as the removal of a company could lead to wrong names in the news messages.
2008-07-18 16:26:51 +00:00
rubidium
e48d86fad0
(svn r13729) -Fix: assumption that non-north tiles of a house do not have the 1x1 building bit set was flawed with some NewGRFs. This caused the amount of houses to differ, which causes the town radii to differ, which causes desyncs when towns are expanded.
2008-07-18 12:20:31 +00:00
smatz
b3bafb1d9c
(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less
2008-07-18 12:20:30 +00:00
smatz
927507818f
(svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken
2008-07-18 12:11:46 +00:00
smatz
69cb2f088f
(svn r13721) -Codechange: one less multiplication for colour mixing in 32bpp blitters (GeekToo)
2008-07-17 23:43:47 +00:00
rubidium
6e1aaa2c69
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
2008-07-17 21:15:57 +00:00
rubidium
d06529ef4d
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
2008-07-17 20:13:01 +00:00
rubidium
c2d2f817de
(svn r13718) -Fix: possible desync on the autorenew settings 20+ game years (i.e. 4.5+ hours) after a company was started.
2008-07-17 16:38:26 +00:00
rubidium
227085622a
(svn r13717) -Codechange: place the whole 'create new company' command in #ifdef ENABLE_NETWORK as it may only be executed when we are playing in a network game.
2008-07-17 15:16:11 +00:00
rubidium
39beec190b
(svn r13716) -Fix [FS#2144]: any player could construct new companies.
2008-07-17 15:14:42 +00:00
rubidium
ab234cf90c
(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
...
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-07-17 13:47:04 +00:00
rubidium
c913be73d8
(svn r13714) -Fix: remove the unique_id from the message that a client has joined as it is only exposes the unique_id more than needed. Patch by dih.
2008-07-17 12:02:09 +00:00
rubidium
60a6582590
(svn r13713) -Fix: possible crash on creating a network packet.
2008-07-17 11:47:57 +00:00
rubidium
2e4f32023c
(svn r13712) -Fix: enforce the length restrictions of company and president name in the commands too.
2008-07-17 11:19:20 +00:00
miham
88848d78b5
(svn r13707) -Update: WebTranslator2 update to 2008-07-16 01:21:36
...
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian - 78 fixed, 230 changed by thetitan (3), groupsky (305)
catalan - 3 fixed by arnaullv (3)
dutch - 3 fixed by webfreakz (3)
italian - 3 changed by lorenzodv (3)
korean - 4 fixed, 5 changed by leejaeuk5 (9)
russian - 3 fixed by Smoky555 (3)
slovenian - 4 fixed by Necrolyte (4)
spanish - 3 fixed by eusebio (3)
swedish - 4 fixed by daishan (4)
ukrainian - 2 fixed by mad (2)
2008-07-15 23:27:28 +00:00
frosch
33cd16981c
(svn r13706) -Fix (r13695): Small typo.
2008-07-15 17:13:50 +00:00
belugas
5b48371867
(svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers
2008-07-15 00:34:34 +00:00
rubidium
0f4d9a8e49
(svn r13704) -Fix: make timetables work more sensible when used in conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump.
2008-07-14 21:01:49 +00:00
rubidium
797ccc8b49
(svn r13703) -Update: the other language files due to a few changed strings in r13702.
2008-07-14 20:36:21 +00:00
rubidium
be722412fa
(svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed.
2008-07-14 20:18:06 +00:00
glx
9895afb43e
(svn r13701) -Codechange: add some more info in crash.log
2008-07-14 20:04:54 +00:00
rubidium
71820bf129
(svn r13700) -Fix: possible buffer overflow in string truncation code.
2008-07-14 18:22:15 +00:00
rubidium
b7c69ba5f0
(svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string.
2008-07-14 17:31:41 +00:00
frosch
1c17405721
(svn r13698) -Fix (r13697): MorphOS compilation.
2008-07-13 19:44:05 +00:00
frosch
1655a6f2a8
(svn r13697) -Feature: Add some support for symbolic links in .tar files.
2008-07-13 16:09:00 +00:00
belugas
f666fd5a9b
(svn r13696) -Fix[GUI]: The Build button of the vehicle list is now hidden, instead of just disabled. It will be only visible when called from the Depot Building Window.
...
Less confusion, hopefully. Suggested by Eddi.
2008-07-13 02:43:46 +00:00
rubidium
53436082a2
(svn r13695) -Fix [FS#2120]: in some cases the (sound) mixer could overflow causing artefacts in the sound.
2008-07-12 22:30:10 +00:00
rubidium
e74743227b
(svn r13694) -Change: make it more explicit that you've opened the available train/ship/etc. list instead of the one where you can actually build vehicles by setting the appropriate title for the window.
2008-07-12 22:28:34 +00:00
frosch
2b6dee7f64
(svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros.
2008-07-12 14:49:43 +00:00
rubidium
56379fff51
(svn r13692) -Fix (r13674): loading PNG sprites could very quickly fill the sprite cache.
2008-07-12 14:03:36 +00:00
smatz
447ec39f49
(svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not
2008-07-09 20:55:47 +00:00
belugas
33150af3e2
(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it
2008-07-09 02:18:51 +00:00
belugas
cb452bcc7d
(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).
2008-07-08 23:07:58 +00:00
rubidium
d974acac89
(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
...
-Fix [FS#2102]: but now in a hopefully beter way.
2008-07-08 15:10:23 +00:00
rubidium
03d32e12fb
(svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct.
2008-07-07 16:04:38 +00:00
rubidium
fbdc1c0476
(svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code.
2008-07-07 09:23:54 +00:00
rubidium
3a793ceea9
(svn r13678) -Fix (r13677): electric trains from pre elrail savegames would get stopped on load.
2008-07-06 11:08:40 +00:00
rubidium
22249a7317
(svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot.
2008-07-04 21:43:17 +00:00
rubidium
0cc206e662
(svn r13676) -Fix [FS#2126]: inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such.
2008-07-04 19:00:11 +00:00
rubidium
b5f7633883
(svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels.
2008-07-04 18:42:04 +00:00
rubidium
173f0f4cd5
(svn r13674) -Fix [FS#2127]: crash when drawing a non-real sprite. The drawing of the non-real sprite is caused when two NewGRFs replace the same sprite and the first replaces it with a real sprite (and thus assumes it remains a real sprite) and the second replaces it with a non-real sprite. OpenTTD already looked at whether the sprite to load should be seen as a real or non-real sprite, but it failed to replace non-real sprites with a substitute real sprite when getting the sprite from the cache.
2008-07-04 14:45:51 +00:00
rubidium
f37a47c0cb
(svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled.
2008-07-03 18:00:36 +00:00
belugas
aede445e2a
(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :(
2008-07-03 01:08:35 +00:00
frosch
4cb2fba8fb
(svn r13671) -Cleanup: Zeros for sell.
2008-07-01 18:56:40 +00:00
belugas
ce721a579f
(svn r13670) -Codechange : Merge some very alike events handlers.
2008-07-01 00:04:09 +00:00
frosch
e9e453cf8b
(svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ.
2008-06-30 19:54:03 +00:00
belugas
ac3896feaf
(svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo
2008-06-30 16:59:35 +00:00
rubidium
f06daceb16
(svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop.
2008-06-30 15:13:40 +00:00
belugas
4f5eae2789
(svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus
2008-06-30 14:58:58 +00:00
rubidium
7ed892411a
(svn r13662) -Fix [FS#2113]: crash when adding conditional orders to ships.
2008-06-30 14:49:50 +00:00
rubidium
6a216ee4f6
(svn r13661) -Fix: server crashing when banning the rconning client.
2008-06-30 14:48:44 +00:00
frosch
ecc5d648df
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
2008-06-28 15:44:24 +00:00
frosch
06049563da
(svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16.
2008-06-27 20:59:30 +00:00
skidd13
9335a28cb5
(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant
2008-06-27 17:46:43 +00:00
belugas
de86235274
(svn r13646) -Change: typos and miss-aligned enum values
2008-06-27 16:16:35 +00:00
frosch
3e5f10fca6
(svn r13645) -Codechange: Convert a macro into an inlined member function.
2008-06-27 15:01:18 +00:00
belugas
dde4de5e20
(svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to not care, but some other compilers do.
...
Thanks to glx :)
2008-06-27 02:26:51 +00:00
belugas
e8cddf8baa
(svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes
2008-06-27 01:26:13 +00:00
belugas
32ea99a741
(svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style
2008-06-26 17:43:56 +00:00
belugas
6d1e5a3f5b
(svn r13641) -Fix: Misleading enum name.
2008-06-26 17:13:39 +00:00
smatz
1834a2f670
(svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters)
2008-06-26 16:47:29 +00:00
smatz
114c820c56
(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
...
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
2008-06-26 15:46:19 +00:00
smatz
0b75129c24
(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2
2008-06-26 00:40:42 +00:00
miham
35c8cdb5fa
(svn r13637) -Update: WebTranslator2 update to 2008-06-25 23:36:50
...
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian - 25 fixed by thetitan (11), kokobongo (14)
catalan - 9 fixed, 4 changed by arnaullv (13)
croatian - 5 fixed by knovak (5)
czech - 8 fixed, 9 changed by Hadez (17)
dutch - 9 fixed by habell (9)
french - 12 fixed by glx (10), belugas (2)
italian - 12 fixed by lorenzodv (12)
korean - 8 fixed, 7 changed by leejaeuk5 (15)
russian - 9 fixed by Smoky555 (9)
slovenian - 18 fixed by Necrolyte (18)
spanish - 9 fixed by eusebio (9)
swedish - 8 fixed by daishan (8)
traditional_chinese - 38 fixed, 108 changed by tiberiusteng (146)
ukrainian - 12 fixed, 2 deleted, 55 changed by mad (69)
2008-06-25 21:37:59 +00:00
frosch
17de6f9ced
(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.
2008-06-25 20:04:27 +00:00
rubidium
7e50278d8e
(svn r13633) -Fix: restoring 'service at depot X' orders from the order backup failed.
2008-06-25 19:33:11 +00:00
frosch
4e6d827ea6
(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().
2008-06-25 18:46:05 +00:00
smatz
644fa40339
(svn r13631) -Fix (r13618): forgot #define avoiding multiple inclusions
2008-06-25 17:45:05 +00:00
skidd13
7a0ad3af52
(svn r13630) -Update: apply english.txt changes from r13628 to other languages
2008-06-25 17:37:12 +00:00
frosch
983e5a96f0
(svn r13629) -Fix [FS#2108](r13603): diameter != radius
2008-06-25 17:30:53 +00:00
skidd13
41b09d4027
(svn r13628) -Feature: enable building of aqueducts in the scenario editor
...
-Codechange: related to this split the waterway based buttons from the landscape generation window
2008-06-25 17:30:16 +00:00
smatz
7c7e08df59
(svn r13626) -Fix (r11871): signals were not updated when player removed signals from nonexistent track sharing bits with existing track
...
So disallow removing signals from nonexistent track
2008-06-24 23:38:10 +00:00
rubidium
fdbb1f475b
(svn r13624) -Fix [FS#2106]: crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor.
2008-06-24 15:58:01 +00:00
rubidium
c3009c34ee
(svn r13623) -Codechange: only show the 'load' of articulated RV parts that have a capacity instead of showing 'empty' parts when a vehicle is completely full.
2008-06-24 13:49:13 +00:00
rubidium
5b973282de
(svn r13622) -Fix [FS#2109]: only the front of a RV would be considered when determining to what cargos a vehicle can be refitted instead of all cargos.
2008-06-24 13:47:15 +00:00
rubidium
47933d2ddb
(svn r13621) -Fix: building roadbits in the wrong direction on bridges or building roadbits from underneath the bridge to the bridgehead is impossible, so don't silently ignore that error when building over houses and industries is not ignored.
2008-06-24 11:42:01 +00:00
smatz
61847389d6
(svn r13619) -Codechange: use 'const char *' instead of std::string for blitter and driver names
...
Removes indirect dependency on <string> for 20 files, reduces binary size by 16kB
2008-06-24 09:15:45 +00:00
smatz
fee2adb299
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
2008-06-24 09:05:24 +00:00
skidd13
6e1dd7f719
(svn r13617) -Codechange: calculate the diff in StationWaitingSorter directly
2008-06-23 22:51:21 +00:00
rubidium
469ecf4bd2
(svn r13612) -Fix [FS#2104]: wrong comment of CmdSetAutoReplace. Patch by Yexo.
2008-06-23 08:49:09 +00:00
rubidium
67e610a8a8
(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
2008-06-23 08:38:07 +00:00
skidd13
b4ef380c49
(svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken
2008-06-22 15:41:38 +00:00
skidd13
640e547886
(svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead)
2008-06-22 15:21:51 +00:00
belugas
31b002dab0
(svn r13603) -Feature{newGRF]: Add var 65 in Variational Action 2 Variables for Houses.
...
This var will return the manhattan distance of the nearest house that match a given criteria.
The criterias can be: 0 : house ID/ 1 : Class ID/ 2 : grf ID
The search radius can be defined too, up to 64.
2008-06-21 23:59:38 +00:00
smatz
37b8e87454
(svn r13602) -Codechange: little speedup for 8bpp-optimized blitter
2008-06-21 20:58:34 +00:00
smatz
2ca4b8b2e4
(svn r13601) -Codechange: resize the Tile Info window when it is needed, make it better readable
2008-06-21 18:59:15 +00:00
belugas
a6e0e2d837
(svn r13597) -Codechange: Enumification of the Map menu items.
...
The rework allowed to remove a function, by merging two quite similar ones.
2008-06-21 01:40:56 +00:00
frosch
4236dd3be5
(svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', 'leap year' and 'day of year'.
2008-06-20 21:14:10 +00:00
smatz
c406ea35ec
(svn r13593) -Fix [FS#2095](r13524): sorting by cargo capacity was broken
2008-06-20 20:40:47 +00:00
skidd13
fd49e1c379
(svn r13592) -Fix: window size remembering was broken
2008-06-20 14:54:47 +00:00
peter1138
52c06f1baa
(svn r13591) -Codechange: Support CB36 in the vehicle offer window.
2008-06-20 07:23:00 +00:00
belugas
1f4475d518
(svn r13590) -Codechange: Enumification of the Save/Load menu items
2008-06-20 01:55:00 +00:00
smatz
1cf74e7667
(svn r13589) -Fix (r11802): signals could be propagated through waypoints built in orthogonal axis
2008-06-19 20:06:55 +00:00
belugas
bee7934220
(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. Makes it a bit clearer, don't you think?
2008-06-19 20:04:24 +00:00
skidd13
32c2041f89
(svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
...
-Cleanup: some small things referring the change
2008-06-19 19:58:30 +00:00
belugas
4cc9439d65
(svn r13586) -Codechange: Using default parameter, for cases where there are few exceptions.
2008-06-19 19:58:26 +00:00
bjarni
6bd2d0ffcb
(svn r13584) -Fix: [OSX] Fixed issue where 10.5 failed to switch to fullscreen
...
This is done by selecting the 32bpp-anim blitter by default as it seems Apple removed some 8bpp support
Since this is done at runtime the same binary will still select 8bpp on 10.3 and 10.4
2008-06-19 17:54:23 +00:00
rubidium
bd31dda2fb
(svn r13581) -Fix [FS#2040]: RVs continueing onto next DT station when they are build adjacent to them.
2008-06-19 13:04:41 +00:00
rubidium
525c964f53
(svn r13579) -Fix [FS#2088]: process the order coming after a conditional order, otherwise the vehicle would already leaving the station before it knows where the next destination is, making it leave in the wrong way. However, after processing as many conditional orders as there are in the order list it will stop processing them in order to not create an infinite loop.
2008-06-19 11:45:52 +00:00
rubidium
4ccd8a6786
(svn r13576) -Codechange: disable static NewGRFs when non-static NewGRFs query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF.
2008-06-19 10:20:45 +00:00
skidd13
2f65d35ead
(svn r13575) -Codechange: Move small vector to core since it fits better in there
...
-Codechange: convert smallvector from struct to class
2008-06-19 10:19:02 +00:00
skidd13
c4cc5cdf3b
(svn r13574) -Doc: Document the small vector template class
2008-06-19 09:33:50 +00:00
skidd13
e7f2765f4c
(svn r13573) -Codechange: Use smallvec class functions instead of class members
2008-06-19 09:32:25 +00:00
rubidium
f2730396da
(svn r13572) -Fix: MSVC x64 complains.
2008-06-19 09:15:52 +00:00
smatz
7a7ff65ac5
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
2008-06-18 21:19:04 +00:00
smatz
bc12e5453c
(svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to
2008-06-18 20:20:12 +00:00
smatz
29985b768c
(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences are now drawn until first non-opaque sprite is found (bit 14 not set)
...
This is to balance performance, code complexity and NewGRF requirements
2008-06-18 16:48:58 +00:00
smatz
cc2f9187cc
(svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access destination directly instead. Makes palette animation ~40% faster.
2008-06-18 13:11:02 +00:00
belugas
be4e7b86f3
(svn r13562) -Codechange: Yet another enumification, which required a bit of explanation/documentation of a trickery some would call a hack
2008-06-18 03:19:31 +00:00
belugas
22c017c0c2
(svn r13561) -Codechange: two more enumifications of widgets
2008-06-18 02:38:28 +00:00
belugas
f16b9dcd2b
(svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert
2008-06-18 02:04:01 +00:00
belugas
5408e1a51b
(svn r13559) -Codechange: Enumification of the Options menu items
2008-06-17 23:51:17 +00:00
smatz
9da745b381
(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined
2008-06-17 19:38:00 +00:00
smatz
dedb0033b3
(svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized
2008-06-17 17:25:22 +00:00
belugas
6d4590ec7c
(svn r13550) -Fix(r13540, r13542): widget_count did not had the same value as 27. So, it has to be lowered by one, so it can be used as a widget "pointer"
2008-06-17 16:33:55 +00:00
peter1138
26879ce24a
(svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F.
2008-06-17 07:05:17 +00:00
belugas
d3fa4228cb
(svn r13543) -Codechange: Enumification of the InGame toolbar and some leftovers of scenario editor one.
...
Still more go do
2008-06-17 03:20:04 +00:00
belugas
37c58f606b
(svn r13542) -Codechange: Less a few more magic numbers and a code a bit more adaptable, still
2008-06-17 03:13:09 +00:00
belugas
da5fb0cf7e
(svn r13541) -Codechange: Aligning some switch case. Code cosmetics.
2008-06-17 02:33:42 +00:00
belugas
f5f05b4e86
(svn r13540) -Codechange: Less a magic number and a more adaptable code
2008-06-17 02:25:45 +00:00
glx
4782df757c
(svn r13539) -Fix (r13537): signed/unsigned warnings
2008-06-16 20:16:43 +00:00
frosch
0fff18b044
(svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive.
2008-06-16 20:08:30 +00:00
smatz
2299181c4b
(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions
2008-06-16 19:38:41 +00:00
belugas
0c342f3292
(svn r13536) -Codechange: Bit shifting is not really required when you know exactly the value to use.
...
Even more when it's a parameter.
2008-06-16 17:28:15 +00:00
skidd13
f1cecb1795
(svn r13535) -Codechange: Protect GUIList internals
...
-Fix: VL_FIST_SORT should be set after list rebuild too
2008-06-16 17:10:55 +00:00
skidd13
0a19f738bc
(svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls
2008-06-16 17:09:52 +00:00
skidd13
6b8a758339
(svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls
2008-06-16 17:05:17 +00:00
skidd13
617e1f16c0
(svn r13524) -Codechange: use the typesafe QSort for vehicle sortings
...
-Prepare: vehicles sorting for convsersion to GUIList
2008-06-15 22:10:22 +00:00
skidd13
f95cee3057
(svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting
2008-06-15 16:40:41 +00:00
skidd13
dd5f4f0a2c
(svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters
2008-06-15 16:11:25 +00:00
skidd13
1ddafcadd2
(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow
2008-06-15 15:48:33 +00:00
smatz
704c9be0b8
(svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR)
2008-06-15 13:52:51 +00:00
belugas
237a6f554a
(svn r13519) -Feature[newGRF]: Implement var 63, variational action2 variable for Houses.
...
Or, in more simple terms, the check for the animation frame of nearby house.
2008-06-15 02:48:25 +00:00
frosch
8bc42a8c2f
(svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles.
2008-06-14 19:13:23 +00:00
skidd13
03854bf27c
(svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h>
2008-06-14 16:41:03 +00:00
skidd13
96fc91baf3
(svn r13516) -Codechange: Move MemCpyT to a fitting core header
...
-Codechange: Split the sorting code from the sortlist to an appropriate header
2008-06-14 16:23:08 +00:00
belugas
bf9a32b475
(svn r13515) -Codechange: Widget enumification for scenario editor
2008-06-14 02:00:20 +00:00
belugas
8cbb17384d
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
2008-06-14 01:45:58 +00:00
belugas
bcb71a011e
(svn r13513) -Codechange: Give proper message when building a river fails.
...
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
2008-06-14 01:08:59 +00:00
glx
fd08e7b51a
(svn r13508) -Fix (r7733): incorrect usage of strtoul
2008-06-13 15:18:29 +00:00
peter1138
24d35c58b7
(svn r13507) -Fix (r12856): first engine change should've been moved too
2008-06-13 13:28:55 +00:00
rubidium
f2404ac20f
(svn r13505) -Fix: clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist.
2008-06-13 05:50:24 +00:00
belugas
5d828d8eee
(svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required.
2008-06-13 01:57:48 +00:00
belugas
3d07e5ca10
(svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers were assigned to the zoom in and out buttons in the scenario editor
2008-06-13 01:17:03 +00:00
smatz
e40f835a7e
(svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes
2008-06-13 00:00:04 +00:00
smatz
421a040e89
(svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker)
2008-06-12 22:29:42 +00:00
frosch
79ad51867a
(svn r13499) -Codechange: Allow drawing (ugly) leveled foundations on steep slopes, just in case someone needs them for fallback.
2008-06-12 21:36:56 +00:00
rubidium
7dcc69e617
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
2008-06-12 19:06:30 +00:00
rubidium
005d612227
(svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h.
2008-06-12 18:51:35 +00:00
skidd13
d99aef2f71
(svn r13490) -Add: a seperate icon for aqueducts
2008-06-12 16:30:41 +00:00
rubidium
a5486e626d
(svn r13489) -Fix: first determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good.
2008-06-12 14:41:29 +00:00
smatz
39b397438c
(svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile
2008-06-12 13:40:07 +00:00
rubidium
43622f95e1
(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles.
2008-06-12 11:15:43 +00:00
peter1138
d61da119d3
(svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles
2008-06-12 09:25:04 +00:00
smatz
9d359641ec
(svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker)
2008-06-11 21:37:36 +00:00
rubidium
da524e71ae
(svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies.
2008-06-11 19:57:45 +00:00
smatz
5d5d9f682e
(svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often
2008-06-11 17:35:55 +00:00
smatz
1a043128e1
(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts
2008-06-11 17:10:36 +00:00
smatz
881d384e56
(svn r13477) -Fix (r13464): correct tile type in the Query tile info window
2008-06-11 16:24:00 +00:00
rubidium
232a2a8e3c
(svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct.
2008-06-11 16:22:07 +00:00
smatz
58d63ec726
(svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt
2008-06-11 15:56:55 +00:00
glx
f56fe58d48
(svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value)
2008-06-11 15:08:52 +00:00
rubidium
3d5fe9bfc1
(svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future.
2008-06-11 14:55:02 +00:00
rubidium
f858e5bbf4
(svn r13468) -Fix: make aqueducts a little more expensive than normal bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either.
2008-06-11 14:51:31 +00:00
rubidium
93fb5bc63d
(svn r13466) -Fix (r13464): slope checking got lost during development...
2008-06-11 14:13:07 +00:00
rubidium
7f6382badd
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
2008-06-11 13:54:01 +00:00
smatz
dc5ceacd77
(svn r13462) -Codechange: move DriverFactoryBase destructor definition from header file (saves ~16kB)
2008-06-11 12:46:28 +00:00
smatz
bd5067b5a0
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
2008-06-10 21:59:22 +00:00
belugas
f4153bcbde
(svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch)
2008-06-10 17:47:55 +00:00
smatz
8123d4de11
(svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in drawing (depends on architecture and compiler)
2008-06-10 17:28:37 +00:00
rubidium
0900f3388a
(svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now.
2008-06-10 16:46:11 +00:00
belugas
bb7e9ee138
(svn r13443) -Feature[newGRF]: Add var 0x69 for industries, long format construction date.
...
Same as var B0, but base year is now 0, instead of 1920
2008-06-10 16:10:54 +00:00
belugas
54e7a3b196
(svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house.
2008-06-10 00:42:19 +00:00
smatz
bf8afb4c38
(svn r13434) -Fix (r13317): news window with invalid news item could be shown
2008-06-09 12:20:00 +00:00
rubidium
657bbf305e
(svn r13433) -Codechange: remove a now useless global variable.
...
-Fix: MP advertising was not advertising.
2008-06-09 12:17:01 +00:00
rubidium
2f59734909
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
2008-06-08 19:18:01 +00:00
rubidium
e43d050730
(svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes.
2008-06-08 15:27:57 +00:00
rubidium
eac3301b63
(svn r13413) -Codechange: remove some enums that haven't been used for years.
2008-06-08 12:28:23 +00:00
truebrain
b95042b05c
(svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations)
2008-06-08 12:06:27 +00:00
rubidium
96d7f87cc9
(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.
2008-06-08 10:51:36 +00:00
rubidium
b1dc705492
(svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order.
2008-06-08 09:14:30 +00:00
rubidium
d083afea90
(svn r13408) -Codechange: some stricter checking.
2008-06-08 08:44:19 +00:00
miham
04e31cae5a
(svn r13400) -Update: WebTranslator2 update to 2008-06-07 18:14:28
...
korean - 8 fixed, 16 changed by leejaeuk5 (24)
romanian - 5 fixed, 185 changed by CrystyB (190)
russian - 1 changed by Smoky555 (1)
2008-06-07 16:15:20 +00:00
frosch
77ff05a5f1
(svn r13397) -Fix: Do not crash when resolving vehicle sprite groups with zero sprites.
2008-06-07 00:06:36 +00:00
glx
a43c7af33b
(svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs)
2008-06-06 19:27:09 +00:00
glx
ee256e770a
(svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
2008-06-05 20:54:52 +00:00
rubidium
5176319dd5
(svn r13389) -Codechange: remove NM_CALLBACK because that information could be gathered from the fact that a callback has been specified. Patch by Cirdan.
2008-06-05 16:55:00 +00:00
peter1138
261018fc8c
(svn r13388) -Codechange: Remove "my invented flag for something that is a wagon"
2008-06-05 12:08:20 +00:00
rubidium
94718ae0de
(svn r13387) -Fix: industry directory sorting not working correctly (= != ==)
2008-06-05 11:34:26 +00:00
rubidium
9e811a2f8b
(svn r13386) -Fix: global currency/units setting being overriden when loading a savegame.
2008-06-05 11:26:38 +00:00
peter1138
9b971dab60
(svn r13385) -Fix (r12137): In the purchase list, CB36 for capacity was not called for the first part of rail and road vehicles.
2008-06-05 07:38:22 +00:00
miham
c217a11bbd
(svn r13384) -Update: WebTranslator2 update to 2008-06-05 08:15:43
...
brazilian_portuguese - 9 fixed, 6 changed by tucalipe (15)
catalan - 9 fixed by arnaullv (9)
croatian - 13 fixed by knovak (13)
czech - 33 fixed by Hadez (33)
danish - 47 fixed by ThomasA (47)
dutch - 9 fixed by habell (9)
estonian - 42 fixed, 5 changed by kristjans (47)
finnish - 5 fixed, 1 changed by kerba (6)
french - 9 fixed, 2 changed by glx (8), belugas (3)
icelandic - 75 fixed by scrooge (75)
italian - 9 fixed, 12 changed by lorenzodv (21)
korean - 76 fixed, 15 changed by leejaeuk5 (91)
portuguese - 7 fixed by izhirahider (7)
romanian - 97 fixed, 302 changed by CrystyB (399)
russian - 12 fixed by Smoky555 (12)
spanish - 12 fixed by eusebio (12)
swedish - 13 fixed by ChrillDeVille (6), daishan (7)
turkish - 39 fixed, 1 changed by jnmbk (40)
ukrainian - 10 fixed by mad (10)
2008-06-05 06:17:04 +00:00
belugas
4f3eb7f3cd
(svn r13383) -Codechange: Put the cost of house removal in a class member
2008-06-05 01:43:03 +00:00
glx
dc22170c99
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
2008-06-04 22:30:44 +00:00
glx
0c1d792d5e
(svn r13379) -Fix (r13255): drive side can't be changed in intro
2008-06-04 22:03:22 +00:00
smatz
ce692c16ee
(svn r13378) -Fix (r13375): compilation without network support was broken
2008-06-04 11:21:36 +00:00
peter1138
f78ea7c6bf
(svn r13377) -Codechange: Let 'long format' build year work in vehicle purchase list.
2008-06-04 06:40:07 +00:00
belugas
2550f353e9
(svn r13376) -Feature: Add access to current long year and date from Action 7/9/D and VarAction2 (23/24 or A3/A4)
...
Add access to (long format) building year, in Variational Action2 Variable 49 for Vehicles
2008-06-04 00:17:48 +00:00
smatz
c7a9637834
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
2008-06-03 18:35:58 +00:00
peter1138
d58f055876
(svn r13374) -Fix (r13364): Some common compilers do not yet support 9 year old specifications.
2008-06-03 12:11:16 +00:00
smatz
7ec0a9ec3f
(svn r13373) -Fix (r10210): loading of very old savegames was broken
2008-06-03 11:39:15 +00:00
peter1138
722f48a1d6
(svn r13372) -Cleanup: Excessive whitespace
2008-06-03 10:22:42 +00:00
peter1138
7b75cee876
(svn r13371) -Fix (r4510 ... r12924): Engine array size is not related to the ID used when setting a vehicle's name (it is vehicle type specific). Instead just test for a generic string.
2008-06-03 09:58:13 +00:00
rubidium
1ddfdda02c
(svn r13370) -Codechange: move the VARDEF stuff from openttd.h to variables.h so one doesn't need to include openttd.h before variables.h.
2008-06-03 08:06:58 +00:00
rubidium
abf2b0efc3
(svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
...
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
2008-06-03 08:04:35 +00:00
belugas
4b4e73c1dd
(svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date
2008-06-03 03:06:16 +00:00
belugas
b0ada3fbbf
(svn r13367) -Codechange: Allow CircularTileSearch function to return the tile where search has been successful, or INVALID_TILE if it has not
2008-06-03 02:20:27 +00:00
smatz
00851610e1
(svn r13366) -Fix: clicking in the Subsidies window was broken
2008-06-03 00:23:54 +00:00
rubidium
def3177d3a
(svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting.
2008-06-02 23:01:57 +00:00
peter1138
7b66180d78
(svn r13364) -Codechange: Refactor action 3 mapping to use grf_load_*() instead of direct byte array access.
2008-06-02 19:52:41 +00:00
peter1138
86ab690ec5
(svn r13363) -Codechange: Code duplication tidy up
2008-06-02 19:35:30 +00:00
smatz
2e8b9a70ec
(svn r13362) -Fix: make the town authority window a bit less glitchy
2008-06-02 14:34:23 +00:00
glx
014cb33bb9
(svn r13361) -Fix (r13360): regexp failed
2008-06-02 14:30:55 +00:00
skidd13
11cdcf875c
(svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc()
2008-06-02 14:27:58 +00:00
skidd13
8a40ca49c6
(svn r13359) -Codechange: convert _fios_items to a SmallVector
...
-Cleanup: some reincarnations of _fios_items in the code
2008-06-02 14:19:27 +00:00
rubidium
fd0be850fe
(svn r13358) -Codechange: split next order determination and conditional order processing functionality from the order handling. Patch based on work by michi_cc.
2008-06-02 08:33:38 +00:00
rubidium
3efece1284
(svn r13357) -Codechange: add constness to YAPF.
2008-06-02 06:44:06 +00:00
peter1138
10b494d260
(svn r13356) -Codechange: Incorrect documentation and variable type for inflation rates
2008-06-02 06:42:27 +00:00
smatz
0812e2f959
(svn r13354) -Codechange: make 8bpp_optimized blitter ~25% faster in encoding and ~15% faster in drawing (depends on architecture)
2008-06-01 19:36:55 +00:00
smatz
ed462507b2
(svn r13351) -Codechange: disable warnings about unused variable for builds without asserts
2008-06-01 15:08:14 +00:00
glx
10d6f6c5b8
(svn r13350) -Fix: wrong tooltip for waypoint picker scrollbar
2008-06-01 13:23:40 +00:00
rubidium
92c80dab4c
(svn r13349) -Codechange: remove a pointless flag; the flag is set before calling a function and is then reset in the function without ever reading it. Patch by Cirdan.
2008-06-01 10:11:31 +00:00
rubidium
d19c347fd0
(svn r13348) -Fix: an industry does not always need foundations; in the case of NewGRFs an industry can be built on a steep slope, however when 'querying' the foundation type of an industry we neglected the fact that these steep slope tiles do not have a foundation. As a result of this when one built a structure requiring foundations on a tile SW or SE of a steep slope industry tile it would try to apply the foundation on the steep slope to determine whether to draw the wall of the foundation and trigger an assert.
2008-05-31 22:43:42 +00:00
glx
0268076337
(svn r13347) -Fix (r12396): ottdres.rc.in was forgotten
2008-05-31 22:12:53 +00:00
rubidium
3d75eb446d
(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed.
2008-05-30 21:06:43 +00:00
rubidium
5a6f6bf067
(svn r13345) -Codechange: only one of all the NewsItem's instance duration variable, so move it so there is only once instance of that variable. Patch by Cirdan.
2008-05-30 20:57:19 +00:00
rubidium
6d90affce0
(svn r13344) -Codechange: remove some code duplication.
2008-05-30 20:08:32 +00:00
rubidium
2f3b88ef9a
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
2008-05-30 18:20:26 +00:00
rubidium
e81386476f
(svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they needed.
2008-05-30 09:32:24 +00:00
rubidium
00ccb1dc33
(svn r13341) -Codechange: make most of the network settings configurable via the patch command.
2008-05-30 09:23:05 +00:00
rubidium
933c9df335
(svn r13339) -Feature: splitting of the main toolbar when the resolution becomes very low so the buttons are still visible and useable. Patch by Dominik.
2008-05-29 23:33:37 +00:00
rubidium
e2997c9976
(svn r13338) -Doc: add documentation about the window placement. Patch by Alberth.
2008-05-29 22:22:02 +00:00
rubidium
fdb4214525
(svn r13337) -Doc: add documentation to some variables in settings_type.h.
2008-05-29 21:36:29 +00:00
rubidium
2854cc968f
(svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset the autosave settings.
2008-05-29 21:36:10 +00:00
rubidium
d58080fd44
(svn r13335) -Fix: remove rogue (debugging) printf.
2008-05-29 21:35:49 +00:00
rubidium
c33164831d
(svn r13334) -Codechange: move the network settings variables from network/network_internal to settings.
2008-05-29 20:21:28 +00:00
rubidium
61507ffeab
(svn r13333) -Fix: compilance without networking enabled.
2008-05-29 19:58:17 +00:00
rubidium
be93c2c089
(svn r13332) -Fix (r13325): network games got somewhat broken.
2008-05-29 19:06:54 +00:00
peter1138
79d008cd2e
(svn r13331) -Fix (r12924): Wrong include type for (sdt::)map
2008-05-29 17:54:02 +00:00
smatz
a0c62f1752
(svn r13330) -Fix: 'Player name' dialog was broken in two ways
2008-05-29 17:01:42 +00:00
skidd13
bed7719967
(svn r13328) -Fix (r13327): Don't access an item when there isn't any
2008-05-29 16:47:22 +00:00
skidd13
a8abdaec92
(svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() now
2008-05-29 16:37:26 +00:00
rubidium
923e21129c
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29 15:13:28 +00:00
peter1138
2a816fb685
(svn r13323) -Codechange: scrollbars are not refresh counters
2008-05-29 11:47:56 +00:00
rubidium
22d7b25296
(svn r13322) -Codechange: _no_scroll belongs more with the window code.
2008-05-29 11:13:11 +00:00
rubidium
f2869bb7db
(svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp.
2008-05-29 10:16:59 +00:00
rubidium
34e2d8f1e1
(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.
2008-05-29 09:54:47 +00:00
peter1138
8ea996e246
(svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list
2008-05-29 07:34:40 +00:00
rubidium
27bca407de
(svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there.
2008-05-29 06:49:56 +00:00
rubidium
7f8f5fa52c
(svn r13317) -Codechange: make news messages use a linked list instead of a moving circular buffer. This makes it possible to store more news messages in the history. Based on a patch by Cirdan.
...
-Codechange: the number of news messages is reduced by removing every news message that is a configurable amount older than when it would not be shown in the newspaper popup/ticker, which is e.g. a month for industry production changes and half a year for subsidy offers. As a result the more important messages will stay longer in the message history (if longer than 30 messages).
2008-05-28 21:36:16 +00:00
rubidium
b4e431bf7c
(svn r13316) -Codechange: move some functions around to make them grouped more logically.
2008-05-28 20:13:28 +00:00
peter1138
53aebc84c6
(svn r13315) -Fix (r13314): Assert if no engines or wagons available
2008-05-28 20:06:00 +00:00
peter1138
f954a93ee0
(svn r13314) -Codechange: Switch EngineList from std::vector to GUIList
2008-05-28 17:29:27 +00:00
peter1138
f44a2c38f8
(svn r13313) -Fix-ish (r13306): List was copied in another place the autoreplace gui...
2008-05-28 17:08:45 +00:00
skidd13
6e334d10bb
(svn r13312) -Update: apply english.txt changes from r13311 to other languages
2008-05-28 16:50:05 +00:00
skidd13
b80425fdf9
(svn r13311) -Codechange: Use GUIList for the industry directory window
...
-Codechange: Replaced the four sort buttons by a dropdown
-Codechange: Reduced the default window size
2008-05-28 16:45:00 +00:00
smatz
f7233786d2
(svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard)
2008-05-28 15:28:27 +00:00
rubidium
17ccd5ec65
(svn r13309) -Fix: the difficulty settings from the savegame would be reset by the ones of the intro game.
2008-05-28 14:36:06 +00:00
peter1138
f9fc53f98a
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
2008-05-28 11:56:21 +00:00
peter1138
bb00206736
(svn r13306) -Fix (r8362): Pass engine list by pointer instead of making a copy of it.
2008-05-28 10:29:48 +00:00
peter1138
504d0d1ae5
(svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers instead of just yes.
2008-05-28 06:30:55 +00:00
smatz
e15863fa77
(svn r13304) -Fix (r13042): possible double free (showed up in r13092)
2008-05-27 23:40:36 +00:00
smatz
8aa797603c
(svn r13303) -Fix (r13301): 64bit gcc compilation was broken
2008-05-27 23:10:42 +00:00
rubidium
14d8aacebb
(svn r13302) -Fix (r13301): GCC doesn't necessarily like what MSVC likes...
2008-05-27 22:02:26 +00:00
rubidium
5c5ee7eb57
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
2008-05-27 21:41:00 +00:00
skidd13
49a0bd7f90
(svn r13299) -Fix (r13286): Stations sort type isn't updated correctly
2008-05-27 20:33:44 +00:00
smatz
437d5d9798
(svn r13298) -Codechange: remove unused _total_signs
2008-05-27 20:25:28 +00:00
peter1138
cfb962c7f1
(svn r13297) -Codechange: Use GUIList for the town directory window
2008-05-27 20:05:36 +00:00
smatz
ee9a9503ce
(svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset
2008-05-27 19:58:32 +00:00
smatz
ee904e1df5
(svn r13295) -Codechange: remove now redundant check
2008-05-27 19:03:06 +00:00
skidd13
83c442cc57
(svn r13294) -Codechange: convert the inheritance of GUIList in IndustryDirectoryWindow to a member object
2008-05-27 18:50:31 +00:00
smatz
9c7d4ffd4c
(svn r13293) -Fix (r13226): airport far from a town generated too much noise
2008-05-27 18:20:14 +00:00
glx
20f2bc3138
(svn r13292) -Fix (r13285): MSVC warnings
2008-05-27 16:56:58 +00:00
peter1138
0ce9343fb6
(svn r13291) -Fix (r13266): qsort passed wrong sizeof data
2008-05-27 15:30:51 +00:00
peter1138
f7a9c4f522
(svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp
2008-05-27 12:24:23 +00:00
skidd13
6d46851b61
(svn r13286) -Codechange: GUIList Sort returns now if the list sequence has been altered
2008-05-27 10:27:30 +00:00
skidd13
e42690b381
(svn r13285) -Codechange: station sorting uses GUILists Sort() now
2008-05-27 09:57:29 +00:00
skidd13
825f8266e2
(svn r13283) -Codechange: convert the inheritance of GUIList in PlayerStationsWindow to a member object
2008-05-27 09:24:45 +00:00
smatz
e424367938
(svn r13280) -Fix (r13276): MSVC compilation was broken
2008-05-27 00:13:51 +00:00
smatz
a7761332f6
(svn r13279) -Codechange: simplify condition for terminating loop when reversing list order
2008-05-26 21:45:57 +00:00
peter1138
88f2ef652e
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
2008-05-26 21:40:52 +00:00
rubidium
495ca8fdb9
(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing the NewGRF settings window.
2008-05-26 21:38:17 +00:00
smatz
a0b14f02c8
(svn r13276) -Codechange: use qsort() for initial sorting of a list for better performance (credits go to skidd13 and peter1138)
2008-05-26 21:27:06 +00:00
smatz
a509746288
(svn r13275) -Fix: sort lists with 2 items, too
...
-Fix: reset VL_RESORT and resort timer even when no sort was needed
2008-05-26 21:08:03 +00:00
glx
6e6014918e
(svn r13273) -Fix [FS#2042]: MSVC warnings (again)
2008-05-26 20:20:38 +00:00
skidd13
0972b3dd15
(svn r13271) -Codechange: groups sorting uses GUILists Sort() now
2008-05-26 18:30:58 +00:00
peter1138
4c69d11f5e
(svn r13270) -Codechange: There is no need to clear lists in the window constructor
2008-05-26 18:25:27 +00:00
skidd13
515e0fa22d
(svn r13269) -Codechange: build bridge window uses GUILists Sort() now
...
-Cleanup: make some globals part of the build bridge window
2008-05-26 17:53:37 +00:00
skidd13
18acb21d65
(svn r13267) -Codechange: extend GUIList with a GnomeSort
2008-05-26 16:44:48 +00:00
peter1138
02b5ffa13f
(svn r13266) -Codechange: Use SmallVector in GUIList
2008-05-26 16:23:23 +00:00
smatz
e4be8c6e70
(svn r13260) -Fix: linked terraform toolbar wasn't marked dirty after moving
2008-05-26 10:41:30 +00:00
peter1138
feebf3f3c9
(svn r13259) -Fix: Subsidy text could still overflow
2008-05-26 10:28:59 +00:00
rubidium
3a4b397961
(svn r13258) -Codechange: add support for using (most) of the old patch names in the console.
2008-05-26 05:58:15 +00:00
belugas
5f782d06be
(svn r13257) -Fix(r13226): Typo has found its way on the code... Thanks cirdan
2008-05-26 02:25:17 +00:00