Commit Graph

11548 Commits

Author SHA1 Message Date
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
frosch 204a6b16c3 (svn r22333) -Change: Prefer deleting automatic orders instead of inserting new ones. 2011-04-16 17:20:08 +00:00
frosch 74069dbda3 (svn r22332) -Fix: When inserting automatic orders, do not create consecutive duplicate orders. 2011-04-16 17:18:04 +00:00
frosch 8dd2f413bd (svn r22331) -Change: When inserting an (automatic) order A in front of an order B, disable modifications of automatic orders for all vehicles currently heading for B as we do not know whether they will reach A or B first. (except for the vehicle causing the insertion of the automatic order itself) 2011-04-16 17:06:59 +00:00
frosch 181fd5e3ab (svn r22330) -Change: When a conditional order triggers and causes skipping to a particular order, disable modifications to automatic orders. till reaching the next real order, as we do not know whether to change the targets of conditional orders when inserting automatic orders. (So, when the vehicle skips to an order and later inserts an automatic order, the conditional order will still point to the same order, so the automatic order will be inserted again the next time.) 2011-04-16 17:02:28 +00:00
frosch 709f0e4f83 (svn r22329) -Change: When the current orders are interrupted for non-ordered service, disable modifications to automatic orders until the next real order is completed. (train part already slipped by in r22328) 2011-04-16 16:56:24 +00:00
frosch 194a941a37 (svn r22328) -Add: a flag to GroundVehicles to disable insertion and removal of automatic orders until the next real order is reached. 2011-04-16 16:45:35 +00:00
frosch aedd38255b (svn r22327) -Add: Vehicle::GetGroundVehicleFlags() for accessing GroundVehicle<>::gv_flags through a Vehicle struct. 2011-04-16 16:41:02 +00:00
frosch 30b4bad60c (svn r22326) -Fix: Destinations of conditional orders were update incorrectly when deleting orders in front of the conditional orders, if the target order wwas the order just before of the conditional order. 2011-04-16 16:26:08 +00:00
rubidium 52b7c63683 (svn r22325) -Fix: Slovenian iso code was wrong 2011-04-15 19:04:42 +00:00
frosch 5eafcd8de6 (svn r22324) -Fix: Vehicles skipped orders when inserting automatic orders failed. 2011-04-15 19:03:55 +00:00
translators 2cbffe0423 (svn r22323) -Update from WebTranslator v3.0:
norwegian_bokmal - 3 changes by 2rB
norwegian_nynorsk - 41 changes by 2rB
slovenian - 2 changes by ntadej
2011-04-15 17:45:13 +00:00
planetmaker 2f226fb725 (svn r22322) -Fix [FS#4593]: Obey the law of conservation of parantheses in the console help 2011-04-15 06:20:01 +00:00
translators c4a4866316 (svn r22321) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
russian - 1 changes by KorneySan
2011-04-13 17:45:11 +00:00
orudge 8d8fda5662 (svn r22320) -Fix [FS#4590]: "Shopping centre" is more accurate in British English 2011-04-13 14:45:49 +00:00
translators e1ed80d76e (svn r22319) -Update from WebTranslator v3.0:
portuguese - 1 changes by JayCity
thai - 1 changes by kenny
vietnamese - 1 changes by nglekhoi
2011-04-12 17:45:13 +00:00
translators 4ea89306e2 (svn r22318) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
croatian - 1 changes by VoyagerOne
korean - 1 changes by junho2813
2011-04-11 17:45:14 +00:00
translators 988145d72b (svn r22317) -Update from WebTranslator v3.0:
dutch - 1 changes by Yexo
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 2 changes by Rubidium
italian - 1 changes by lorenzodv
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
2011-04-10 17:45:28 +00:00
frosch 12bed9ac5a (svn r22316) -Fix: [NewGRF] When determining refittability use the cargo translation table of the GRF setting the refitmask instead of the GRF defining the action 3. 2011-04-10 17:21:43 +00:00
frosch 338cc7874d (svn r22315) -Fix (r22314): Update comment as well. 2011-04-10 16:10:06 +00:00
frosch fa7c1d8a34 (svn r22314) -Change: Put NewGRF supplied townnames at the top of the dropdown list. 2011-04-10 16:08:14 +00:00
frosch f3ea5524d2 (svn r22313) -Cleanup (r22312): Remove some dead code. 2011-04-10 15:30:24 +00:00
frosch 93276c1c03 (svn r22312) -Codechange: Add GameOptionsWindow::BuildDropDownList() for construction of all dropdown lists in the GameOptionsWindow.
-Change: Sort the items in the currency dropdown; separate the "Custom" item with a horizontal line from the rest.
-Change: Separate default and NewGRF-supplied townnames with a horizontal line and only sort them within these groups.
-Fix: Resize all dropdown lists in the GameOptionsWindow, so no text is truncated.
2011-04-10 15:30:08 +00:00