Commit Graph

11570 Commits

Author SHA1 Message Date
frosch 2cec96388c (svn r22444) -Add: When GRFs are disabled via Action E or due to GRM failure, also display an error in the GUI. 2011-05-11 20:23:37 +00:00
frosch 67b9eda8c6 (svn r22443) -Codechange: Deduplicate code for deactivating GRFs. 2011-05-11 20:22:04 +00:00
frosch b6c4832b1e (svn r22442) -Fix: Do not popup fatal NewGRF error messages in the intro screen. The GRFs are not going to be activated there anyway and the GRF settings GUI will not display the errors either. 2011-05-11 20:20:21 +00:00
translators c435fa0f65 (svn r22441) -Update from WebTranslator v3.0:
german - 1 changes by planetmaker
2011-05-11 17:45:08 +00:00
terkhen df8806bdb4 (svn r22440) -Change: [Windows] Remove Cancel button from information messages. 2011-05-09 20:29:01 +00:00
frosch b7c6424104 (svn r22439) -Fix (r22291, r22426): Drawing lines of length zero failed. 2011-05-08 18:20:21 +00:00
translators c4a15a6a9e (svn r22438) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
romanian - 6 changes by tonny
2011-05-08 17:45:09 +00:00
frosch 493a45ede5 (svn r22437) -Fix: Catenary was drawn incorrectly next to level crossings with foundations. (same as r3935, but for level crossings) 2011-05-08 16:19:04 +00:00
frosch 76c7cbff70 (svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1. 2011-05-08 15:58:59 +00:00
terkhen 6cbc7be92b (svn r22434) -Feature [FS#4591]: [NewGRF] Allow to filter by town of the current industry when using industry variable 0x68 (Yexo) 2011-05-07 10:20:29 +00:00
frosch 83c5f77810 (svn r22433) -Add/Fix: Add constants for the palette colours used in the smallmap and fix some windows palette indices. 2011-05-07 00:22:46 +00:00
frosch c2be206cd9 (svn r22432) -Codechange: Simplify smallmap colour constants using some more specialised macros. 2011-05-07 00:15:46 +00:00
michi_cc 3536f4086a (svn r22431) -Fix (r22399): NETWORK_RECV_STATUS_MALFORMED_PACKET != false. 2011-05-06 22:17:34 +00:00
frosch 844dc8646f (svn r22430) -Fix: COAL, RUBR, SUGR and the coalmine used windows palette colours in smallmap/legends etc.. 2011-05-06 22:10:50 +00:00
frosch 5e449b8fae (svn r22429) -Add: some constants for specific palette colours used in the GUI. 2011-05-06 21:13:29 +00:00
michi_cc 4b0a2fbe29 (svn r22428) -Codechange: Reduce code duplication in the smallmap legend. 2011-05-06 20:57:02 +00:00
translators ddd4981f52 (svn r22427) -Update from WebTranslator v3.0:
belarusian - 3 changes by KorneySan, Wowanxm
catalan - 4 changes by arnau
croatian - 3 changes by VoyagerOne
2011-05-06 17:45:13 +00:00
frosch f976cddcba (svn r22426) -Fix (r22291): Drawing vertical and horizontal lines of width 1 missed drawing the first pixel. 2011-05-05 20:20:52 +00:00
translators 1e8f2cd7e9 (svn r22425) -Update from WebTranslator v3.0:
french - 3 changes by ElNounch
italian - 3 changes by lorenzodv
polish - 6 changes by lion
russian - 3 changes by Lone_Wolf
serbian - 3 changes by etran
vietnamese - 2 changes by nglekhoi
2011-05-05 17:45:23 +00:00
rubidium c4aa943aaa (svn r22424) -Document: some more bits 2011-05-05 16:24:48 +00:00
rubidium 944a5cb7aa (svn r22423) -Document: some network stuff 2011-05-04 20:24:23 +00:00
translators 14081d91c9 (svn r22422) -Update from WebTranslator v3.0:
dutch - 3 changes by habell
english_US - 3 changes by Rubidium
finnish - 3 changes by jpx_
brazilian_portuguese - 3 changes by Tucalipe
2011-05-04 17:45:17 +00:00
frosch 22286bd7b6 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 2011-05-04 17:45:16 +00:00
frosch bfb419f9d8 (svn r22420) -Cleanup: Replace the somewhat mixed DOS+Windows palette with the pure DOS palette. Also blank the animation colours, which are filled from a different array anyway. 2011-05-04 17:15:54 +00:00
frosch bbcd2bab5d (svn r22419) -Change: Always use the DOS palette for drawing.
-Remove: the '-i' option for palette selection.
2011-05-04 17:12:37 +00:00
frosch c7a9c7dc92 (svn r22418) -Fix (r22417): Messed up the palette detection of the extra base grf. 2011-05-03 20:48:53 +00:00
frosch bfd09004fe (svn r22417) -Add: an advanced setting to specify the default palette to use for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics and '-i' option. 2011-05-03 20:30:26 +00:00
frosch dbfd156eb6 (svn r22416) -Fix: When action14 specified different values for the palette, the values were OR-ed. Use the last set value instead. 2011-05-03 20:19:57 +00:00
rubidium 3c86fddf4e (svn r22414) -Fix [FS#4606]: kicking thyself via remote console crashes the server 2011-05-03 15:05:15 +00:00
rubidium ff143c6708 (svn r22413) -Document: even more stuff 2011-05-02 20:59:54 +00:00
translators cf30941fab (svn r22412) -Update from WebTranslator v3.0:
french - 2 changes by glx
norwegian_nynorsk - 2 changes by 2rB
2011-05-02 17:45:09 +00:00
rubidium fb5ecb9499 (svn r22411) -Document: another bunch of bits 2011-05-02 17:42:12 +00:00
rubidium 4d5dbf5170 (svn r22410) -Document: some more bits ;) 2011-05-02 16:14:23 +00:00
yexo e9837ff1ec (svn r22409) -Fix: [NewGRF] make sure the action2 ID of a generic feature callback is valid 2011-05-01 21:02:18 +00:00
yexo 6a1eb377ae (svn r22408) -Cleanup: remove unused variable GRFFile::sprite_offset 2011-05-01 20:46:36 +00:00
rubidium 428044e033 (svn r22407) -Document: the "root" driver related stuff 2011-05-01 20:04:09 +00:00
rubidium 5a620d1c65 (svn r22406) -Document: some more "random-ish" tidbits 2011-05-01 19:51:52 +00:00
rubidium 1a515e6344 (svn r22405) -Document: some more "random-ish" tidbits 2011-05-01 19:14:12 +00:00
translators b27dd1dcd7 (svn r22404) -Update from WebTranslator v3.0:
brazilian_portuguese - 4 changes by Tucalipe
2011-05-01 17:45:08 +00:00
rubidium 99ec3a044a (svn r22403) -Document: some more network/core code 2011-05-01 13:29:40 +00:00
rubidium 536c581923 (svn r22401) -Codechange: replace some defines in the udp code so doxygen can create better documentation 2011-05-01 12:18:34 +00:00
rubidium 2e572b98de (svn r22400) -Codechange: replace some defines in the tcp/game code so doxygen can create better documentation 2011-05-01 11:30:03 +00:00
rubidium d4737e0724 (svn r22399) -Codechange: replace some defines in the tcp/content code so doxygen can create better documentation 2011-05-01 11:13:11 +00:00
rubidium b2efd73773 (svn r22398) -Codechange: remove some defines from the tcp/admin code, so doxygen can create better documentation 2011-05-01 11:01:57 +00:00
rubidium 485c7cd99e (svn r22397) -Document: some tidbits of the blitter code 2011-05-01 10:15:33 +00:00
rubidium 70c7ec30b1 (svn r22396) -Document: some AI doxygen stuff 2011-05-01 09:24:19 +00:00
yexo abc2352537 (svn r22389) -Fix [FS#4600]: try to make sure there is an early house available in the current climate for every townzone, not just a single available house for all climates/townzones 2011-04-30 19:44:20 +00:00
rubidium 0e1ac234d8 (svn r22388) -Fix: when a game uses a lot of NewGRFs the buffer for storing that information in the PNG is too small 2011-04-30 17:44:12 +00:00
rubidium c2ac411e69 (svn r22387) -Fix-ish [FS#4601]: Windows' recv seems to return "graceful closed" before having passed the remaining buffer which causes OpenTTD to think all connections are "incorrectly" terminated, i.e. without the "I'm leaving" packet from the client. So let the client wait a tiny bit after sending the "I'm leaving" packet and before gracefully closing the connection 2011-04-30 17:41:14 +00:00
frosch bdc8a59ff4 (svn r22386) -Fix [FS#4602]: When the last AI company gets removed, the 'dead' state was not reset in the AI debug window. 2011-04-30 17:08:18 +00:00
rubidium 46c242b1dc (svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h. 2011-04-30 14:24:23 +00:00
rubidium 1c1e9f6941 (svn r22384) -Fix [FS#4585]: No client error packet was sent to the admin bots 2011-04-30 12:09:26 +00:00
frosch 1ffd720f81 (svn r22383) -Codechange: Rename PALETTE_TO_STRUCT_GREY to PALETTE_NEWSPAPER as it does not belong to the other PALETTE_TO_STRUCT_xxx recolourings. 2011-04-29 20:47:36 +00:00
planetmaker 461b75725c (svn r22382) -Fix (r22381): Apply the change of string names also to the unfinished translations 2011-04-29 19:27:37 +00:00
planetmaker a04672454f (svn r22381) -Codechange: It's called 'steel', not 'steele' 2011-04-29 15:26:12 +00:00
planetmaker 488051ae30 (svn r22378) -Fix: The recolouring scheme applied to the silicon bridge recoloured too much 2011-04-29 15:03:14 +00:00
translators 2169b85f24 (svn r22377) -Update from WebTranslator v3.0:
hungarian - 3 changes by IPG
spanish - 1 changes by Terkhen
2011-04-27 17:45:09 +00:00
translators 1f85bb5260 (svn r22376) -Update from WebTranslator v3.0:
simplified_chinese - 6 changes by Gavin
portuguese - 1 changes by JayCity
slovenian - 2 changes by Necrolyte
2011-04-25 17:45:14 +00:00
translators f1a87e25a8 (svn r22375) -Update from WebTranslator v3.0:
portuguese - 3 changes by jomasaco
2011-04-24 17:45:06 +00:00
translators 3336886cfe (svn r22374) -Update from WebTranslator v3.0:
english_US - 2 changes by Rubidium
slovenian - 32 changes by
2011-04-23 17:45:12 +00:00
yexo d30a9ea6a2 (svn r22373) -Fix (r19955) (r20041) [FS#4592]: crash when clicking a removed company in the vehiclelist dropdowns 2011-04-22 21:51:34 +00:00
rubidium 380d4b277b (svn r22372) -Fix (r22364) [FS#4598]: segmentation fault when trying to get the server's IP 2011-04-22 19:53:28 +00:00
rubidium 75b87c554f (svn r22371) -Fix [FS#4596]: make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock 2011-04-22 16:09:46 +00:00
rubidium ce91f6b45e (svn r22370) -Codechange/fix: keep better accounting of the order in which clients joined:
* Clients can't be starved from joining the game
 * Clients will see the amount of clients actually waiting in front of them, instead of the amount of waiting clients in total
2011-04-22 16:07:47 +00:00
rubidium cdfc0ec4a3 (svn r22369) -Codechange: allocate ClientInfo when needed, i.e. don't allocate it for clients that are there to just get a list of companies. This means that these short lived clients won't be seen by the admin network in their client queries anymore 2011-04-22 16:05:05 +00:00
rubidium 2cae0cd54c (svn r22368) -Codechange: move the IP address field from the ClientInfo to ClientSocket 2011-04-22 16:03:48 +00:00
rubidium 146d532d51 (svn r22367) -Codechange: send ClientSockets instead of ClientInfos to the admin "core" as they send IP addresses to the admin "bots" 2011-04-22 16:03:13 +00:00
rubidium c61abe0019 (svn r22366) -Codechange: make GetClientIP a function of the server's ClientSocket, after all the Socket is the bit that's associated with the network 2011-04-22 16:02:21 +00:00
rubidium caf02450fb (svn r22365) -Codechange: add overload of NetworkServerKickOrBanIP using the ClientID, which later resolves the IP address to ban. This to consolidate the knowledge about resolving IP addresses 2011-04-22 15:59:32 +00:00
rubidium 1c419d99bc (svn r22364) -Codechange: don't show the (unknown) client address in the client list at clients 2011-04-22 15:57:05 +00:00
rubidium f1d0c1a746 (svn r22363) -Codechange: NetworkFindClientStateFromClientID -> NetworkClientSocket::GetByClientID 2011-04-22 15:54:42 +00:00
rubidium bc9a803ea9 (svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID 2011-04-22 15:54:16 +00:00
rubidium 393fb8e46b (svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client) 2011-04-22 15:53:40 +00:00
rubidium 2802c742a4 (svn r22360) -Codechange: use globally unique client id to mark the selected client instead of the position in the client list 2011-04-22 15:52:50 +00:00
rubidium 2f9b6156ee (svn r22359) -Codechange: pass client info pointers instead of the position to the client popup list's callbacks 2011-04-22 15:51:52 +00:00
rubidium 835ae31f45 (svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups 2011-04-22 15:50:13 +00:00
smatz e2d5ce1b0e (svn r22357) -Fix (r22345): crash when opening the chat box or company password input box 2011-04-22 15:03:08 +00:00
glx e6659eb875 (svn r22356) -Fix (r22342): somehow empty and useless new files were added 2011-04-21 19:21:02 +00:00
translators 454999ff9f (svn r22355) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
croatian - 1 changes by VoyagerOne
slovenian - 32 changes by
2011-04-21 17:45:14 +00:00
translators ba7b0237de (svn r22354) -Update from WebTranslator v3.0:
czech - 3 changes by SmatZ
dutch - 1 changes by habell
finnish - 1 changes by jpx_
italian - 1 changes by lorenzodv
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 32 changes by 
swedish - 1 changes by Ledel
vietnamese - 1 changes by nglekhoi
2011-04-20 17:45:33 +00:00
smatz e27d8e03ec (svn r22353) -Cleanup (r22352): remove unused strings from all language files 2011-04-19 18:50:03 +00:00
smatz c3f1fd5716 (svn r22352) -Change: make YAPF the default pathfinder for ships, don't discourage players from using it 2011-04-19 18:47:36 +00:00
smatz 9eafc6c28f (svn r22351) -Revert (r17101): and reinstall r16546. Hash tables are much smaller now, so it shouldn't cause crash anymore 2011-04-19 18:20:34 +00:00
smatz 0c55cbfa73 (svn r22350) -Change: make YAPF hash tables much smaller, it should improve performance significantly (about 15%) 2011-04-19 18:12:47 +00:00
translators b1e3b098d1 (svn r22349) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
russian - 1 changes by KorneySan
slovenian - 32 changes by 
vietnamese - 1 changes by nglekhoi
2011-04-19 17:45:16 +00:00
smatz 6e011e9e68 (svn r22348) -Codechange: split ship-specific part of yapf_node.hpp to yapf_node_ship.hpp 2011-04-19 15:00:11 +00:00
translators 64cd6a62a2 (svn r22347) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 1 changes by habell
estonian - 1 changes by notAbot
finnish - 1 changes by jpx_
italian - 1 changes by lorenzodv
portuguese - 1 changes by JayCity
serbian - 1 changes by etran
slovenian - 32 changes by 
spanish - 1 changes by Terkhen
2011-04-18 17:45:34 +00:00
terkhen 8bc9925ade (svn r22346) -Cleanup: Textbuf::max_pixels is not required anymore. 2011-04-17 18:45:36 +00:00
terkhen 5bb7a48cd2 (svn r22345) -Change: Remove pixel limiter for text buffers. 2011-04-17 18:44:09 +00:00
terkhen 0bd44f60e9 (svn r22344) -Codechange: Remove width constant from the sign list window. 2011-04-17 18:43:17 +00:00
terkhen 10caf391a1 (svn r22343) -Change: Remove pixel limiter for query strings. 2011-04-17 18:42:17 +00:00
glx e874f0e16e (svn r22342) -Fix (r22338): fix the right place and run the script 2011-04-17 17:56:33 +00:00
peter1138 d91d61d643 (svn r22341) -Change: Remove string unused since r22337 2011-04-17 17:56:31 +00:00
translators 9f3062f6ac (svn r22340) -Update from WebTranslator v3.0:
french - 1 changes by glx
german - 1 changes by planetmaker
brazilian_portuguese - 1 changes by Tucalipe
slovenian - 32 changes by 
swedish - 2 changes by Ledel
2011-04-17 17:45:20 +00:00
glx e7cebee7fe (svn r22339) -Fix: french uses NBSP as digit separator, not dot 2011-04-17 17:34:18 +00:00
peter1138 2080002461 (svn r22338) -Fix (r22337): Compile-before-commit... 2011-04-17 17:34:09 +00:00
peter1138 7b4620d66b (svn r22337) -Fix: Overly specific error message 2011-04-17 17:28:33 +00:00
frosch f4649c7ce7 (svn r22336) -Fix (r22304): {DECIMAL} printed too many thousand separators. 2011-04-17 17:17:09 +00:00
smatz b1286bbcda (svn r22335) -Cleanup (r22308): remove superfluous tabs 2011-04-17 13:36:51 +00:00
translators ec45870fc4 (svn r22334) -Update from WebTranslator v3.0:
slovenian - 72 changes by klemenkosir
2011-04-16 17:45:08 +00:00