Commit Graph

10466 Commits

Author SHA1 Message Date
rubidium
3ddde0c8d6 (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
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) 2008-12-23 08:39:30 +00:00
rubidium
bdd92008cf (svn r14718) -Change: remove some direct network core variable accesses from non-network locations. 2008-12-22 21:38:03 +00:00
rubidium
7403790ba4 (svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ClientIndex 2008-12-22 21:30:21 +00:00
rubidium
dbb2950e83 (svn r14716) -Codechange: move more network core querying to the network files. 2008-12-22 21:26:26 +00:00
rubidium
8e81749872 (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
648d7072a4 (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
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)
2008-12-22 18:44:01 +00:00
rubidium
d146b48063 (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
c393913563 (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
a4c27263bb (svn r14710) -Change: simplify sending company information from the server to the client. 2008-12-22 15:17:14 +00:00
rubidium
6d23f48bb6 (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
rubidium
415d5abc54 (svn r14708) -Change: update a few urls and fix some small errors/missing things in a few documents. 2008-12-20 20:44:47 +00:00
frosch
ee9fc4e49b (svn r14707) -Cleanup: Replace an 'int' by 'Trackdir'. 2008-12-20 20:26:40 +00:00
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)
2008-12-20 18:38:00 +00:00
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.
2008-12-20 17:21:22 +00:00
frosch
dca37f1cb0 (svn r14704) -Codechange: Add set capabilities to SmallVector. 2008-12-20 17:09:44 +00:00
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. 2008-12-20 15:30:18 +00:00
frosch
f1e02ab1ed (svn r14702) -Documentation: Add a note about the meaning and validity of Vehicle::dest_tile. 2008-12-20 11:51:52 +00:00
rubidium
552ce7bda7 (svn r14701) -Change: Debian's lintian complains about not using the best compression for compressing the man-page. 2008-12-20 11:03:07 +00:00
smatz
c6c3124c30 (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
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. 2008-12-20 00:16:23 +00:00
rubidium
fbc0e5edbe (svn r14697) -Fix: some int vs unsigned int comparisons in strgen. 2008-12-19 23:24:42 +00:00
frosch
0f72032d44 (svn r14696) -Fix (r10495): Words now consist of 16 bits. 2008-12-19 23:13:51 +00:00
frosch
d64b89838e (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
a59ddd79a1 (svn r14694) -Fix (r1): zeppeliner (disaster) should target st->airport_tile, not st->xy 2008-12-19 21:12:16 +00:00
smatz
82ef029f41 (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
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)
2008-12-19 18:43:42 +00:00
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)
2008-12-18 18:47:39 +00:00
rubidium
9e95890507 (svn r14689) -Change: make configure die on commonly made user mistakes, like not having SDL development files or zlib headers installed; you can still compile a dedicated server or a binary without zlib, but you have to explicitly force it. 2008-12-18 12:23:08 +00:00
rubidium
b2a1e2a8c2 (svn r14688) -Change: silence the "command not found" error when trying to find the svn/git/hg binary. 2008-12-17 23:12:35 +00:00
rubidium
765c67622e (svn r14687) -Change: log all configure errors to config.log 2008-12-17 23:08:11 +00:00
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)
2008-12-17 18:01:19 +00:00
glx
6a04497e69 (svn r14685) -Change: don't popup cmd windows when determining version (MSVC) 2008-12-17 00:48:18 +00:00
glx
f7bee20165 (svn r14684) -Codechange: use SubWCRev object to get version info instead SubWCRev.exe for tortoiseSVN (Darkvater) 2008-12-16 23:02:22 +00:00
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.
2008-12-16 22:02:12 +00:00
frosch
4c01a1c6af (svn r14682) -Fix (r14672): Check the correct savegame version. (Thanks SmatZ) 2008-12-16 20:15:36 +00:00
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)
2008-12-16 18:43:02 +00:00
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'.
2008-12-16 18:09:40 +00:00
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. 2008-12-16 17:58:27 +00:00
rubidium
f1c7e4662a (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
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)
2008-12-15 11:39:23 +00:00
frosch
38181a23cd (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
593f034c07 (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
445767cc4c (svn r14674) -Fix (r4965): Check sprite size when executing action 6. 2008-12-13 19:43:57 +00:00
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)
2008-12-13 18:45:37 +00:00
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).
2008-12-13 18:25:42 +00:00
smatz
a5b33d1f3b (svn r14671) -Fix: compilation was broken for some systems 2008-12-13 18:19:44 +00:00
smatz
9514b0b9b7 (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
ae6107535a (svn r14669) -Codechange: use SmallVector instead of std::list at one place 2008-12-13 15:59:25 +00:00