Commit Graph

4729 Commits (f31679662908a38f09415e319a8855e314f32d37)

Author SHA1 Message Date
rubidium 931bdb9626 (svn r14749) -Codechange: replace a few wrapper functions that only called delete by a direct delete instead. 16 years ago
rubidium 0c6c3311c9 (svn r14748) -Codechange: unduplicate window updating when deleting vehicles. 16 years ago
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. 16 years ago
smatz 7fbd5beb0f (svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) target invalid industry 16 years ago
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). 16 years ago
rubidium 634842525b (svn r14744) -Fix [FS#2474]: don't tell loading a savegame failed in two distinct ways. 16 years ago
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) 16 years ago
smatz bd92143e7b (svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size 16 years ago
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)
16 years ago
smatz 36e8ae6a2a (svn r14740) -Fix (r13675)(r14739): we shouldn't skip all remaining sprites neither 16 years ago
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 16 years ago
smatz 24ffb8bbba (svn r14738) -Fix (r13576): GCF_STATIC belongs to GRFConfig::flags, not GRFConfig::status 16 years ago
smatz 808d746bf3 (svn r14737) -Fix (r10211): memory leak in Action 0x0F (new town names) 16 years ago
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)
16 years ago
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.
16 years ago
smatz 8a06e67067 (svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not byte 16 years ago
rubidium 81f409e8e7 (svn r14733) -Fix (r14730): creating new companies didn't always work as expected. 16 years ago
rubidium e6ff168508 (svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables. 16 years ago
rubidium 2b5362de13 (svn r14731) -Fix: don't initialise UDP multiple times without closing it. 16 years ago
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.
16 years ago
rubidium 258ebb8173 (svn r14729) -Fix: writing a single char to the config file caused reading outside a buffer. 16 years ago
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.
16 years ago
rubidium 4ce0e8ccce (svn r14727) -Codechange: replace some magic numbers with a constant. 16 years ago
rubidium b4f74d2e01 (svn r14726) -Fix (r14720): making new companies in network kinda failed... 16 years ago
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. 16 years ago
rubidium e267bee098 (svn r14724) -Codechange: move some NetworkClientSocket related function/definitions closer together. 16 years ago
rubidium 97662a0fff (svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies. 16 years ago
rubidium 768fdee77a (svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/ 16 years ago
rubidium cb8b31c3c1 (svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as it's (way) more descriptive what it's used for. 16 years ago
rubidium 3ddde0c8d6 (svn r14720) -Codechange: s/FOR_ALL_CLIENTS/FOR_ALL_CLIENT_SOCKETS/ as the latter describes the name more precisely. 16 years ago
rubidium 9a96557763 (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) 16 years ago
rubidium bdd92008cf (svn r14718) -Change: remove some direct network core variable accesses from non-network locations. 16 years ago
rubidium 7403790ba4 (svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ClientIndex 16 years ago
rubidium dbb2950e83 (svn r14716) -Codechange: move more network core querying to the network files. 16 years ago
rubidium 8e81749872 (svn r14715) -Codechange: move some network code from the main gui file into one of the the network files. 16 years ago
rubidium 648d7072a4 (svn r14714) -Codechange: only allocate the company network "state" variables (password/months not used) when needed, i.e. only for servers. 16 years ago
translators ecf376c633 (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)
16 years ago
rubidium d146b48063 (svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information. 16 years ago
rubidium c393913563 (svn r14711) -Codechange: don't misuse the _network_company_info password field for changing the password on clients. 16 years ago
rubidium a4c27263bb (svn r14710) -Change: simplify sending company information from the server to the client. 16 years ago
rubidium 6d23f48bb6 (svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays. 16 years ago
frosch ee9fc4e49b (svn r14707) -Cleanup: Replace an 'int' by 'Trackdir'. 16 years ago
translators 8b4659a7ac (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)
16 years ago
frosch 98a865370d (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.
16 years ago
frosch dca37f1cb0 (svn r14704) -Codechange: Add set capabilities to SmallVector. 16 years ago
frosch b916d20e1c (svn r14703) -Fix (r8735): [YAPF] YapfRoadVehDistanceToTile() shall not abort searching at v->dest_tile, when it in fact tries to reach another tile. 16 years ago
frosch f1e02ab1ed (svn r14702) -Documentation: Add a note about the meaning and validity of Vehicle::dest_tile. 16 years ago
smatz c6c3124c30 (svn r14700) -Fix (r1): loading of very old savegames was broken (STNS chunk is stored before MAP in old savegame) 16 years ago
frosch 6afd6a450f (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. 16 years ago
rubidium fbc0e5edbe (svn r14697) -Fix: some int vs unsigned int comparisons in strgen. 16 years ago
frosch 0f72032d44 (svn r14696) -Fix (r10495): Words now consist of 16 bits. 16 years ago
frosch d64b89838e (svn r14695) -Cleanup: When NTP is not active there is no need to set up TrainTrackFollowerData. 16 years ago
smatz a59ddd79a1 (svn r14694) -Fix (r1): zeppeliner (disaster) should target st->airport_tile, not st->xy 16 years ago
smatz 82ef029f41 (svn r14693) -Codechange: replace one check in old AI (probably typo, but the effect was the same) (Yexo) 16 years ago
translators e9f141f5f1 (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)
16 years ago
translators 32b22398b0 (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)
16 years ago
translators 34dfb0e67b (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)
16 years ago
rubidium 2e916a154f (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.
16 years ago
frosch 4c01a1c6af (svn r14682) -Fix (r14672): Check the correct savegame version. (Thanks SmatZ) 16 years ago
translators c62012ee91 (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)
16 years ago
frosch 1fa409177c (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'.
16 years ago
rubidium 94a5f66427 (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. 16 years ago
rubidium f1c7e4662a (svn r14678) -Fix [FS#2435]: gradual filling graphics were not chosen according to the NewGRF spec (Maedhros) 16 years ago
translators 5e938aae05 (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)
16 years ago
frosch 38181a23cd (svn r14676) -Fix: Do not copy the signal type of parallel vertical/horizontal track, when dragging signals. 16 years ago
rubidium 593f034c07 (svn r14675) -Fix: setting the Estonian or custom currency as used currency didn't survive a restart cycle. 16 years ago
frosch 445767cc4c (svn r14674) -Fix (r4965): Check sprite size when executing action 6. 16 years ago
translators 1f1d9fb12a (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)
16 years ago
frosch c1d1ba22cc (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).
16 years ago
smatz a5b33d1f3b (svn r14671) -Fix: compilation was broken for some systems 16 years ago
smatz 9514b0b9b7 (svn r14670) -Codechange: use better readable (I hope) and branchless (for some archs/compilers) code for cargo value computation 16 years ago
smatz ae6107535a (svn r14669) -Codechange: use SmallVector instead of std::list at one place 16 years ago
rubidium f98e498771 (svn r14668) -Change: use include <> instead of include "" when including ICU's headers. 16 years ago
translators 66455c9d31 (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)
16 years ago
translators f83f072d65 (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)
16 years ago
translators 7247ae4cee (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)
16 years ago
translators 89969ffcdf (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)
16 years ago
translators 27c136dd91 (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)
16 years ago
rubidium 1ce8df9dac (svn r14658) -Change: allow changing town names when there are no towns in the scenario yet. 16 years ago
translators 3118413269 (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)
16 years ago
rubidium 9bd1435fcf (svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms. 16 years ago
translators ce333328e2 (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)
16 years ago
translators 22e5118dfa (svn r14654) -Add: stub for Hebrew. 16 years ago
translators a017044c0d (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.
16 years ago
translators d137558ac8 (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)
16 years ago
rubidium 16bed71a05 (svn r14649) -Change: consistently use can't instead of primarily can't and a bit of cannot in english.txt. 16 years ago
translators 6d85d1a6ac (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)
16 years ago
translators e2cfa1d209 (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)
16 years ago
translators 5c67fdadd5 (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)
16 years ago
frosch 728e2543a0 (svn r14643) -Fix: Invalidate autoreplace window when toggling 'replace protection'. 16 years ago
translators 0b4781a9c7 (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)
16 years ago
rubidium 913f51b2fb (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.
16 years ago
translators bacd1d185d (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)
16 years ago
translators 3ac9e31427 (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)
16 years ago
glx 5dbccc6e07 (svn r14638) -Fix [FS#2430]: don't restore fast-forward when SaveFileDone() callback happens after we returned to the menu 16 years ago
translators 663e3e210f (svn r14637) -Add: stub for Arabic (Egypt). 16 years ago
rubidium 5dd4735da1 (svn r14636) -Add: DOS port of OpenTTD, without network support though. 16 years ago
rubidium b0a9ce2d9a (svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000. 16 years ago
rubidium c7a052200d (svn r14634) -Change: _rdtsc is defined by some platforms so we can't use that name. 16 years ago
rubidium 39bbe9714f (svn r14633) -Fix: compile failure when building a debug build without network support. 16 years ago