Commit Graph

10751 Commits (f65a9a5515ffe0e2b5fe70a7f190dc4461873b4e)

Author SHA1 Message Date
rubidium cdd35c6a51 (svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit 14 years ago
rubidium e0351ab414 (svn r21489) -Codechange: replace the last instances of TILE_LOOP with TILE_AREA_LOOP 14 years ago
rubidium 773b6136a9 (svn r21488) -Codechange: make use of TILE_AREA_LOOP in the tile list AI API 14 years ago
translators a1a0526aaf (svn r21487) -Update from WebTranslator v3.0:
english_US - 5 changes by Rubidium
finnish - 1 changes by jpx_
french - 5 changes by glx
german - 4 changes by planetmaker
hungarian - 10 changes by IPG
italian - 1 changes by lorenzodv
russian - 6 changes by Lone_Wolf
serbian - 7 changes by etran
slovenian - 9 changes by ntadej
turkish - 13 changes by niw3
14 years ago
rubidium b5b8a7b5ed (svn r21486) -Codechange: use TILE_AREA_LOOP for station expansion checks as well 14 years ago
rubidium 1123d4790f (svn r21485) -Codechange: use CircularTileSearch to find whether there's a transmitter nearby 14 years ago
rubidium 02451d8af6 (svn r21484) -Codechange: use TILE_AREA_LOOP in CommonRaiseLowerBigLand 14 years ago
rubidium 15b4941401 (svn r21483) -Codechange: make StationRect::ScanForStationTiles make use of TILE_AREA_LOOP. Making use of make makes me making use of my brain to determine whether I make use of tautology, or make use of pleonasm, or make use of both, or even make use of neither 14 years ago
rubidium 67e6ad2a4b (svn r21482) -Codechange: make landscape clearing make use of TILE_AREA_LOOP as well 14 years ago
rubidium a1d923700f (svn r21481) -Codechange: make rail conversion make use of TILE_AREA_LOOP as well 14 years ago
rubidium 90e247c84d (svn r21480) -Change [FS#4292]: make it possible to start actions that require selecting stuff (landscaping, vehicle cloning, etc) in the viewport while paused. As side-effect you'll get an error message explaining the command can't be executed because the game is paused instead of seemingly nothing happening when you click. Addition side effect of this is that you can make use of the measurement tooltip while paused 14 years ago
frosch cd7b23b0f4 (svn r21479) -Fix (r9563): Keep transparency for textual stuff in newspaper. 14 years ago
rubidium 15e07279dd (svn r21478) -Change [FS#4297]: improve some order related tooltips. Based on patch by Krille 14 years ago
rubidium a029b2b83a (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 14 years ago
frosch 5910bde583 (svn r21476) -Fix [FS#4299]: DC_FORCE_CLEAR_TILE should only add extra cost for clearing water for stuff which results in water after clearing. 14 years ago
rubidium 0575c8fec9 (svn r21475) -Fix: MSVC's code analyser says DeleteObject shouldn't be called with NULL 14 years ago
rubidium d332c59a4c (svn r21474) -Fix: some MSVC code analysis warnings in strgen 14 years ago
rubidium 42dc2e63f2 (svn r21473) -Feature [FS#4279]: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites 14 years ago
rubidium 9bc1e35625 (svn r21472) -Fix [FS#4298] (r21459-ish): make sure the query window is only opened once per parent window / callback. 14 years ago
rubidium 293ede7bdf (svn r21471) -Change [FS#4153]: make building aqueducts behave more like building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels 14 years ago
rubidium 7cf40e5d25 (svn r21470) -Codechange: add method to get the distance from the edge in a given direction 14 years ago
translators ae30f4d010 (svn r21469) -Update from WebTranslator v3.0:
basque - 32 changes by HerrBasque
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 6 changes by planetmaker
italian - 5 changes by lorenzodv
spanish - 5 changes by Terkhen
14 years ago
rubidium fe841c3d0b (svn r21468) -Change: make sure the end of a bridge is always a valid tile as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height" 14 years ago
alberth 997551c599 (svn r21467) -Doc: Add a few doxygen comments to config file settings code. 14 years ago
rubidium 23369337c1 (svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle. 14 years ago
rubidium fc70825905 (svn r21465) -Cleanup [FS#4295]: remove some dead code (fonsinchen) 14 years ago
planetmaker 2a62be547a (svn r21464) -Add: Explicitly make 'shared orders' an option in the orders menu 14 years ago
rubidium 71e3562f76 (svn r21463) -Fix [FS#4296] (r21405): when packets are filled their pos and size aren't the same as when they're read. As a check was incorrect. 14 years ago
rubidium 0d32cd3cc8 (svn r21462) -Codechange [FS#3689]: don't do unnecessary cargo reservations in while loading/unloading vehicles. It is only needed when at least one vehicle is loading; all other times it is a waste of effort. Roughly halves the time it takes to perform loading/unloading of vehicles (fonsinchen) 14 years ago
rubidium 834f4f157a (svn r21461) -Feature(tte) [FS#3711]: make it more clear that you're stopping a shared order, and make it possible retain the order list upon unsharing (sbr) 14 years ago
rubidium b8c9931f75 (svn r21460) -Change [FS#3975]: place the bridge building window under the mouse instead of somewhere randomly on the screen and change the default sort order 14 years ago
planetmaker 9336dccee6 (svn r21459) -Feature(tte) [FS#3217]: Hotkey Ctrl+W for returning to the main menu 14 years ago
rubidium 676a53fb40 (svn r21458) -Fix [FS#4180]: possible crash when news item gets removed at just the wrong moment 14 years ago
rubidium 8faa97c060 (svn r21457) -Feature(tte) [FS#4215]: scroll to the inserted order (thror) 14 years ago
yexo fff4bdecd8 (svn r21456) -Fix: [NewGRF] make sure the parameter for house var 60 is the id of an original house 14 years ago
rubidium 77aa035e4a (svn r21455) -Feature [NewGRF]: selecting of different views of an object 14 years ago
rubidium 5d0da9492e (svn r21454) -Codechange: add support for object variable 48 14 years ago
rubidium cd6180a46d (svn r21453) -Codechange: add the view of an object to the savegame 14 years ago
rubidium fdeab92dc7 (svn r21452) -Codechange: read object property 17 (number of views) 14 years ago
rubidium c1efcb76ca (svn r21451) -Fix (r21449): make sure the matrix's child widget's size is updated with the right widget index 14 years ago
translators 84b4057342 (svn r21450) -Update from WebTranslator v3.0:
romanian - 14 changes by kkmic
ukrainian - 6 changes by Fixer
14 years ago
rubidium 8350642b26 (svn r21449) -Change: make the waypoint window make use the generic "matrix" widget 14 years ago
rubidium b91ae2483e (svn r21448) -Add: generic widget for creating a scrollable (one direction) and resizable (both directions) area with same sized widgets 14 years ago
rubidium 0848d92af1 (svn r21447) -Add: accessor function to get the direction of a scrollbar 14 years ago
yexo 91b043afbc (svn r21446) -Doc: doxygen comments for some functions in strings.cpp 14 years ago
yexo 74d608a67e (svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.
Change: strgen no longer writes the type of a string for a gender choice list
14 years ago
yexo 475ac872c9 (svn r21444) -Codechange: compute the type of elements in the argv string array on the fly and compare it with the type set by strgen 14 years ago
translators 8a194a2b42 (svn r21443) -Update from WebTranslator v3.0:
croatian - 6 changes by VoyagerOne
english_US - 8 changes by Rubidium
german - 9 changes by planetmaker
hungarian - 1 changes by IPG
serbian - 6 changes by etran
14 years ago
rubidium ee4c152f71 (svn r21442) -Fix [FS#4293] (r21412): don't use the current company for awarding subsidies; it's not quite valid there 14 years ago
yexo 23d8ebba3b (svn r21441) -Codechange: check all accesses to the argv array so a bad NewGRF can 'only' trigger an assert but no longer cause an invalid memory read 14 years ago
yexo 12e0f28229 (svn r21440) -Codechange: pass a pointer to just past the end of the argv array around in FormatString and friends 14 years ago
translators 194d1faa8e (svn r21439) -Update from WebTranslator v3.0:
belarusian - 6 changes by KorneySan
dutch - 6 changes by habell
finnish - 6 changes by jpx_
french - 6 changes by glx
hungarian - 7 changes by IPG
italian - 6 changes by lorenzodv
polish - 6 changes by voythas
russian - 6 changes by Lone_Wolf
slovenian - 6 changes by ntadej
spanish - 6 changes by Terkhen
vietnamese - 6 changes by nglekhoi
14 years ago
rubidium f570285653 (svn r21438) -Fix (r21424): fix triggered an assertion when the build did support networking 14 years ago
rubidium 566174ecc0 (svn r21437) -Fix: Object newgrf debug data table was outdated 14 years ago
yexo ac0e83a7e2 (svn r21435) -Fix: NewGRF strings that referenced a value that was set by a string command later in the string failed 14 years ago
yexo 5c181fe556 (svn r21433) -Fix: [NewGRF] a newgrf with incomplete string codes at the end of a string could cause invalid memory reads 14 years ago
rubidium ec63b0cf28 (svn r21432) -Cleanup: remove the now obsolete strings as well 14 years ago
rubidium 00d3428edf (svn r21431) -Cleanup: remove the build-while-paused cheat 14 years ago
rubidium 5dbd80ff3c (svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor 14 years ago
rubidium 0c23b0b3a4 (svn r21429) -Fix [FS#3771]: the server didn't check for the paused state when allowing to execute commands 14 years ago
rubidium 49162ab39b (svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting 14 years ago
rubidium e170b1d83e (svn r21427) -Add: helper function to determine whether a command may be executed 14 years ago
rubidium df410fd7ed (svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused 14 years ago
rubidium b3eb3b96b9 (svn r21425) -Codechange: add "command types" to all commands 14 years ago
rubidium 0f2402306c (svn r21424) -Fix: CMD_CLEAR_ORDER_BACKUP might not get executed when the user pressed the shift key 14 years ago
rubidium 249d21d3de (svn r21423) -Codechange: replace some magic numbers by slightly less magic numbers 14 years ago
translators 933a4d4825 (svn r21422) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
estonian - 6 changes by Jaanus
italian - 1 changes by lorenzodv
brazilian_portuguese - 41 changes by Tucalipe
russian - 3 changes by KorneySan, Lone_Wolf
thai - 18 changes by kenny
14 years ago
translators 4b90c8b9e8 (svn r21421) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
catalan - 3 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 21 changes by habell
french - 1 changes by glx
irish - 2 changes by tem
korean - 1 changes by junho2813
polish - 2 changes by voythas
romanian - 7 changes by kneekoo
russian - 2 changes by KorneySan
serbian - 25 changes by etran
slovenian - 3 changes by ntadej
ukrainian - 2 changes by Fixer
vietnamese - 2 changes by myquartz, nglekhoi
14 years ago
rubidium 1dfd5c6405 (svn r21420) -Fix: admins were always given the stats of company 0 14 years ago
rubidium 54f3e04590 (svn r21418) -Fix: core.h needs config.h 14 years ago
rubidium 378e233023 (svn r21417) -Fix: ofcourse MSVC x64 has something to complain about 14 years ago
rubidium ea68039718 (svn r21416) -Codechange: limit vehicle name by amount of characters, not bytes 14 years ago
rubidium 44d1c55347 (svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes 14 years ago
rubidium 5c9c3f1acf (svn r21414) -Codechange: limit town name by amount of characters, not bytes 14 years ago
rubidium 6e69b943d6 (svn r21413) -Codechange: limit sign name by amount of characters, not bytes 14 years ago
rubidium cf61c2f11f (svn r21412) -Codechange: limit company name by amount of characters, not bytes 14 years ago
rubidium 768da4b48f (svn r21411) -Codechange: limit group name by amount of characters, not bytes 14 years ago
rubidium ab9cc74ba5 (svn r21410) -Codechange: limit engine name by amount of characters, not bytes 14 years ago
rubidium 091263317e (svn r21409) -Codechange: limit depot name by amount of characters, not bytes 14 years ago
rubidium 9a18050646 (svn r21408) -Codechange: limit president name by amount of characters, not bytes 14 years ago
rubidium 66c7f00b60 (svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes 14 years ago
rubidium bbaa262b0d (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 14 years ago
rubidium 9139a6c858 (svn r21405) -Codechange: prepare sending of company information in the UDP packet for longer company names (in bytes), by truncating the names if needed 14 years ago
rubidium 440a529701 (svn r21404) -Add: method for getting the length of an Utf8 string in characters 14 years ago
rubidium 7e9b132d04 (svn r21403) -Change: the maximum size of the string argument of a command 14 years ago
translators 1d96ac6ca3 (svn r21402) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
czech - 2 changes by SmatZ
finnish - 2 changes by jpx_
french - 2 changes by glx
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
romanian - 12 changes by kneekoo
spanish - 2 changes by Terkhen
vietnamese - 1 changes by nglekhoi
14 years ago
rubidium 5f25cdbbd5 (svn r21401) -Fix: ofcourse MSVC x64 has something to complain about... 14 years ago
rubidium ff8a01fbd2 (svn r21400) -Fix [FS#4284]: when loading a savegame takes more than 2 seconds locally, don't see that as lag of the server. Also increase the client side's lag thresholds a bit 14 years ago
rubidium 216e48cd07 (svn r21399) -Change/Feature/Fix [FS#4284]: perform the compression of savegames to send to the client asynchroniously. This will reduce the lag of the other clients to the time it takes to make the memory dump and it will speed up downloading the map as the download starts earlier (possibly with a slightly lower bandwidth due to slow compression). This should also fix the lag message people get when the savegame compression takes more than a few seconds. 14 years ago
rubidium 02b3bc57d5 (svn r21398) -Change/Feature-ish: when making a savegame to send to a client, don't write it to disk but create the packets immediately 14 years ago
rubidium 948cffc930 (svn r21397) -Change/Feature-ish: when getting a savegame from the server, just keep it in memory instead of writing it to a file 14 years ago
rubidium 69766049ce (svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter 14 years ago
rubidium 085c693289 (svn r21395) -Codechange: move the save and load filter's interface to a header 14 years ago
rubidium 5ff58155d1 (svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well 14 years ago
rubidium da76d2f46f (svn r21393) -Codechange: support resetting of the "base" filters, i.e. reset their read location to be begin of the file. This is needed for trying to load savegames as a "buggy format" 14 years ago
rubidium 97434f0e06 (svn r21392) -Change: prepare the network protocol for getting the file size later in the download process 14 years ago
rubidium c8e8b0e0a0 (svn r21391) -Update (r21390): the string names in the translations 14 years ago
rubidium 98df56d032 (svn r21390) -Codechange: prepare the network join progress bar for getting the file size later in the download process, i.e. when a chunk of the savegame is already received by the client 14 years ago
terkhen 77cb1b7e06 (svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window. 14 years ago
alberth fd2f1399d4 (svn r21388) -Feature [FS#4289]: Allow entering of the new year in a text box when cheating the year. 14 years ago
alberth 4a35dafcd2 (svn r21387) -Codechange: Add an enum for cheat numbers. 14 years ago
alberth 2baa9f2c5d (svn r21386) -Codechange: Use updated value to decide year to cheat to, instead of increment/decrement. 14 years ago
alberth fd1c95342e (svn r21385) -Codechange: Added a missing 'this' prefix, and some documentation to cheat gui code. 14 years ago
rubidium 6a54bf78c6 (svn r21384) -Fix: failure of WT3 to properly validate some string... 14 years ago
translators eae1457fbe (svn r21383) -Update from WebTranslator v3.0:
belarusian - 7 changes by KorneySan
czech - 1 changes by marek995
german - 1 changes by norbert79
russian - 6 changes by KorneySan
slovak - 1 changes by marek995
spanish - 2 changes by Terkhen
14 years ago
rubidium e5b456f289 (svn r21382) -Fix (r21153) [FS#4290]: the road vehicle's frame wasn't properly set upon savegame conversion *if* the vehicle would be hidden, but isn't going to be hidden anymore after the conversion 14 years ago
rubidium a0fb4c8a13 (svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun... 14 years ago
rubidium b7d2d79581 (svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place 14 years ago
rubidium bf7da9b3a8 (svn r21379) -Codechange: move the actual save code into a separate function 14 years ago
rubidium a7b9297d20 (svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class 14 years ago
rubidium 1d8d046823 (svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters 14 years ago
rubidium d1db18757d (svn r21376) -Codechange: generalise ClearMemoryDumper 14 years ago
rubidium 8d81e17acc (svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters 14 years ago
planetmaker f6aa80c617 (svn r21374) -Fix: Purchases lists were not invalidated when using 'resetengines' 14 years ago
rubidium b250888aa3 (svn r21373) -Codechange: rewrite the game state to memory dumper 14 years ago
yexo 22d0ce0366 (svn r21372) -Cleanup: remove some broken npf debug code 14 years ago
rubidium d81cee085b (svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable 14 years ago
yexo 3df30280d4 (svn r21370) -Fix: [NewGRF] a grf with an invalid action14 could cause an out of memory error 14 years ago
rubidium 6f549e54b5 (svn r21369) -Fix: don't add object specs that weren't associate with graphics 14 years ago
translators 654f475983 (svn r21368) -Update from WebTranslator v3.0:
german - 1 changes by planetmaker
norwegian_bokmal - 8 changes by mantaray
14 years ago
frosch 6d962a3e35 (svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be. 14 years ago
translators 2dcda5fa8f (svn r21366) -Update from WebTranslator v3.0:
basque - 81 changes by Thadah
marathi - 4 changes by jcravi
vietnamese - 2 changes by nglekhoi
14 years ago
rubidium fe9db12935 (svn r21364) -Change: increase the default amount of companies, clients and spectators. Furthermore tighten the command execution/queueing limits a bit 14 years ago
rubidium fd752ca2b0 (svn r21363) -Add: support for limiting the amount of (accepted) incoming data 14 years ago
translators a0f0f5e2e1 (svn r21362) -Update from WebTranslator v3.0:
slovenian - 28 changes by ntadej
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
14 years ago
rubidium 31c8ab0ed8 (svn r21361) -Change: make sure the client is listening, or rather receiving, our frames 14 years ago
rubidium 21cf75951c (svn r21360) -Fix [FS#4281]: crash when randomised action2 was used when resolving the image to draw in the buy menu 14 years ago
rubidium b6c2216749 (svn r21358) -Codechange: make some network function names conform to coding style 14 years ago
rubidium 9c83a8975f (svn r21357) -Codechange: make it possible to resize the packet's buffer 14 years ago
planetmaker c45d88ea6c (svn r21355) -Feature-ish [FS#4280]: Happy Zuu and a hotkey for the AI debug window for all (Zuu) 14 years ago
translators 283cf61e8c (svn r21354) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
french - 1 changes by glx
italian - 1 changes by lorenzodv
14 years ago
frosch f2c84e0120 (svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore). 14 years ago
rubidium c60a850fed (svn r21350) -Fix: some indentation 14 years ago
yexo dfe8b546ec (svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons 14 years ago
yexo d81d42bfc3 (svn r21347) -Cleanup: remove an unused feature from strgen and remove some ifs where we already know the result 14 years ago
yexo 35af463046 (svn r21346) -Fix (r2592): buffer overflow in strgen for strings with very large arguments 14 years ago
translators 9b54d4266b (svn r21345) -Update from WebTranslator v3.0:
turkish - 2 changes by niw3
vietnamese - 1 changes by nglekhoi
14 years ago
terkhen 75f86a7a21 (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 14 years ago
terkhen 4b944cb13e (svn r21343) -Add: Function that compares strings using case insensitive natural sort. 14 years ago
terkhen ae78847f0f (svn r21342) -Add: Sort some lists again after a language change. 14 years ago
terkhen f2cc73bb51 (svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name. 14 years ago
terkhen 92d14f692b (svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled. 14 years ago
rubidium b46e57d364 (svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset 14 years ago
translators def0d71767 (svn r21337) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
finnish - 1 changes by jpx_
hungarian - 18 changes by IPG
14 years ago
rubidium ff015ac62c (svn r21336) -Fix (r21030) [FS#4274]: compile failure when desync debugging is enabled (fonsinchen) 14 years ago
rubidium 529da62f15 (svn r21335) -Change: be a bit more explicit that the game state can get broken by changing NewGRFs 14 years ago
rubidium 67f74559fc (svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones 14 years ago
smatz c9a186c9ff (svn r21333) -Fix: failure of WT3 to properly validate some string... 14 years ago
translators 00fb5ed92d (svn r21332) -Update from WebTranslator v3.0:
catalan - 39 changes by arnau
czech - 15 changes by marek995
french - 5 changes by glx
italian - 17 changes by lorenzodv
polish - 2 changes by xaxa
portuguese - 84 changes by Samu
14 years ago
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago