Commit Graph

9117 Commits

Author SHA1 Message Date
smatz e3c89df398 (svn r19714) -Feature: ctrl+click on a vehicle to start/stop it 2010-04-24 20:55:51 +00:00
rubidium 82136fbc62 (svn r19713) -Fix [NewGRF]: passing some invalid data to industry variable 67/68 could cause a crash 2010-04-24 19:06:54 +00:00
rubidium 03c6f51c84 (svn r19712) -Fix (r19708): if the parent was a town, the parent wasn't shown 2010-04-24 18:39:38 +00:00
translators 46a0fa6eda (svn r19711) -Update from WebTranslator v3.0:
catalan - 24 changes by arnau
french - 9 changes by glx
korean - 2 changes by junho2813
maltese - 69 changes by peter88823
polish - 7 changes by xine
russian - 1 changes by Lone_Wolf
serbian - 7 changes by etran
spanish - 7 changes by Terkhen
2010-04-24 17:45:26 +00:00
smatz 4a9ef6ce60 (svn r19710) -Codechange: deduplicate GUI code for starting/stopping vehicles 2010-04-24 14:29:30 +00:00
rubidium f56ebd81c3 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 2010-04-24 13:39:11 +00:00
rubidium 21883a84d7 (svn r19708) -Add: NewGRF "debugging" window and data tables; should be a useful tool for NewGRF developers to get some insights into the value of some variables 2010-04-24 13:36:29 +00:00
rubidium 1da0086a45 (svn r19707) -Add: helper functions to instantiate/fill ResolverObjects 2010-04-24 13:35:18 +00:00
rubidium e75e2648fc (svn r19706) -Add: support for the (NewGRF) debug box 2010-04-24 13:27:22 +00:00
rubidium fef77ca53e (svn r19705) -Change: reinitialise the windows when changing the newgrf_developer_tools setting 2010-04-24 13:22:17 +00:00
rubidium 3461430a34 (svn r19704) -Codechange: unify the style of GSF enums; now they're plural instead of mixed 2010-04-24 11:52:58 +00:00
rubidium 8aad995e32 (svn r19703) -Add: hexadecimal string filter 2010-04-24 07:31:58 +00:00
rubidium cdfd81405e (svn r19702) -Add: {HEX} to strgen 2010-04-24 07:30:08 +00:00
frosch ca9a015984 (svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly and cancel object placement when selecting not available industries. 2010-04-23 21:47:03 +00:00
translators 7a56196d98 (svn r19700) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
finnish - 11 changes by jpx_
indonesian - 3 changes by fanioz, prof
polish - 3 changes by silver_777
brazilian_portuguese - 7 changes by kwast, vitor_015
2010-04-23 17:45:18 +00:00
terkhen d9dc4c04f4 (svn r19699) -Codechange: Use InvalidateData at the refit window. 2010-04-23 17:29:53 +00:00
rubidium f642c01fb4 (svn r19698) -Add: macros to get the size/length of a variable within a class 2010-04-23 14:56:14 +00:00
rubidium 532ac6bd67 (svn r19697) -Add: sprite for NewGRF some debuging features 2010-04-23 14:31:10 +00:00
terkhen 92a6710cb7 (svn r19696) -Fix [FS#3781]: Avoid showing building toolbars behind the main toolbar when the "Link landscape toolbar" setting is active. 2010-04-22 19:41:36 +00:00
rubidium 26af87bbaa (svn r19695) -Fix: leaking a file descriptor 2010-04-22 18:34:45 +00:00
translators 8bc0231f98 (svn r19694) -Update from WebTranslator v3.0:
greek - 8 changes by vesnikos
luxembourgish - 1 changes by Phreeze
norwegian_nynorsk - 1 changes by 2rB
polish - 16 changes by xine
2010-04-22 17:45:16 +00:00
smatz f48f4c8293 (svn r19693) -Codechange: split STATUS_INACTIVE to two states 2010-04-22 17:26:57 +00:00
translators 2836d9c1d7 (svn r19689) -Update from WebTranslator v3.0:
croatian - 2 changes by VoyagerOne
dutch - 1 changes by habell
hungarian - 17 changes by IPG
indonesian - 3 changes by prof
norwegian_nynorsk - 1 changes by 2rB
2010-04-21 17:45:18 +00:00
rubidium 464a56420f (svn r19688) -Codechange: run CheckCaches after the debug desync save, so we don't store just reset values in the savegame but the data from the previous tick 2010-04-21 12:55:33 +00:00
rubidium bc81039cb8 (svn r19687) -Fix: desync when joining the game because of using the wrong variable 2010-04-21 12:36:00 +00:00
smatz 32510296b6 (svn r19686) -Fix (r15126): truncated archives were not detected when using zlib 1.2.3. This also fixes zlib 1.2.4 compatibility, zlib 1.2.5 is bugfree 2010-04-21 11:42:00 +00:00
yexo ce8523f70a (svn r19685) -Fix (r19679): off-by-one error 2010-04-20 19:25:29 +00:00
yexo 879057de25 (svn r19684) -Fix [FS#3779]: don't show an error message when trying to give another client an amount of 0 money 2010-04-20 18:02:08 +00:00
smatz dba2a57b0d (svn r19683) -Fix (r19654): towns with 3x3 and 2x2 road layouts couldn't expand 2010-04-20 17:49:11 +00:00
translators 3c8c792e7e (svn r19682) -Update from WebTranslator v3.0:
irish - 26 changes by Nalum
2010-04-20 17:45:03 +00:00
rubidium 519c8007c8 (svn r19680) -Fix [FS#3775] (r19648): when joining a MP game all clients with company ID > 0 would be shown as if they were a spectator 2010-04-20 11:29:51 +00:00
yexo 92e36c87fd (svn r19679) -Fix: [NewGRF] make sure newgrfs can't overwrite sound effect properties from other newgrfs 2010-04-20 05:52:51 +00:00
rubidium df4d8b3bc9 (svn r19678) -Fix (r19607): client status was shown incorrect in the console 2010-04-19 19:50:56 +00:00
translators 1ce5d3ed12 (svn r19677) -Update from WebTranslator v3.0:
portuguese - 6 changes by JayCity
romanian - 1 changes by tonny
serbian - 2 changes by etran
slovenian - 9 changes by Necrolyte
spanish - 1 changes by Terkhen
2010-04-19 17:45:19 +00:00
rubidium 83e40b8ced (svn r19674) -Fix [FS#3774]: crash when the music/graphics metadata files were unreadable 2010-04-19 09:34:56 +00:00
terkhen 3442b8c345 (svn r19673) -Codechange: Optimize calculation of graph grid size (method by Alberth).
-Fix: Remove a gcc 3.3 warning.
2010-04-18 20:23:35 +00:00
translators 687478e0db (svn r19672) -Update from WebTranslator v3.0:
catalan - 3 changes by arnau
czech - 8 changes by Harlequin
german - 1 changes by planetmaker
italian - 1 changes by lorenzodv
latvian - 30 changes by nobody
lithuanian - 3 changes by BlinK_
maltese - 26 changes by kelinu
swedish - 2 changes by tool
turkish - 12 changes by niw3
2010-04-18 17:45:29 +00:00
frosch af7051178d (svn r19671) -Fix (r19670): RoundDiv() needs to deal with signed numerators. 2010-04-18 17:13:01 +00:00
frosch 2e90f7f8b9 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 2010-04-18 14:56:05 +00:00
yexo 2330851d1d (svn r19669) -Fix: don't display an error message when double clicking on a vehicle in the 'available vehicles'-window 2010-04-17 23:38:00 +00:00
frosch 893e405af0 (svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL. 2010-04-17 23:34:00 +00:00
rubidium 1647c2d50e (svn r19664) -Fix [FS#3749]: Crash of a dedicated server if the null blitter is overridden and (after a while) there is no company 0 on new year anymore 2010-04-17 22:19:14 +00:00
smatz 1f963aed43 (svn r19663) -Fix: in rare cases, update of signals could be missed 2010-04-17 20:21:33 +00:00
terkhen 320dcc7d07 (svn r19662) -Feature: Resizable graphs. 2010-04-17 19:18:58 +00:00
terkhen e959d56122 (svn r19661) -Codechange: Base the number of vertical grids of a graph on its size. 2010-04-17 19:15:13 +00:00
yexo 9a2e53e803 (svn r19660) -Feature: [NewGRF] support cb36 for aircraft speed also in the build menu 2010-04-17 17:45:44 +00:00
translators 6cf4afad14 (svn r19659) -Update from WebTranslator v3.0:
finnish - 1 changes by jpx_
french - 1 changes by glx
greek - 2 changes by fumantsu
irish - 2 changes by Nalum
maltese - 74 changes by kelinu
portuguese - 1 changes by JayCity
russian - 3 changes by Lone_Wolf
slovenian - 1 changes by ntadej
2010-04-17 17:45:24 +00:00
frosch 77486ee8d2 (svn r19658) -Fix: One could turn transport companies into credit banks. 2010-04-17 14:57:49 +00:00
frosch 2365a4dea0 (svn r19657) -Fix: Add saneness checks for front vehicles. 2010-04-17 14:55:49 +00:00
frosch 5ecf2f7f8c (svn r19656) -Codechange/Fix: Report back if invalid vehicle lists are requested. 2010-04-17 14:47:56 +00:00
frosch 2a5ddd0dae (svn r19655) -Codechange: Reduce usage magic p1 parameter. 2010-04-17 13:45:48 +00:00
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 2010-04-17 13:31:41 +00:00
frosch 184fa43df2 (svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so generally extent it to handle 32 bits. 2010-04-17 11:49:25 +00:00
smatz cd20724d20 (svn r19651) -Fix [FS#3745]: when a company is sold, move connected clients to spectators 2010-04-17 11:39:46 +00:00
rubidium 96a2cbb58e (svn r19650) -Add: stub for a Maltese translation 2010-04-17 11:22:45 +00:00
rubidium 23c9573b64 (svn r19649) -Add: plural rule for Maltese
-Fix: plural rule for Irish
2010-04-17 11:16:34 +00:00
rubidium b907dfdef8 (svn r19648) -Fix [FS#3760]: a client would not be properly moved when moved while joining, e.g. when entering a company's password. This caused the client to be in the wrong company (according to the rest of the clients) and the client being kicked on the first command 2010-04-17 10:52:26 +00:00
yexo 7a3b6f1588 (svn r19647) -Fix [FS#3768]: trains loaded above the original IDs didn't have a default railtypelabel assigned to them, causing them to be unavailable 2010-04-17 09:12:26 +00:00
rubidium 39d421ff9c (svn r19644) -Fix [FS#3728]: don't allow building cacti outside of the desert or rain forest trees outside of the rain forest area. This to prevent people from thinking planting rain forest trees makes the rain forest bigger and thus adds more place to build a lumber mill. 2010-04-16 21:46:06 +00:00
frosch 2141ca2368 (svn r19643) -Fix (r19120): Industry generation failed for large maps and lots of industry types. 2010-04-16 21:21:54 +00:00
terkhen d1c3234918 (svn r19642) -Add: Sort cargos alphabetically at the "Reffitable to" label in the
build vehicle window.
2010-04-16 18:49:24 +00:00
rubidium 949a6dd580 (svn r19641) -Add: stub for an Irish translation 2010-04-16 18:17:14 +00:00
translators 6511722bd3 (svn r19640) -Update from WebTranslator v3.0:
dutch - 2 changes by Yexo
portuguese - 12 changes by JayCity
2010-04-16 17:45:12 +00:00
translators 4ad39807e4 (svn r19639) -Update from WebTranslator v3.0:
italian - 2 changes by lorenzodv
luxembourgish - 2 changes by Phreeze
slovenian - 2 changes by ntadej
2010-04-15 17:45:12 +00:00
rubidium a6f46657ab (svn r19638) -Change: log the _date and _date_fract in the desync log for saved games 2010-04-14 20:29:39 +00:00
frosch 0f656010c8 (svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel. 2010-04-14 20:28:37 +00:00
rubidium 1177092da6 (svn r19636) -Fix: desync when taking over companies 2010-04-14 20:26:34 +00:00
frosch b858c22a7e (svn r19635) -Fix (r19634): Forgot AI. 2010-04-14 20:08:55 +00:00
frosch aea2252960 (svn r19634) -Codechange: Use TREE_INVALID more consistently. 2010-04-14 19:57:19 +00:00
frosch a929ab0c24 (svn r19633) -Fix (r11759): Signed computations with unsigned integers. 2010-04-14 19:56:29 +00:00
terkhen 22f864b0c0 (svn r19632) -Cleanup: has_negative_values is no longer used. 2010-04-14 19:37:55 +00:00
terkhen f61b9e3962 (svn r19631) -Feature: Graphs with negative values are no longer forced to have the zero axis in the middle (grid size calculation by Alberth). 2010-04-14 19:20:38 +00:00
translators 90aa0fdf58 (svn r19630) -Update from WebTranslator v3.0:
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
luxembourgish - 23 changes by Phreeze
spanish - 8 changes by Terkhen
2010-04-14 17:45:18 +00:00
rubidium 5eb54ac434 (svn r19629) -Fix [FS#3757]: chat message caused glitch when rejoining a network game 2010-04-14 16:12:54 +00:00
rubidium 51ea33f92f (svn r19628) -Change: support the tRNS chunk to read transparency information for RGB PNGs (Szvengar) 2010-04-14 16:07:17 +00:00
rubidium 6c19ba9042 (svn r19625) -Fix [FS#3722]: strange message when unpausing because there are enough players, unclear message when an unexpected/invalid packet is received 2010-04-14 09:52:59 +00:00
frosch 1f28e232c3 (svn r19621) -Codechange: Remove direct usage of magic 'p1's in build vehicle commands. 2010-04-13 19:10:08 +00:00
rubidium 088282bcf8 (svn r19620) -Fix: desync when a command is received and in the queue while a client starts joining, i.e. save the game state. This can happen in two ways: with frame_freq > 1 a command received in a previous frame might not be executed yet or when a command is received in the same frame as the join but before the savegame is made. In both cases the joining client would not get all commands to get in-sync with the server (and the other clients). 2010-04-13 18:55:31 +00:00
rubidium d2ed777fa5 (svn r19619) -Fix (r19618): [desync debug] inserting the "join" pause could cause a crash as some command data was not properly initialised 2010-04-13 18:40:47 +00:00
translators f14f96d2eb (svn r19618) -Update from WebTranslator v3.0:
slovak - 6 changes by keso53
2010-04-13 17:45:07 +00:00
rubidium 23190b8952 (svn r19617) -Fix [desync debug]: log the sync state only once per day, not multiple times when paused with _date_fract = 0
-Change [desync debug]: check the sync state from the command stream and make sure no unknown input is encountered
2010-04-13 17:36:19 +00:00
frosch b76f0185d4 (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 2010-04-13 17:29:19 +00:00
terkhen 7ba4f98ce5 (svn r19615) -Fix [FS#3763]: Company related graphs weren't updated correctly after changing the company colour. 2010-04-12 17:58:09 +00:00
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
smatz 24a60b77ec (svn r19613) -Fix [FS#3755]: possible invalid read when server moves client to spectators before he finishes joining 2010-04-11 22:06:17 +00:00
rubidium 7590651aea (svn r19612) -Fix [FS#3756] (r3212): crash when opening a savegame with a waypoint from around 0.4.0 2010-04-11 21:46:20 +00:00
translators cef89b4f91 (svn r19611) -Update from WebTranslator v3.0:
indonesian - 11 changes by fanioz
2010-04-11 17:45:07 +00:00
smatz 7f3844d3aa (svn r19610) -Codechange: rename STATUS_AUTH to STATUS_AUTHORIZED 2010-04-11 17:32:14 +00:00
smatz 43015ad79b (svn r19609) -Fix: do not print 'Connection lost' message for clients who failed to enter correct password 2010-04-11 17:25:44 +00:00
smatz 13e5058efe (svn r19608) -Fix: do not kick client if he entered password and the password was cleared meanwhile 2010-04-11 17:23:11 +00:00
smatz 11d6e21c3a (svn r19607) -Codechange: use different packet types instead of packet subtypes 2010-04-11 17:17:12 +00:00
smatz d2dc3a2e2b (svn r19606) -Codechange: remove global variable pw_type 2010-04-11 16:38:31 +00:00
frosch 0d4e6c46ff (svn r19605) -Codechange: Merge ExtractBits into EnumPropsT. 2010-04-11 15:44:16 +00:00
frosch 03c609f019 (svn r19604) -Codechange: Reintroduce assert_tcompile(). 2010-04-11 15:43:54 +00:00
rubidium 5c7aaf11ba (svn r19602) -Codechange: add the name of the command to the desync logs 2010-04-11 10:11:26 +00:00
rubidium 9b7d71699d (svn r19601) -Fix: make the desync replay parse the "whole" string instead of everything up to the first space; make it log the sync state too 2010-04-11 09:54:44 +00:00
frosch ba5f5c1ce1 (svn r19600) -Fix (r18994): Presence of online content was not properly updated after download due to duplicate slashes in the path. 2010-04-10 21:34:21 +00:00
terkhen c233dc08c1 (svn r19599) -Fix [FS#3751]: Vehicles with a weight of zero crashed the game when using realistic acceleration. 2010-04-10 19:30:38 +00:00
translators d308a41cef (svn r19598) -Update from WebTranslator v3.0:
traditional_chinese - 5 changes by josesun
portuguese - 2 changes by JayCity
turkish - 2 changes by canbu
ukrainian - 8 changes by Madvin
2010-04-10 17:45:15 +00:00
frosch f835f67a39 (svn r19597) -Fix: Removing NewGRFs from the GUI list leaked. 2010-04-10 13:00:34 +00:00