Commit Graph

11935 Commits

Author SHA1 Message Date
frosch a241a4ce97 (svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers. 2011-05-29 16:56:22 +00:00
frosch 5b449145f7 (svn r22517) -Fix (r22472): If a NewGRF sprite ran out of bytes at a very specific point, data might be freed twice. 2011-05-29 16:54:40 +00:00
frosch 8f921c8747 (svn r22516) -Codechange: Replace some magic numbers with the appropiate enum values. (Eddi) 2011-05-29 08:56:05 +00:00
translators c904e7ede5 (svn r22515) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
finnish - 2 changes by jpx_
norwegian_bokmal - 9 changes by kristoffer_hh
russian - 2 changes by Lone_Wolf
slovenian - 1 changes by ntadej
2011-05-28 17:45:18 +00:00
alberth 9bc3d8861f (svn r22514) -Feature: Save heightmap in scenario editor. 2011-05-28 13:56:35 +00:00
alberth c6f3ded6d5 (svn r22513) -Add: Allow for saving a heightmap from the file dialogue window. 2011-05-28 13:55:59 +00:00
alberth f1cae9960f (svn r22512) -Add: Save heightmap. 2011-05-28 13:55:34 +00:00
alberth 1838225192 (svn r22511) -Add: Function to make heightmap file paths. 2011-05-28 13:55:05 +00:00
alberth 84f7fc32fa (svn r22510) -Codechange: Extract filepath creation to its own function. 2011-05-28 13:54:42 +00:00
alberth be048e05f2 (svn r22509) -Add: Save heightmap. 2011-05-28 13:54:18 +00:00
alberth 64745b4d0d (svn r22508) -Codechange: Lift default screenshot filename out of MakeScreenshotName. 2011-05-28 13:53:52 +00:00
alberth c8cbc8ef97 (svn r22507) -Doc: Document SwitchMode. 2011-05-28 09:56:14 +00:00
frosch 460d24fd83 (svn r22506) -Feature [FS#4625]: Make the transparency options for industries also affect the effect vehicles created by industries. 2011-05-28 09:46:37 +00:00
frosch 71822b6f1b (svn r22505) -Add: Separate EffectVehicleTypes for broken aircraft and smoke at copper ore mine, to make them distinguishable from each other and from smoke due to disasters. (only affects newly spawned effects) 2011-05-28 09:45:12 +00:00
frosch 7c21083227 (svn r22504) -Codechange: Add EV_END and use it to check the lengths of _effect_init_procs and _effect_tick_procs. 2011-05-28 09:43:53 +00:00
frosch 1b34d22620 (svn r22503) -Doc: EffectVehicleType. 2011-05-28 09:43:22 +00:00
glx 986d5e950d (svn r22502) -Fix (r22501): WIN32 compilation 2011-05-28 03:23:34 +00:00
alberth 6e3ef9fa1a (svn r22501) -Codechange: Move FileExists to a better place. 2011-05-27 21:42:51 +00:00
alberth f5637b7975 (svn r22500) -Doc: Fix and add fios doxygen documentation. 2011-05-27 21:20:07 +00:00
yexo ffdfa5a213 (svn r22499) -Fix: don't lower the arrow buttons in the newgrf/AI parameter windows if they're clicked when disabled 2011-05-27 18:02:55 +00:00
translators 56902191e4 (svn r22498) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
2011-05-27 17:45:06 +00:00
planetmaker 8828acd722 (svn r22497) -Codechange: Simplify button handling in airport build GUI 2011-05-27 16:26:10 +00:00
yexo 00e65d1a4d (svn r22496) -Fix: callback result for airport layout name was incorrectly used 2011-05-27 16:06:23 +00:00
planetmaker 9a744793b0 (svn r22495) -Fix: The layout selectors of the airport build GUI did not latch properly 2011-05-27 15:40:32 +00:00
yexo 4ac6f2a994 (svn r22494) -Fix: airport preview sprite can depend on the layout, so update the cached SpriteID when the layout changes 2011-05-27 15:31:54 +00:00
translators a222703d4c (svn r22493) -Update from WebTranslator v3.0:
brazilian_portuguese - 1 changes by Tucalipe
2011-05-26 17:45:07 +00:00
frosch 87515d0873 (svn r22492) -Fix [FS#4624] (r21642, r22328): Only try to insert implicit orders for ground vehicles. Aircraft may reach unscheduled terminals when skippnig orders etc. 2011-05-25 20:10:02 +00:00
terkhen cee94be7db (svn r22491) -Fix [FS#4623]: [Windows] Generate crashlogs correctly in binaries created with MinGW-w64. (JGR) 2011-05-25 16:40:30 +00:00
terkhen 1f3853249d (svn r22490) -Fix [FS#4623]: [Squirrel] Fix compilation under MinGW-w64. (JGR) 2011-05-25 16:35:23 +00:00
rubidium 197fcab295 (svn r22489) -Fix [FS#4623]: don't cast pointers to unsigned long or vice versa 2011-05-22 21:40:26 +00:00
alberth 63923068a2 (svn r22488) -Doc: Add Doxygen comments to screenshot code. 2011-05-22 20:18:38 +00:00
smatz 92cabe0c9f (svn r22487) -Fix (r15216)[FS#4622]: engine IDs for coal and mail wagons were swapped 2011-05-22 19:18:28 +00:00
translators cfdfda0098 (svn r22486) -Update from WebTranslator v3.0:
dutch - 11 changes by Parody
2011-05-22 17:45:06 +00:00
frosch 1f79304125 (svn r22485) -Fix: EnsureVisibleCaption() did not update viewport positions of windows with viewports but without caption. (only triggerable since r22484) 2011-05-21 22:23:13 +00:00
frosch 351c7ab097 (svn r22484) -Fix: The caption of centered windows could be moved out of the main window and thus become inaccessible when resizing the main window. 2011-05-21 22:22:02 +00:00
translators da216d9c2a (svn r22483) -Update from WebTranslator v3.0:
dutch - 2 changes by Parody
2011-05-21 17:45:06 +00:00
frosch 474b4799e8 (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 2011-05-21 11:26:37 +00:00
smatz 2447efdefd (svn r22481) -Fix: compilation with recent GCC 2011-05-21 08:40:50 +00:00
translators 9b54356d3c (svn r22480) -Update from WebTranslator v3.0:
hungarian - 5 changes by IPG
spanish - 1 changes by Terkhen
2011-05-20 17:45:09 +00:00
frosch ebb4f0513a (svn r22479) -Codechange/Fix: Months != quarters. (xi) 2011-05-19 21:03:23 +00:00
translators 1e90bc0d30 (svn r22478) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
estonian - 7 changes by notAbot
italian - 1 changes by lorenzodv
2011-05-19 17:45:12 +00:00
frosch fae2477143 (svn r22476) -Codechange: Deduplicate code for reading sprite layout sprites. 2011-05-18 18:31:23 +00:00
translators 27e30521de (svn r22475) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
portuguese - 6 changes by ABCRic, JayCity
slovenian - 5 changes by Necrolyte
spanish - 1 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2011-05-18 17:45:29 +00:00
planetmaker 29ac44af7c (svn r22474) -Change: Reflect r22473 also in how it reads in the order list 2011-05-18 12:21:55 +00:00
planetmaker 43c8cd1d5e (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 2011-05-18 12:19:58 +00:00
frosch bc6b348e7a (svn r22472) -Fix: When a NewGRF assigned station properties 09 and/or 0A multiple times, the previously allocated sprite layouts were not freed. 2011-05-17 20:11:19 +00:00
translators 64cf720234 (svn r22471) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Tucalipe
2011-05-17 17:45:07 +00:00
translators 9869f92e6a (svn r22470) -Update from WebTranslator v3.0:
luxembourgish - 8 changes by Phreeze
romanian - 2 changes by kkmic
2011-05-16 17:45:11 +00:00
translators 4867556a0c (svn r22466) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
dutch - 2 changes by habell
2011-05-15 17:45:09 +00:00
frosch b319fb31d5 (svn r22465) -Fix [FS#4613]: When determining the executable path failed, the working directory was used instead, circumventing the not-home-directory check. 2011-05-15 17:18:46 +00:00
terkhen 003dee6e38 (svn r22464) -Fix [FS#4587]: [Windows] Prevent a crash when launching OpenTTD with -d from a MSYS console. Added a note to known-bugs about this issue. 2011-05-15 14:51:06 +00:00
frosch 4c63d8e82f (svn r22463) -Fix [FS#4615]: Update the fios GUI immediatelly after scanning a new directory, so queued events reach the window when already updated. 2011-05-15 12:30:14 +00:00
alberth 990ec6f0a9 (svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker). 2011-05-14 18:38:54 +00:00
alberth 28092366ec (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 2011-05-14 18:35:40 +00:00
translators aa4c7e021c (svn r22458) -Update from WebTranslator v3.0:
lithuanian - 10 changes by Fretta
swedish - 1 changes by Ledel
2011-05-14 17:45:11 +00:00
frosch e55f849a29 (svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately. 2011-05-14 17:33:26 +00:00
frosch 7415b9cca2 (svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors. 2011-05-14 17:25:45 +00:00
frosch 3183cb7907 (svn r22455) -Fix (r22286): x != y 2011-05-14 16:01:40 +00:00
frosch 20e86fd5ea (svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() into GetCustomStationRelocation() and only call it if actually needed. 2011-05-14 13:12:47 +00:00
frosch fdd2f8447e (svn r22453) -Feature(ette): Implement variable 18 for custom station foundations. 2011-05-14 12:38:10 +00:00
frosch 930d0c9702 (svn r22452) -Fix (r18708): Zero register 0x100 as specified before resolving custom station foundations. 2011-05-14 12:36:31 +00:00
alberth a63b22991d (svn r22451) -Codechange: Test for bridges and tunnels during the first pass only while terraforming (HackaLittleBit) 2011-05-14 09:26:16 +00:00
rubidium 772fd8f6b5 (svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu 2011-05-13 20:07:57 +00:00
translators 70eae3a7a3 (svn r22446) -Update from WebTranslator v3.0:
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
serbian - 2 changes by etran
2011-05-13 17:45:13 +00:00
translators 05f95f3cb8 (svn r22445) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
croatian - 2 changes by VoyagerOne
french - 2 changes by glx
german - 6 changes by planetmaker
italian - 2 changes by lorenzodv
russian - 2 changes by KorneySan
spanish - 6 changes by Terkhen
2011-05-12 17:45:27 +00:00
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
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
frosch ea1ca5bf1e (svn r22311) -Add: DropDownListStringItem::NatSortFunc() which can be used as comparator function in DropDownList::sort(). 2011-04-10 15:01:14 +00:00
frosch 18f0add50a (svn r22310) -Codechange: Derive DropDownListCharStringItem from DropDownListStringItem. 2011-04-10 14:56:14 +00:00
frosch 5bf90860f8 (svn r22309) -Fix: Make road vehicles, ships and aircraft skip orders if they are leaving a depot and heading to the same one again; just like trains since r16322. 2011-04-10 10:47:21 +00:00
rubidium d1a50a01b4 (svn r22308) -Fix [FS#4574]: waiting on a server could kick the client, or rather the client would kick itself due to an unexpected packet 2011-04-09 21:52:38 +00:00
frosch 6ce83c0aaa (svn r22307) -Fix: When drawing the town authority window, check whether the availability of the actions changed, and force a complete redraw in that case. 2011-04-09 21:15:24 +00:00
rubidium af2f6de903 (svn r22306) -Fix-ish: WT3 still doesn't validate the amount of plural parameters 2011-04-09 20:33:07 +00:00
frosch ce993e7cd4 (svn r22305) -Add: One digit for the fractional part of train lengths in the depot view. 2011-04-09 20:27:34 +00:00
frosch 70f9a6747e (svn r22304) -Add: {DECIMAL} string code to print decimal fractions. 2011-04-09 20:26:14 +00:00
frosch 2c8b7a980f (svn r22303) -Codechange: Simplify the 'zerofill' parameter of FormatNumber() and reduce usage of magic numbers. 2011-04-09 20:12:45 +00:00
frosch ecb3701210 (svn r22302) -Codechange: Replace a linear search with a binary search. 2011-04-09 11:32:11 +00:00
translators 1e64012e9f (svn r22301) -Update from WebTranslator v3.0:
simplified_chinese - 35 changes by Gavin
2011-04-08 17:45:07 +00:00
planetmaker 4313c0a0c8 (svn r22300) -Fix (r22299): Missing out on a ! can have the opposite effect of what was intended 2011-04-07 22:40:27 +00:00
planetmaker 87d07f19e8 (svn r22299) -Fix [FS#4581]: Check the availability year of all houses, not just the NewGRF houses, when making sure that at least one is available onwards from year 0 2011-04-07 22:27:54 +00:00
smatz b5e132924e (svn r22298) -Change: allow enabling 'freeform edges' setting when there is only station label above one of northern tiles 2011-04-07 15:58:21 +00:00
smatz a8862eb77f (svn r22297) -Fix [FS#4580]: the 'freeform edges' setting could be enabled when there were buoys on the northern border (adf88) 2011-04-07 15:48:13 +00:00
translators d52dbc714a (svn r22296) -Update from WebTranslator v3.0:
afrikaans - 8 changes by Kayos
2011-04-05 17:45:07 +00:00
translators 66a93e672e (svn r22295) -Update from WebTranslator v3.0:
vietnamese - 1 changes by nglekhoi
2011-04-04 17:45:09 +00:00
frosch 3d2f454167 (svn r22294) -Fix (r20922)[FS#4571]: Reset Window::scrolling_scrollbar when raising scrollbar buttons. 2011-04-03 17:00:57 +00:00
planetmaker 75ab1f18f8 (svn r22293) -Add: Allow docks to feature company colour (add another pony for the firs(t) fish&chips foundry) 2011-04-03 08:22:14 +00:00
frosch 0babca04f2 (svn r22292) -Change: Increase the linewidth in plots. 2011-04-02 16:40:05 +00:00
frosch b18211bb9d (svn r22291) -Add: a linewidth argument to GfxDrawLine() and Blitter::DrawLine(). 2011-04-02 16:39:30 +00:00
frosch 7659575cfa (svn r22290) -Codechange: Somewhat deduplicate one line of code. 2011-04-02 15:07:58 +00:00
frosch 004c93f9da (svn r22288) -Codechange: Deduplicate Blitter_8bppBase::DrawLine() and Blitter_32bppBase::DrawLine() into Blitter::DrawLine(). 2011-04-02 11:55:54 +00:00
yexo a980319801 (svn r22286) -Fix: [NewGRF] the c and p parts of station vars 40, 41 and 49 were incorrect for large stations 2011-04-01 19:55:56 +00:00
translators d16ca32815 (svn r22285) -Update from WebTranslator v3.0:
slovak - 45 changes by teso
2011-04-01 17:45:07 +00:00
smatz d6a70ea1d9 (svn r22284) -Codechange [FS#4564]: cast values to uint before computing modulus in direction_func.h, so compiler can generate superior code (adf88) 2011-04-01 12:17:23 +00:00
rubidium fff18f6087 (svn r22283) -Merge from 1.1: documentation updates/release changes 2011-03-31 21:26:26 +00:00
yexo 23d4372934 (svn r22280) -Fix: update the 40+x station vars caches when displaying them in the NewGRF debug gui 2011-03-30 21:39:44 +00:00
translators 2124ae0ef7 (svn r22279) -Update from WebTranslator v3.0:
faroese - 139 changes by HPJ
german - 2 changes by lugo
portuguese - 3 changes by JayCity
2011-03-30 17:45:12 +00:00
translators 3285a2ab20 (svn r22278) -Update from WebTranslator v3.0:
faroese - 25 changes by BuBu, HPJ
2011-03-29 17:45:04 +00:00
translators 341682b6b7 (svn r22277) -Update from WebTranslator v3.0:
faroese - 26 changes by BuBu
norwegian_nynorsk - 57 changes by 2rB
2011-03-28 18:45:08 +00:00
translators dfebe173fc (svn r22276) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
frisian - 61 changes by gjannema
german - 1 changes by MG
russian - 2 changes by Lone_Wolf
2011-03-26 18:45:14 +00:00
translators e6bf6ef0e9 (svn r22275) -Update from WebTranslator v3.0:
russian - 3 changes by Lone_Wolf
spanish - 1 changes by Terkhen
2011-03-25 18:45:11 +00:00
translators 7514eb7453 (svn r22274) -Update from WebTranslator v3.0:
frisian - 9 changes by Fopper
2011-03-24 18:45:08 +00:00
yexo b1901586a0 (svn r22273) -Fix (r22271) [FS#4562]: fix was incorrect 2011-03-24 00:43:44 +00:00
translators f876cc1bd3 (svn r22272) -Update from WebTranslator v3.0:
frisian - 3 changes by gjannema
2011-03-23 18:45:05 +00:00
yexo dfd2899a88 (svn r22271) -Fix (r22258) [FS#4562]: cargo en-route display in station was broken 2011-03-22 23:59:55 +00:00
yexo fd74c0f9dc (svn r22270) -Codechange: initialize some temporary arrays on the same line as they're declared
so the size doesn't have to be declared manually. Also detect the size of those
arrays automatically by using a template
2011-03-22 22:13:20 +00:00
translators eb4ddb256e (svn r22269) -Update from WebTranslator v3.0:
dutch - 1 changes by Yexo
faroese - 9 changes by FastNinja
polish - 2 changes by silver_777
2011-03-22 18:45:11 +00:00
translators bb97a656da (svn r22268) -Update from WebTranslator v3.0:
faroese - 187 changes by FastNinja
frisian - 40 changes by gjannema
2011-03-21 18:45:07 +00:00
rubidium c94c73d2fb (svn r22267) -Fix: broken language file... 2011-03-20 20:52:30 +00:00
rubidium e645a2e066 (svn r22266) -Fix [FS#4558]: In the scenario editor you could build a ship depot using the hotkeys. Removing that depot causes an assertions to trigger. 2011-03-20 20:51:31 +00:00
translators 99c0e14fa0 (svn r22265) -Update from WebTranslator v3.0:
basque - 8 changes by Thadah
frisian - 71 changes by gjannema
2011-03-20 18:45:08 +00:00
translators 1377ff6588 (svn r22263) -Update from WebTranslator v3.0:
lithuanian - 35 changes by BlinK_
portuguese - 18 changes by JayCity
romanian - 15 changes by tonny
2011-03-19 18:45:13 +00:00
frosch 93272478b7 (svn r22259) -Fix (r9779)[FS#4557]: Remove duplicate and wrong (too early) activation of new game settings. (chillcore) 2011-03-18 19:36:20 +00:00
yexo 0e17cbc9f8 (svn r22258) -Codechange: introduce a wrapper class to clean up the arguments to FormatString 2011-03-18 13:34:52 +00:00
translators 00b2626c3a (svn r22255) -Update from WebTranslator v3.0:
ukrainian - 16 changes by Madvin
2011-03-16 18:45:08 +00:00
michi_cc e7bb220fdd (svn r22254) -Codechange: Make settingsgen only update the output file if it actually changed. 2011-03-14 22:24:08 +00:00
frosch f81dd357e8 (svn r22253) -Change: Apply the same inflation to the initial loan as to the maximum loan. Note that this is no change to the economy; it only saves players some clicks when starting companies in later years. (Eddi) 2011-03-14 21:14:44 +00:00
frosch d12c2dfa24 (svn r22250) -Cleanup (r16378): Engines poolitems do not need a flag for validness anymore. The pool knows that on its own. 2011-03-13 22:05:29 +00:00
frosch cba6eb87c2 (svn r22249) -Codechange: Process some more invalidation of IDs during command scope. 2011-03-13 21:35:50 +00:00
frosch 141f2eba50 (svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope. 2011-03-13 21:34:49 +00:00
frosch 652c9cb663 (svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope. 2011-03-13 21:34:21 +00:00
frosch 5689b3dbda (svn r22246) -Fix: Process order window invalidations for specific orders in command-scope. 2011-03-13 21:33:57 +00:00
frosch dd20823277 (svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope invalidations themself. 2011-03-13 21:33:30 +00:00
frosch f051a81b4e (svn r22244) -Codechange: Make vehicle windows handle command-/GUI-scope invalidations themself (from autoreplace and refitting). 2011-03-13 21:33:02 +00:00
frosch 0ff4f31723 (svn r22243) -Codechange: Make AIDebugWindow::OnInvalidateData() handle command-/GUI-scope itself. 2011-03-13 21:32:40 +00:00
frosch 51ddbbb13d (svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do immediately in command scope, and what to do asynchronously in GUI-scope. 2011-03-13 21:32:13 +00:00
frosch ec9540a12a (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
translators 0ff6c8f425 (svn r22240) -Update from WebTranslator v3.0:
esperanto - 9 changes by Christopher
faroese - 71 changes by FastNinja
greek - 20 changes by fumantsu
2011-03-13 18:45:11 +00:00
alberth bb4d832146 (svn r22239) -Doc: Further engine doxyment additions. 2011-03-13 16:43:00 +00:00
alberth 911dfa52bb (svn r22238) -Codechange (r8888): Also remove the now unused NUM_VEHICLE_TYPES constant. 2011-03-13 14:00:11 +00:00
alberth 72b8e56920 (svn r22237) -Doc: Add some doxyments to structs and enums in engine_type.h 2011-03-13 13:49:31 +00:00
frosch 2ae863463c (svn r22236) -Fix (r21457): Disarm a bear-pit, which r22226 almost fell into. 2011-03-13 10:43:41 +00:00
rubidium dee05fe63d (svn r22235) -Add: stub for a Faroese translation 2011-03-13 08:32:16 +00:00
translators 49109d3663 (svn r22234) -Update from WebTranslator v3.0:
swedish - 2 changes by Zuu
2011-03-12 18:45:06 +00:00
yexo 6305d104c1 (svn r22233) -Fix (r22210): value strings for command-pause-level were not shown correctly 2011-03-11 19:48:26 +00:00
translators fe611024c1 (svn r22232) -Update from WebTranslator v3.0:
german - 20 changes by lugo
portuguese - 1 changes by JayCity
slovak - 1 changes by micropro_cz
2011-03-11 18:45:12 +00:00
frosch 4269170c9b (svn r22231) -Feature(ette): [NewGRF] Make var 0x48 available in CB 0x15C. 2011-03-10 19:32:24 +00:00
rubidium 7e74b52d6e (svn r22230) -Fix: WT3 validation 2011-03-10 18:56:14 +00:00
translators 2323e91ed2 (svn r22229) -Update from WebTranslator v3.0:
brazilian_portuguese - 3 changes by Tucalipe
slovak - 44 changes by micropro_cz
2011-03-10 18:45:10 +00:00
frosch 77d1dcb926 (svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting. 2011-03-08 20:52:59 +00:00
frosch b997ebb942 (svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before doing OnHundrethTick()-calls. 2011-03-08 19:43:38 +00:00
frosch 9cf92e2bd2 (svn r22226) -Codechange: When autoreplace invalidates vehicle windows because the Vehicle index changed, use a better eye-catcher-'data' than 0 to identify them. 2011-03-08 19:41:58 +00:00
translators 31f46c0786 (svn r22225) -Update from WebTranslator v3.0:
italian - 6 changes by lorenzodv
2011-03-08 18:45:07 +00:00
translators 0c6c755bf6 (svn r22223) -Update from WebTranslator v3.0:
traditional_chinese - 7 changes by elleryq
frisian - 16 changes by Taeke
greek - 28 changes by fumantsu
italian - 30 changes by Snail_, lorenzodv
2011-03-07 18:45:16 +00:00
yexo cde5b7dffc (svn r22222) -Fix: compilation when compiling with --disable-ai 2011-03-07 18:44:36 +00:00
translators 11755768d2 (svn r22221) -Update from WebTranslator v3.0:
danish - 14 changes by beruic
vietnamese - 4 changes by nglekhoi
2011-03-06 18:47:36 +00:00
alberth 26a9b31817 (svn r22220) -Codechange: Unduplicate npf/yapf strings for the other languages. 2011-03-06 16:00:53 +00:00
alberth d3569f917d (svn r22219) -Codechange: Unduplicate npf/yapf strings. 2011-03-06 16:00:24 +00:00
alberth 51d39bc462 (svn r22218) -Codechange: Unduplicate horizontal positioning strings for the other languages. 2011-03-06 15:59:43 +00:00
alberth c46de7fc7b (svn r22217) -Codechange: Unduplicate horizontal positioning strings. 2011-03-06 15:59:23 +00:00
alberth f74e9c5d49 (svn r22216) -Codechange: Unduplicate original/realistic strings for the other languages. 2011-03-06 15:58:37 +00:00
alberth 7ee064b75d (svn r22215) -Codechange: Unduplicate original/realistic strings. 2011-03-06 15:58:03 +00:00
alberth b7814a00cd (svn r22214) -Codechange: Unduplicate company on/off strings for the other languages. 2011-03-06 15:57:17 +00:00
alberth 3d6246ba9e (svn r22213) -Codechange: Unduplicate company on/off strings. 2011-03-06 15:56:12 +00:00
alberth 6372eb4d86 (svn r22212) -Codechange: Unduplicate Off/On strings for the other languages. 2011-03-06 15:54:20 +00:00
alberth 5f505a69f3 (svn r22211) -Codechange: Unduplicate Off/On strings. 2011-03-06 15:52:23 +00:00
alberth 9fe65f93fe (svn r22210) -Add: Add a variable for the value strings in the settings tables. 2011-03-06 15:51:44 +00:00
alberth 02bf850d95 (svn r22209) -Codechange: Move function declarations from settings.h.preamble to the ini file that uses it. 2011-03-06 10:35:40 +00:00
rubidium db6121f361 (svn r22208) -Fix [FS#4543]: When downloading a file via HTTP failed mid-way and OpenTTD fell back to the old system the partial downloaded amount would be counted twice 2011-03-06 10:11:59 +00:00
alberth bbde7766d2 (svn r22207) -Add: Add the copyright message to the new ini files. 2011-03-06 09:54:20 +00:00
rubidium 18a9188081 (svn r22206) -Revert-ish (r14526) / Unfix-ish [FS#3569] / Fix [FS#4545]: the "center" (for movement) of vehicles is (currently still) always at 4/8th original vehicle length from the front, so trains should stop at the same location regardless of the length of the front engine 2011-03-06 09:22:11 +00:00
rubidium e34c42de32 (svn r22205) -Codechange: replace magic number with constant 2011-03-05 21:52:45 +00:00
planetmaker 2aa14cc54b (svn r22204) -Change: Make the base costs for building and demolishing NewObjects also local to the individual NewGRFs 2011-03-05 18:28:10 +00:00
frosch f5a7ad70dc (svn r22203) -Doc: Document 'override_features'. 2011-03-05 18:27:43 +00:00
rubidium f90044d343 (svn r22202) -Codechange: make MusicFileSettings a proper citizen of the client settings 2011-03-05 18:00:48 +00:00
smatz 469c448eb0 (svn r22200) -Fix (r21642): removing a station order could stop when removing first automatic order 2011-03-05 13:59:23 +00:00
rubidium b8d3c42de2 (svn r22199) -Cleanup-ish: replace the shortcut macros for (gui)flags with their more clearly named (longer) constant names 2011-03-05 11:34:31 +00:00
rubidium e48967541a (svn r22198) -Codechange: make some constants name more explicit 2011-03-05 11:16:44 +00:00
rubidium 2636a4809b (svn r22197) -Cleanup: remove the distinction between conditional and non-conditional settings; with default from and to savegame versions all can be conditional. They previously were as well; the non-conditional ones were macros of the conditionals with to/from saveload versions hardcoded 2011-03-05 10:47:49 +00:00
rubidium cb3fa759f3 (svn r22196) -Codechange: use default values for the from and to of savegame versions as well 2011-03-05 10:20:49 +00:00
rubidium 8b9f99ec44 (svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items 2011-03-05 10:12:03 +00:00
planetmaker ca61ae0b0a (svn r22193) -Fix: Invalidate the object build window when using the date cheat 2011-03-05 09:55:09 +00:00
glx 7f54c59a66 (svn r22188) -Add: Generate the settings as part of the MSVC build process, and enable it in Makefile too 2011-03-04 22:34:10 +00:00
rubidium 55c973966e (svn r22186) -Fix: spelling mistake 2011-03-04 21:14:00 +00:00
translators 88362f8c31 (svn r22182) -Update from WebTranslator v3.0:
traditional_chinese - 18 changes by elleryq
vietnamese - 7 changes by nglekhoi
2011-03-04 18:45:09 +00:00
yexo 1714e5d509 (svn r22181) -Fix (r20574): following a vehicle with a very high VehicleID was impossible 2011-03-04 12:12:48 +00:00
glx ec56036dc7 (svn r22179) -Fix (r22167): compilation on win32 2011-03-03 23:34:14 +00:00
rubidium 59e42ea178 (svn r22177) -Fix: make sure the right endianness is chosen with cross-compiling, and strndup is available in the binary for more exotic platforms 2011-03-03 21:43:24 +00:00
yexo 261b34b705 (svn r22175) -Fix: [NewGRF] memory leak if a station newgrf contains prop 09 twice for the same station id 2011-03-03 21:24:03 +00:00
alberth 7477f92029 (svn r22173) -Add: Add preamble and postamble files before and after the generated settings data. 2011-03-03 21:06:24 +00:00
alberth 74d756799c (svn r22172) -Add: Add ini files containing the table/settings data. 2011-03-03 21:04:17 +00:00
alberth 98d5302c63 (svn r22171) -Add: Add settings generator program. 2011-03-03 20:59:59 +00:00
alberth fa9c193539 (svn r22170) -Add: Add IGT_SEQUENCE type for loading ini group lines without further interpretation. 2011-03-03 20:56:33 +00:00
alberth 6a88af662b (svn r22169) -Add: Add parameter to disable automatic group creation in IniLoadFile::GetGroup(). 2011-03-03 20:55:06 +00:00
alberth 722296e797 (svn r22168) -Codechange: Move ini file IO and file error reporting to virtual functions. 2011-03-03 20:53:09 +00:00
alberth d19a9f5df5 (svn r22167) -Codechange: Extract IniLoadFile base class for loading ini files out of IniFile. 2011-03-03 20:50:24 +00:00
yexo b74de9ff72 (svn r22165) -Fix: [NewGRF] memory leak if an industry newgrf had more than one prop A or 15 2011-03-03 20:26:19 +00:00
yexo 18a2fadf35 (svn r22164) -Fix: [NewGRF] disable a station newgrf when it contains an unterminated spritelayout in action0 prop 08 instead of crashing openttd 2011-03-03 19:52:42 +00:00
yexo 3769b4f218 (svn r22163) -Fix [FS#4541]: building a station part adjacent to both an existing station and a rail waypoint failed 2011-03-03 19:26:18 +00:00
yexo 93533b603a (svn r22162) -Fix [FS#4533]: No update of NewGRF window when unknown GRF name becomes available 2011-03-03 18:47:46 +00:00
translators 21cc2da71a (svn r22161) -Update from WebTranslator v3.0:
traditional_chinese - 31 changes by elleryq
japanese - 16 changes by kokubunzi
vietnamese - 6 changes by nglekhoi
2011-03-03 18:45:13 +00:00
translators d75012d7ff (svn r22160) -Update from WebTranslator v3.0:
traditional_chinese - 15 changes by elleryq
romanian - 2 changes by kkmic
2011-03-02 18:45:12 +00:00
translators 5583f14914 (svn r22159) -Update from WebTranslator v3.0:
german - 21 changes by NG
hungarian - 1 changes by norbert79
thai - 1 changes by kidokun
2011-03-01 18:45:12 +00:00
translators 4e85245d41 (svn r22158) -Update from WebTranslator v3.0:
japanese - 39 changes by kokubunzi
korean - 119 changes by junho2813, telk5093
slovenian - 30 changes by
2011-02-28 18:45:13 +00:00
yexo 12125f6033 (svn r22157) -Fix: [NewGRF] industry prop 0x11 is 4-bytes long, not 3 bytes 2011-02-28 15:24:35 +00:00
translators 34ea215d78 (svn r22156) -Update from WebTranslator v3.0:
italian - 54 changes by lorenzodv
japanese - 2 changes by kokubunzi
slovenian - 30 changes by 
vietnamese - 3 changes by nglekhoi
2011-02-27 18:45:16 +00:00
smatz 8074f123d5 (svn r22155) -Codechange: one comment in saveload/station_sl.cpp was wrong 2011-02-27 13:59:20 +00:00
terkhen 6e641777b1 (svn r22154) -Fix [FS#4529]: _current_company was modified when moving a client to spectators, causing issues in bankruptcy (Rubidium) 2011-02-27 11:38:28 +00:00
rubidium 9ce2823959 (svn r22153) -Fix [FS#4536]: The Greek translation didn't work as it breached the 200.000 bytes "limit" for loading language files 2011-02-27 06:36:14 +00:00
rubidium 3e5924b10f (svn r22149) -Fix [FS#4521]: Windows video driver crashed when it couldn't go to full screen at the resolution of the configuration file when starting OpenTTD 2011-02-26 19:13:58 +00:00
translators ab837c0af0 (svn r22148) -Update from WebTranslator v3.0:
basque - 2 changes by Thadah
finnish - 1 changes by jpx_
french - 1 changes by Snail_
italian - 35 changes by Snail_
slovenian - 30 changes by
2011-02-26 18:45:17 +00:00
rubidium ae6dca77e5 (svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point 2011-02-26 17:56:51 +00:00
alberth 31386c42a7 (svn r22145) -Codechange: Do explicit test for non-bool values. 2011-02-25 22:04:38 +00:00
alberth 1dbc0a20be (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 2011-02-25 21:53:43 +00:00
translators 87c8d97aca (svn r22143) -Update from WebTranslator v3.0:
frisian - 59 changes by Taeke
irish - 58 changes by tem
slovenian - 30 changes by
2011-02-25 18:45:13 +00:00
yexo f7f3db7174 (svn r22142) -Fix (r22094): some valid keycodes were ignored along with the invalid ones 2011-02-25 13:59:02 +00:00
frosch b0b7e1172c (svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu) 2011-02-24 22:14:41 +00:00
frosch f34e9ff074 (svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth) 2011-02-24 21:48:06 +00:00
translators 6621a8fb21 (svn r22139) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
frisian - 42 changes by Taeke
slovenian - 30 changes by
2011-02-24 18:45:13 +00:00
yexo 89ff97f70a (svn r22138) -Fix: skipping only the invalid part of an action14 failed, the rest of the action was skipped instead 2011-02-24 18:13:59 +00:00
planetmaker ac0700c564 (svn r22136) -Fix (r22112): Silence compiler warning about non-virtual destructor 2011-02-24 06:57:55 +00:00
frosch 19b7249ade (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command. 2011-02-23 20:54:55 +00:00
frosch 40cc3324fa (svn r22134) -Codechange: Move ReInit() of the landinfo window from DeleteNewGRFInspectWindow() into a InvalidateData call. 2011-02-23 20:45:52 +00:00
frosch 1a3a1e3b0c (svn r22133) -Fix: some coding style. 2011-02-23 20:29:48 +00:00
translators 50daa3f83d (svn r22132) -Update from WebTranslator v3.0:
frisian - 172 changes by Taeke
polish - 1 changes by xaxa
slovenian - 40 changes by Necrolyte
2011-02-23 18:45:12 +00:00
frosch facf400d27 (svn r22131) -Fix: Spectators had trouble closing buoy windows. (Terkhen) 2011-02-23 18:39:56 +00:00
smatz 678cf3553f (svn r22130) -Fix: failed assert when loading savegame with empty shared orderlist 2011-02-23 00:00:50 +00:00
smatz 58c7f5c497 (svn r22129) -Codechange: use simpler check to test if there any towns in the game 2011-02-22 22:21:20 +00:00
frosch ee111ce1a4 (svn r22128) -Fix [FS#4530]: Build-station-window showed wrong selection when reopening. (Regiovogel) 2011-02-22 20:28:24 +00:00
terkhen 4860eff98c (svn r22127) -Fix: Canals would get drawn as land in the smallmap when using the owner window. 2011-02-22 14:23:38 +00:00
translators f719bc7b3c (svn r22126) -Update from WebTranslator v3.0:
arabic_egypt - 40 changes by Company_director
belarusian - 1 changes by KorneySan
danish - 19 changes by beruic
frisian - 142 changes by Taeke
malay - 3 changes by toadhall
brazilian_portuguese - 93 changes by Luis_Mizuchiro
tamil - 139 changes by sylvesterpious
2011-02-21 18:45:22 +00:00
frosch 54db5d60fb (svn r22125) -Fix (r9162)[FS#4528]: The animation-ness of two goldmine tiles were swapped, causing the wheeltower to not work properly, and the bottom corner to show the wrong sprite. 2011-02-21 17:38:33 +00:00
rubidium b6be3f2acc (svn r22124) -Codechange: move comment to its logical place 2011-02-20 21:10:58 +00:00
frosch 77fa68c1da (svn r22123) -Fix [FS#4522]: CommandQueue::Pop() did not update 'last'; popping the last item caused the queue to disconnect unless there was only one item. 2011-02-20 21:00:24 +00:00
rubidium 0eaa2ffa63 (svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead 2011-02-20 20:58:32 +00:00
rubidium d594a219c6 (svn r22121) -Fix: In case of high frame_freq one could get commands executed after a new network game was started 2011-02-20 20:55:21 +00:00
rubidium e9fe58d7bf (svn r22120) -Change: [NoAI] Prevent AIs from getting consistently over their allowed amount of operations by subtracting the amount they went over "budget" from the budget for the next "tick". 2011-02-20 20:28:49 +00:00
translators 7d24d642d9 (svn r22119) -Update from WebTranslator v3.0:
frisian - 48 changes by Taeke
tamil - 96 changes by sylvesterpious
urdu - 36 changes by yasirniazkhan
2011-02-20 18:45:08 +00:00
terkhen dcd158b03e (svn r22118) -Fix [FS#4525]: The refit window was not correctly updated after selecting with Ctrl+Click (Regiovogel). 2011-02-20 18:32:42 +00:00
frosch bd9610ec3c (svn r22117) -Fix [FS#4523-ish]: CanRemoveRoadWithStop() failed for _current_company = OWNER_TOWN, and for OWNER_NONE-owned road. 2011-02-20 15:19:16 +00:00
smatz 756cc6cf65 (svn r22116) -Codechange: use PoolBase::Clean() at more places 2011-02-19 23:05:47 +00:00
smatz 642fb19d4f (svn r22115) -Fix (r22114): some comments and code ordering were wrong 2011-02-19 18:55:10 +00:00
translators ef80fe703d (svn r22114) -Update from WebTranslator v3.0:
danish - 3 changes by beruic
frisian - 13 changes by Taeke
2011-02-19 18:45:09 +00:00
smatz 1d9cae9afa (svn r22113) -Codechange: use PoolBase::CleanAll() to clean all pools at game exit 2011-02-19 18:25:24 +00:00
smatz 5fd13843f7 (svn r22112) -Codechange: register all pools in a pool vector 2011-02-19 18:23:45 +00:00
rubidium 68bc93f950 (svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should not delete items from other pools 2011-02-19 18:02:17 +00:00
frosch f575b45bae (svn r22110) -Codechange: Remove WaterDrawTileStruct and use DrawTileSprites/DrawTileSeqStruct instead. 2011-02-19 14:57:15 +00:00
frosch 26ad79be5a (svn r22109) -Fix (r21269, 21272): Missing undeffing of macros. 2011-02-19 14:55:31 +00:00
frosch 9e59436c61 (svn r22108) -Codechange: Replace some magic with some other magic though less easy to break. 2011-02-19 14:51:46 +00:00
frosch 1dd6d037ba (svn r22107) -Cleanup (r1903): Remove unused struct. 2011-02-19 14:30:21 +00:00
frosch 57dc3ed716 (svn r22106) -Codechange: Add DrawTileSeqStruct::MakeTerminator(), DrawTileSeqStruct::IsTerminator(), DrawTileSeqStruct::IsParentSprite() to simplify stuff. 2011-02-19 13:16:34 +00:00
yexo 72e027e4d6 (svn r22105) -Fix: crash when copying an orderlist to a vehicle that already had orders 2011-02-18 21:46:45 +00:00
alberth ff1e0a3ed3 (svn r22102) -Codechange: Also use the getopt function in strgen. 2011-02-18 20:52:42 +00:00
alberth 41a67a9b94 (svn r22101) -Codechange (r22098): Unify a bit of code. 2011-02-18 20:51:05 +00:00
alberth 8c2fc45153 (svn r22098) -Codechange: Have an array of option data, use it in the option parsing routine. Adapt openttd option processing too. 2011-02-18 20:28:25 +00:00
alberth b0b1c0dea9 (svn r22097) -Fix (r22096): Add files before commit. 2011-02-18 20:23:11 +00:00
alberth 9d0ff9d692 (svn r22096) -Codechange: Move openttd getopt implementation to its own file. 2011-02-18 20:14:30 +00:00
translators bca5159951 (svn r22095) -Update from WebTranslator v3.0:
traditional_chinese - 11 changes by elleryq
danish - 40 changes by beruic
brazilian_portuguese - 41 changes by Luis_Mizuchiro
spanish - 1 changes by Terkhen
swedish - 22 changes by LordDaimos
tamil - 37 changes by ksvml
thai - 149 changes by m_vanillaconix
2011-02-18 18:45:23 +00:00
yexo 24753fbd35 (svn r22094) -Fix [FS#4510]: remove invalid keycodes when reading hotkeys.cfg 2011-02-17 23:14:43 +00:00
rubidium 1a5087be69 (svn r22093) -Fix [FS#4514]: The server list did not get sorted with one item in it, so the "position in the list" variable was never updated causing problems when using the keyboard shortcuts for scrolling 2011-02-17 21:05:44 +00:00
rubidium 848761e3a9 (svn r22092) -Fix-ish (r22068): when you change a boolean to a enum, check specifically for a particular value 2011-02-17 18:45:44 +00:00
translators 5fd9f87d34 (svn r22091) -Update from WebTranslator v3.0:
simplified_chinese - 41 changes by ww9980
danish - 23 changes by beruic, krak
brazilian_portuguese - 125 changes by Luis_Mizuchiro
thai - 19 changes by kenny
urdu - 15 changes by yasirniazkhan
2011-02-17 18:45:28 +00:00
translators efd9aae5a1 (svn r22089) -Update from WebTranslator v3.0:
afrikaans - 96 changes by Maccie123
arabic_egypt - 29 changes by kasakg
danish - 69 changes by krak
indonesian - 17 changes by adjayanto
brazilian_portuguese - 25 changes by Luis_Mizuchiro
urdu - 80 changes by yasirniazkhan
2011-02-16 18:45:21 +00:00
terkhen c36a22ba72 (svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC. 2011-02-15 13:27:41 +00:00
smatz a5b9858a36 (svn r22086) -Fix: do not check if we can allocate an item if we won't try to do so anyway 2011-02-15 13:15:12 +00:00
smatz d2d6b263b3 (svn r22085) -Fix: assert when connecting to the admin port 2011-02-15 12:11:28 +00:00
frosch 949bfabe5e (svn r22084) -Change: [NewGRF] Check grf version strictly and consider grfs with version < 2 as incompatible. If you have trouble with certain grfs from BaNaNaS, then bother the author about fixing the grf. 2011-02-14 21:41:52 +00:00
rubidium 22afd83964 (svn r22083) -Change: trunk is heading towards 1.2 now 2011-02-14 20:20:57 +00:00
glx 1b2ef66416 (svn r22081) -Fix [FS#4489]: if fullscreen fails with current resolution, use desktop resolution 2011-02-14 20:16:36 +00:00
planetmaker 914f8e9f1d (svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments 2011-02-14 19:52:26 +00:00
terkhen 8e4b2c951d (svn r22079) -Fix: The owner view of the smallmap was not updated after a company colour change. 2011-02-14 19:39:01 +00:00
rubidium 95b6aeaabd (svn r22078) -Fix [FS#4499]: maximum train length interfered with wagon replacement when wagon removal was turned on 2011-02-14 19:18:12 +00:00
translators 95ec99132e (svn r22077) -Update from WebTranslator v3.0:
latvian - 2 changes by skazhy
2011-02-14 18:45:08 +00:00
smatz e8002f5b92 (svn r22076) -Fix (r22075): build failed with GCC 2011-02-14 12:39:45 +00:00
yexo 66543bde1d (svn r22075) -Fix [FS#4501]: newgrfs with invalid multi-tile houses could cause a valid 1x1 house following it to be seen as multi-tile, causing crashes 2011-02-13 21:44:00 +00:00
yexo b51c62f5af (svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed 2011-02-13 20:52:33 +00:00
yexo f1377a228f (svn r22073) -Fix: immediately update the train weight when you change the multiplier for train cargo weight 2011-02-13 20:45:17 +00:00
rubidium 6a58f34878 (svn r22072) -Fix (r21966): flipping wasn't (correctly) disabled in some cases 2011-02-13 19:49:53 +00:00
yexo c7038d8b4d (svn r22071) -Fix (r20075): some hotkey names in hotkey.cfg for the scenario editor toolbar were completely bogus 2011-02-13 19:31:04 +00:00
rubidium befa79ba4a (svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map 2011-02-12 21:30:57 +00:00
rubidium a19bc28aba (svn r22069) -Fix: delete all savegame packets, not just the first one 2011-02-12 21:29:35 +00:00
rubidium adfd648031 (svn r22068) -Codechange/Fix: return "connection lost" instead of "okay" when SendPackets closed the connection 2011-02-12 21:09:34 +00:00
rubidium 92d0d6d10b (svn r22067) -Fix: don't hold a mutex when sending packets and thus possibly closing the connection as that wants to acquire the mutex again 2011-02-12 21:07:30 +00:00
rubidium ece59dc0d1 (svn r22066) -Fix [FS#4502]: building a statue did not check whether the object pool is full 2011-02-12 18:45:05 +00:00
rubidium 2d4d43d00c (svn r22065) -Fix [FS#4500]: pool allocation checks triggered when towns could not be built 2011-02-12 18:41:24 +00:00
rubidium d8cada7563 (svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame 2011-02-11 23:20:35 +00:00
rubidium 1dc5ba2210 (svn r22063) -Change: make the "has network" check also check whether the client is actually fully connected 2011-02-11 22:10:10 +00:00
rubidium 7de823b1bd (svn r22062) -Fix: memory leak when saving fails mid-way 2011-02-11 21:30:26 +00:00
yexo 296af35741 (svn r22061) -Change: when loading old savegames with long trains set the maximum train length to the length of the longest train 2011-02-11 20:54:49 +00:00
translators 37483180e8 (svn r22060) -Update from WebTranslator v3.0:
arabic_egypt - 46 changes by Company_director
hungarian - 20 changes by IPG
spanish - 1 changes by Terkhen
2011-02-11 18:45:13 +00:00
terkhen 8196b03074 (svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar. 2011-02-11 18:24:12 +00:00