Commit Graph

10520 Commits

Author SHA1 Message Date
peter1138
766bf8deaa (svn r14776) -Fix (r14742): ListPositionMap relied on std::map having sorted the map, which is now done by a manual key sorter on SmallMap. This fixes engine ID list sorting. 2008-12-30 21:04:09 +00:00
translators
af624ae157 (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
5410c52c1e (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
2fb24a8a83 (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
f55995f1ef (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
1892994ab2 (svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :( 2008-12-29 21:41:20 +00:00
rubidium
b597e52e29 (svn r14770) -Fix: gracefully handle an invalid packet instead of asserting. 2008-12-29 21:33:27 +00:00
rubidium
0d5ecc4d37 (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
73c98e9899 (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
5aa2dac751 (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
42fb037005 (svn r14766) -Fix (r14730ish): remove unused typedef. 2008-12-29 11:17:12 +00:00
rubidium
662d127310 (svn r14765) -Update (r14764): remove changed strings from translations. 2008-12-29 10:40:43 +00:00
rubidium
0b806c7bbc (svn r14764) -Codechange: make the '***' chat messages like "Game paused (not enough players)" fully translateable. 2008-12-29 10:37:53 +00:00
rubidium
5c8a281e00 (svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug code :( 2008-12-28 22:23:43 +00:00
rubidium
3b08d2ecaa (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
5fe023cb1b (svn r14759) -Fix (r14730): tab completion causing out-of-bounds read. 2008-12-28 21:07:45 +00:00
rubidium
1f5d51562f (svn r14758) -Fix: determine the real size of a depot before trying to place it. 2008-12-28 20:53:19 +00:00
translators
4db5300ac7 (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
85bf1c0de0 (svn r14756) -Update (r14755): remove removed string from other languages too. 2008-12-28 16:13:10 +00:00
rubidium
ef20d229ab (svn r14755) -Codechange: remove ending year as it can't be changed anyways. 2008-12-28 16:09:58 +00:00
rubidium
e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 2008-12-28 14:37:19 +00:00
smatz
9c2c1dea06 (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
f183e1c6cf (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
f1296e06c5 (svn r14751) -Codechange: put VehicleEnterTile declaration where it should be and use correct return type 2008-12-26 22:44:13 +00:00
rubidium
027e431b99 (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
931bdb9626 (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
0c6c3311c9 (svn r14748) -Codechange: unduplicate window updating when deleting vehicles. 2008-12-26 21:08:51 +00:00
rubidium
c34ce32f26 (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
7fbd5beb0f (svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) target invalid industry 2008-12-26 19:37:50 +00:00
rubidium
047e40d33f (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
634842525b (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
c88a6199a7 (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
bd92143e7b (svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size 2008-12-26 13:50:46 +00:00
translators
4ced1d3e9f (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
36e8ae6a2a (svn r14740) -Fix (r13675)(r14739): we shouldn't skip all remaining sprites neither 2008-12-24 23:20:30 +00:00
smatz
2eee9bdc3b (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
24ffb8bbba (svn r14738) -Fix (r13576): GCF_STATIC belongs to GRFConfig::flags, not GRFConfig::status 2008-12-24 22:33:06 +00:00
smatz
808d746bf3 (svn r14737) -Fix (r10211): memory leak in Action 0x0F (new town names) 2008-12-24 21:25:09 +00:00
translators
a4571d8087 (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
bf6ec8b19f (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
8a06e67067 (svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not byte 2008-12-24 00:25:17 +00:00
rubidium
81f409e8e7 (svn r14733) -Fix (r14730): creating new companies didn't always work as expected. 2008-12-24 00:03:47 +00:00
rubidium
e6ff168508 (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
2b5362de13 (svn r14731) -Fix: don't initialise UDP multiple times without closing it. 2008-12-23 20:58:03 +00:00
rubidium
54f23ed0b3 (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
258ebb8173 (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
2576aceb21 (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
4ce0e8ccce (svn r14727) -Codechange: replace some magic numbers with a constant. 2008-12-23 15:23:31 +00:00
rubidium
b4f74d2e01 (svn r14726) -Fix (r14720): making new companies in network kinda failed... 2008-12-23 12:26:19 +00:00
rubidium
c1b2f17bc8 (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