Commit Graph

18956 Commits

Author SHA1 Message Date
truebrain 091bc25a90 (svn r23714) -Codechange: don't mix Viewport with non-viewport code 2012-01-02 13:44:37 +00:00
truebrain 0d929e877f (svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible 2012-01-02 13:44:30 +00:00
truebrain 19004a77f8 (svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in 2012-01-02 12:07:50 +00:00
truebrain 0e9a98619d (svn r23711) -Codechange: don't chain the two vehicle hashes, but call them one by one 2012-01-02 12:07:42 +00:00
rubidium 6ed84aff8d (svn r23710) -Change: make the default secondary sort method for the server list the number of clients instead of the name 2012-01-01 22:35:19 +00:00
rubidium 9a921fd0ae (svn r23709) -Feature-ish: try harder to sort text instead of fancy characters in the server names 2012-01-01 22:32:26 +00:00
truebrain cb414b09d2 (svn r23708) -Codechange: apply the same trick as r23701 to GetTileSlope(), gaining similar benefits 2012-01-01 19:20:08 +00:00
translators 62b00c1da8 (svn r23707) -Update from WebTranslator v3.0:
catalan - 22 changes by arnau
indonesian - 19 changes by rusydan
italian - 2 changes by lorenzodv
russian - 2 changes by Lone_Wolf
serbian - 2 changes by etran
2012-01-01 18:45:38 +00:00
smatz bcd3f2bb59 (svn r23706) -Codechange: prevent 'unknown command' doxygen errors 2012-01-01 17:36:19 +00:00
smatz a90b767995 (svn r23705) -Codechange: cache the last processed station in FindStationsAroundTiles() in order to make the code a bit faster 2012-01-01 17:32:45 +00:00
alberth 4af8c2d5e1 (svn r23704) -Doc: Doxygen comment fixes and additions. 2012-01-01 17:22:32 +00:00
truebrain da460f6928 (svn r23703) -Codechange: allow a compiler to inline a wrapper function, avoiding creation of a function stack, massively increasing its speed, for a function that is called often 2012-01-01 16:38:38 +00:00
truebrain 3b2ecfab01 (svn r23702) -Codechange: avoid using TileAddWrap() in FindStationsAroundTiles() by finding out where the border is in advance, speeding up the function with a factor 3 (you got to love random statistics which has no real meaning in the grand scheme of it all :D) 2012-01-01 16:23:05 +00:00
truebrain 6f6035ce0b (svn r23701) -Codechange: give TileAddWrap() a 27% speed-up, by swapping entries in an if() statement, and reusing already calculated values (tnx to SmatZ for the ideas) 2012-01-01 16:01:51 +00:00
truebrain 39f2d75e03 (svn r23700) -Fix: the size of the Subsidies pool used a random macro, which didn't really make sense in the grand scheme of things 2012-01-01 10:50:46 +00:00
truebrain a057b8c634 (svn r23699) -Fix [FS#4928] (r23630): too much copy/pasting only allowed a silly low amount of goals to be created. 2012-01-01 10:50:38 +00:00
rubidium b111813d0b (svn r23698) -Fix (r21685): small, apparantly yearly reoccuring, typo 2012-01-01 00:05:02 +00:00
translators 6d0cf1d2ea (svn r23697) -Update from WebTranslator v3.0:
belarusian - 1 changes by Wowanxm
czech - 2 changes by SmatZ
dutch - 1 changes by Yexo
english_US - 13 changes by Rubidium
french - 2 changes by glx
german - 1 changes by planetmaker
hebrew - 1 changes by rril
indonesian - 85 changes by rusydan
norwegian_bokmal - 116 changes by mantaray
romanian - 1 changes by tonny
spanish - 2 changes by Terkhen
2011-12-31 18:45:53 +00:00
rubidium 167813aded (svn r23696) -Fix (r23695): 5 <-> 6... today is not my day 2011-12-31 15:02:14 +00:00
rubidium 8b223f0274 (svn r23695) -Fix/Feature [FS#4916]: make a distinction between fully zoomed in and default zoomed in screenshots 2011-12-31 14:56:39 +00:00
rubidium 20931c5af8 (svn r23694) -Fix (rprev): somehow compilers didn't understand what I meant... 2011-12-31 13:57:09 +00:00
rubidium a137c838f9 (svn r23693) -Fix [FS#4859]: hardcode the original defaults for loading old savegames if they could totally mess with the game's behaviour 2011-12-31 13:52:54 +00:00
rubidium 1a6d352b92 (svn r23692) -Fix: use smallest_x of your children only when you let the children update it 2011-12-31 11:14:03 +00:00
truebrain f27b7e2a78 (svn r23691) -Fix: signed/unsigned issues, causing asserts for some languages in relation to the serverlist 2011-12-31 10:55:00 +00:00
rubidium 440b63da33 (svn r23690) -Fix: massive typo ;) 2011-12-31 10:08:18 +00:00
translators 4d71d3868d (svn r23689) -Update from WebTranslator v3.0:
simplified_chinese - 23 changes by chenwt0315
norwegian_bokmal - 236 changes by mantaray
swedish - 9 changes by tobjork
2011-12-30 18:45:18 +00:00
michi_cc 977c1fa68a (svn r23688) -Codechange: No need to check if a train needs servicing if we only extend a train's path without actually calling the pathfinder. The path extension will stop when hitting a junction tile, so it is impossible to miss a depot this way. 2011-12-30 17:56:37 +00:00
rubidium 433af5215a (svn r23687) -Fix [FS#4922]: document where the game script directory is 2011-12-30 12:07:28 +00:00
michi_cc 24d530b55d (svn r23686) -Fix [FS#4921] (r23413): Infrastructure count of canals/locks/ship depots wasn't updated properly when a company went into bankruptcy or was taken over. 2011-12-29 20:10:06 +00:00
translators 35b76bc8a9 (svn r23685) -Update from WebTranslator v3.0:
norwegian_bokmal - 67 changes by mantaray
swedish - 25 changes by tobjork
vietnamese - 1 changes by nglekhoi
welsh - 50 changes by kazzie
2011-12-29 18:45:21 +00:00
rubidium fbbfaac819 (svn r23684) -Cleanup: let the highway take the highway 2011-12-28 20:06:51 +00:00
rubidium 8d125a60ce (svn r23683) -Fix [FS#4912]-ish: when fitting another engine the cargo capacity of wagons could become lower, causing them to contain more than they should. This caused the cargo transfer from the replaced parts to put even more stuff in the already full wagon. Prevent this from happening by reducing the amount of cargo in the vehicle to the capacity when moving vehicles/wagons around, or when autoreplacing 2011-12-28 19:48:04 +00:00
translators 660e5b286f (svn r23682) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
serbian - 11 changes by etran
2011-12-28 18:45:12 +00:00
rubidium 7d2061516a (svn r23681) -Fix [FS#4914]: vehicle numbers got misaccounted when autoreplacing failed due to length checks 2011-12-28 17:34:44 +00:00
rubidium 98fdf81320 (svn r23680) -Fix [FS#4915]: prevent removal of the (AI) company the local player is in 2011-12-28 17:33:12 +00:00
translators 156e25d375 (svn r23679) -Update from WebTranslator v3.0:
swedish - 48 changes by tobjork
tamil - 26 changes by aswn
2011-12-27 18:45:10 +00:00
truebrain 96e1f0a8f0 (svn r23678) -Fix: close the editbox of settings when changing an AI, to avoid invalid memory read/write (reported by SmatZ) 2011-12-27 15:35:47 +00:00
truebrain 0e6ca77e1a (svn r23677) -Fix [FS#4909]: invalidate AI Parameters window when changing AI 2011-12-27 15:17:42 +00:00
rubidium 2c09939bd3 (svn r23676) -Fix [FS#4913] (r23412): when removing road stops the wrong tile was checked for updating the infrastructure cache 2011-12-27 13:45:30 +00:00
translators 3f7b812891 (svn r23675) -Update from WebTranslator v3.0:
belarusian - 3 changes by Wowanxm
indonesian - 18 changes by fanioz
persian - 47 changes by Peymanpn
urdu - 19 changes by haider
2011-12-26 18:45:19 +00:00
michi_cc 47171c7829 (svn r23674) -Fix (r23670): Don't read invalid memory in the 32bpp simple blitter. 2011-12-26 14:53:19 +00:00
rubidium f7c7271ecf (svn r23673) -Codechange: prepare the installers for some (future) massive changes in OpenGFX w.r.t. compatability with earlier versions 2011-12-26 13:21:37 +00:00
rubidium 1143f0451a (svn r23672) -Fix: WT3 validation failure 2011-12-25 18:47:48 +00:00
translators cf4f7399a1 (svn r23671) -Update from WebTranslator v3.0:
hebrew - 1 changes by rril
indonesian - 10 changes by fanioz
korean - 123 changes by telk5093
russian - 2 changes by Lone_Wolf
vietnamese - 32 changes by nglekhoi
2011-12-25 18:45:29 +00:00
peter1138 3ef77e55c5 (svn r23670) -Feature: Add ability to adjust brightness of colour after remapping for 32bpp sprites 2011-12-24 23:33:45 +00:00
translators dc497258d6 (svn r23669) -Update from WebTranslator v3.0:
estonian - 112 changes by notAbot
hebrew - 2 changes by rril
slovenian - 33 changes by ntadej
swedish - 7 changes by Zuu
2011-12-24 18:45:21 +00:00
smatz 2fb22e8214 (svn r23668) -Fix: the 'Configure' button in the 'AI / Game Configuration' window didn't get enabled when activating a GameScript 2011-12-24 13:08:11 +00:00
rubidium 2bbbff64e4 (svn r23666) -Document: the usual pre-Christmas documentation spree 2011-12-24 08:56:18 +00:00
truebrain 7702151a62 (svn r23665) -Fix (r23664): revert, and apply other fix, which allows switching companies safely in SinglePlayer 2011-12-23 23:34:19 +00:00
truebrain d6e88a7cab (svn r23664) -Fix: adding goals with a company were still added for all companies. Tnx to Zuu for reporting (although cryptic :D) 2011-12-23 23:29:59 +00:00