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