Commit Graph

6101 Commits

Author SHA1 Message Date
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 2009-04-26 14:52:56 +00:00
rubidium c21062a728 (svn r16159) -Change [FS#2846]: warn when multiline strings are drawn with DrawString and not DrawStringMultiLine. 2009-04-26 14:40:23 +00:00
yexo f0bc464b18 (svn r16158) -Codechange: fix the string alignment in all .hpp.sq files 2009-04-26 12:22:09 +00:00
rubidium ce171535d1 (svn r16157) -Fix: wrong truncation of refit cost/graph x labels because they were multiline strings being drawn using DrawString instead of DrawStringMultiLine. 2009-04-26 10:48:30 +00:00
rubidium 11c6d30e77 (svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter) 2009-04-26 10:45:07 +00:00
smatz fc63e37616 (svn r16155) -Codechange: remove MarkTileDirty, use MarkTileDirtyByTile instead 2009-04-26 10:21:50 +00:00
alberth cd9f239f0f (svn r16154) -Codechange: Added nested widgets for sign list and sign edit windows. 2009-04-26 08:36:48 +00:00
alberth 47d63f0fc5 (svn r16153) -Codechange: Completing QueryEditSignWidgets enum. 2009-04-26 08:33:47 +00:00
alberth d0655084e0 (svn r16152) -Codechange: Added nested widgets for advanced settings and for custom currency windows. 2009-04-26 07:43:19 +00:00
yexo 660f90d37b (svn r16151) -Codechange: move some includes around to prevent including half the AI api in non-noai related code. 2009-04-25 23:51:15 +00:00
yexo 486e5b4bfe (svn r16150) -Fix [NoAI]: Change WAYPOINT_INVALID to 0xFFFF from -1 as that's the value the AIs got (due to casting).
Clarify some api documentation.
2009-04-25 22:57:15 +00:00
rubidium d8bc98d5de (svn r16149) -Fix [FS#2860]: when there's no AI and an AI is started... *boom* 2009-04-25 22:40:24 +00:00
smatz 25ecace01b (svn r16148) -Fix [FS#2839]: misleading comment (part by Bilbo) 2009-04-25 22:22:27 +00:00
rubidium dec40e5501 (svn r16147) -Feature [FS#2635]: give the town generator a slight tendency to build towns near water by not discarding watery random tiles but by searching for near land (db48x) 2009-04-25 22:12:59 +00:00
smatz f09807bfe1 (svn r16146) -Codechange: use faster algorithm in SetSelectionTilesDirty(). Up to 1000 times faster when large area is selected 2009-04-25 22:04:13 +00:00
rubidium a36ab04d5d (svn r16145) -Add: '-export-pragmas' to strgen so external tools can (hopefully) automatically be updated to support new pragmas 2009-04-25 21:09:42 +00:00
rubidium 802d31aab6 (svn r16144) -Fix (r16129): setting the custom digit grouping separator required to restart OpenTTD to take effect. Now also support non 1 ASCII character custom grouping separators. 2009-04-25 20:16:56 +00:00
alberth 4ec6456feb (svn r16143) -Codechange: Change other languages too. 2009-04-25 17:52:20 +00:00
alberth 55336c4a9d (svn r16142) -Codechange: Use widgets in the custom currency window. 2009-04-25 17:51:10 +00:00
alberth 76ccb85660 (svn r16141) -Codechange: Adding nested widgets to remaining graph windows. 2009-04-25 12:00:54 +00:00
alberth f4ea018f7f (svn r16140) -Codechange: Call a function while contructing a widget tree. 2009-04-25 11:59:36 +00:00
alberth c6d5923d22 (svn r16139) -Codechange: Adding/completing widget number enums of several graph windows. 2009-04-25 10:06:22 +00:00
rubidium 00ed8c6f27 (svn r16138) -Codechange: move GetClosestWaterDistance to map* 2009-04-24 22:27:21 +00:00
translators f2f476a570 (svn r16137) -Update: WebTranslator2 update to 2009-04-24 17:43:46
catalan    - 15 fixed by arnaullv (15)
czech      - 2 changed by Hadez (2)
estonian   - 28 changed by kristjans (28)
german     - 2 changed by planetmaker (2)
luxembourgish - 32 fixed by Gubius (32)
2009-04-24 17:43:53 +00:00
rubidium ecdb5f46a7 (svn r16136) -Fix (r16095)[FS#2858]: sometimes autorail wouldn't work; seems to be primarily for OSX users though 2009-04-24 17:23:32 +00:00
rubidium 169a003e9a (svn r16135) -Fix [FS#2856]: always give the server an already resolved 'client address' so we can be sure the client address is always resolved 2009-04-24 10:52:51 +00:00
rubidium 5db32d1dc5 (svn r16134) -Change: do not add duplicates to the broadcast list 2009-04-24 10:33:16 +00:00
rubidium d21f406b03 (svn r16133) -Fix (r16129): who would've thought that the saveload system couldn't handle skipping strings on load yet? 2009-04-24 08:15:58 +00:00
rubidium 7d76836fcb (svn r16132) -Fix (r7232/r16129): crash when saving games; r7232 is the cause of the problem, r16129 just causes it to be triggered. 2009-04-23 23:47:13 +00:00
rubidium 81dccf32c1 (svn r16131) -Fix (r16129): some compile warnings on some compilers 2009-04-23 23:30:54 +00:00
rubidium a1e822df6b (svn r16130) -Fix [FS#2855]: the overflowsafe type didn't like dividing by int64 larger than MAX_INT32 causing division by negative numbers and small anomolies when drawing graphs. 2009-04-23 23:29:44 +00:00
rubidium ff05dc8446 (svn r16129) -Feature-ish: configurable digit group separator per language with user override. 2009-04-23 21:05:00 +00:00
rubidium 208234a7a0 (svn r16128) -Change: allow loading (and storing) NULL values for STRQ in openttd.cfg. 2009-04-23 19:13:41 +00:00
translators e2a7732151 (svn r16127) -Update: WebTranslator2 update to 2009-04-23 17:54:01
serbian    - 81 fixed by etran (81)
spanish    - 24 fixed by eusebio (24)
turkish    - 14 fixed by Emin (14)
2009-04-23 17:54:05 +00:00
rubidium c4df60feb9 (svn r16126) -Fix (r16125): WT2 fracked up big time... 2009-04-23 17:43:23 +00:00
translators 2bcb149cad (svn r16125) -Update: WebTranslator2 update to 2009-04-23 17:35:41
bulgarian  - 13 fixed by thetitan (13)
czech      - 25 fixed, 2 changed by Hadez (27)
dutch      - 14 fixed by habell (14)
estonian   - 1 fixed by kristjans (1)
finnish    - 15 fixed by jpx_ (15)
german     - 49 changed by planetmaker (49)
luxembourgish - 32 fixed by Gubius (32)
serbian    - 81 fixed by etran (81)
spanish    - 24 fixed by eusebio (24)
turkish    - 14 fixed by Emin (14)
2009-04-23 17:35:55 +00:00
rubidium 8bf251f3ab (svn r16124) -Codechange: unify the three number drawing methods 2009-04-23 16:17:10 +00:00
rubidium 1f25d9126f (svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo 2009-04-23 14:06:57 +00:00
rubidium 85ca163be2 (svn r16122) -Change: add more misc information about the behaviour of commands to strgen's -export-commands. 2009-04-23 13:32:13 +00:00
smatz 3dbcc66cb1 (svn r16119) -Fix [FS#2582](r12167): road was removed when both the Remove button was active and Ctrl was pressed (Terkhen) 2009-04-22 00:12:37 +00:00
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 2009-04-21 23:40:56 +00:00
translators 58db962353 (svn r16117) -Update: WebTranslator2 update to 2009-04-21 23:34:40
french     - 1 changed by glx (1)
german     - 6 changed by planetmaker (6)
hungarian  - 1 fixed by alyr (1)
italian    - 2 fixed by lorenzodv (2)
2009-04-21 23:34:44 +00:00
rubidium 6dc4fed75c (svn r16116) -Fix (r16115): note to self: copy the right subversion config file from 'the other' computer otherwise it won't do what you expect it to do, like automatically setting svn:eol-style and svn:keywords. 2009-04-21 21:41:20 +00:00
rubidium d56d462eca (svn r16115) -Change: make strgen able to 'export' the important command and plural information so external tools can easily get that information instead of needing manual updating 2009-04-21 21:34:26 +00:00
rubidium 2ec09d95a1 (svn r16114) -Cleanup: unify some more strings and remove some more unused strings 2009-04-21 20:20:53 +00:00
yexo 3949050714 (svn r16113) -Feature [NoAI]: Add UseAsRandomAI as function in info.nut. When an AI returns false, it'll never be chosen as random AI. 2009-04-21 19:13:32 +00:00
translators d4d163e127 (svn r16112) -Update: WebTranslator2 update to 2009-04-21 17:33:19
estonian   - 13 fixed, 29 changed by kristjans (42)
french     - 15 fixed by glx (15)
german     - 14 fixed, 52 changed by planetmaker (66)
hungarian  - 14 fixed by alyr (14)
italian    - 13 fixed by lorenzodv (13)
2009-04-21 17:33:27 +00:00
rubidium ce5a282977 (svn r16111) -Cleanup: remove some duplicate/unused strings
-Change: move a string to a more sensible location
2009-04-21 16:57:26 +00:00
frosch d338fff1b9 (svn r16110) -Codechange: use {CARGO} instead hardcoded cargo name (there is always something duplicated :p) 2009-04-21 16:52:58 +00:00
yexo 10c98f7e0e (svn r16109) -Fix [NoAI]: Make sure AIOrder::GetDestination always returns a tile belonging to the station 2009-04-21 16:49:53 +00:00
yexo 63db874050 (svn r16108) -Fix [NoAI]: When giving an aircraft a goto-hangar order don't let it be a normal goto-station order.
Note to AI writers: AIOrder.AppendOrder(vehicle_id, AIStation.GetLocation(station_id)) will give a goto-hangar order for helistations (assuming the station sign is at it's default location).
2009-04-21 12:51:36 +00:00
yexo 61d883e7e5 (svn r16107) -Add [NoAI]: AIOF_STOP_IN_DEPOT to the orderflags in AIOrder to allow stop-in-depot orders 2009-04-20 23:49:27 +00:00
yexo a664a2668c (svn r16106) -Fix [NoAI]: AIOrder::SetOrderFlags always removed "Service if needed" from goto-depot orders. 2009-04-20 23:12:32 +00:00
glx 37cce7098b (svn r16105) -Codechange: use {CARGO} instead hardcoded cargo name 2009-04-20 22:41:09 +00:00
rubidium b01ed2b38f (svn r16104) -Fix: remove some unneeded spaces from some strings/make some strings more consistent with itself by adding spaces 2009-04-20 21:39:20 +00:00
smatz dff3e1d035 (svn r16103) -Fix (r11429): missing const 2009-04-20 21:30:34 +00:00
rubidium 9a56844b67 (svn r16102) -Codechange: unify the vehicle info strings; reduce the number of duplicate strings and unifies the GUIs quite a bit 2009-04-20 21:29:41 +00:00
frosch f0a4bbda6d (svn r16101) -Cleanup (r14591): Remove an assertion to increase performance. 2009-04-20 17:42:14 +00:00
translators d18cea5369 (svn r16100) -Update: WebTranslator2 update to 2009-04-20 17:38:22
brazilian_portuguese - 1 fixed by tucalipe (1)
dutch      - 1 fixed by habell (1)
english_US - 1 fixed by WhiteRabbit (1)
estonian   - 14 fixed, 75 changed by kristjans (89)
german     - 1 fixed, 79 changed by planetmaker (79), hellow (1)
italian    - 1 fixed by lorenzodv (1)
romanian   - 10 fixed by kkmic (10)
simplified_chinese - 1 changed by ww9980 (1)
2009-04-20 17:38:34 +00:00
translators a9e95b1f3d (svn r16099) -Fix: re-re-introduce textdir for all languages (and this time WT2 should not remove it on next commit) 2009-04-20 14:17:09 +00:00
rubidium 0068629432 (svn r16096) -Fix [FS#2849]: connect tried to validate too much of the company ID with too little information on hand 2009-04-19 22:24:34 +00:00
rubidium d02cdd91ca (svn r16095) -Change/Feature-ish: make the first 4 rail building tools behave more like autorail 2009-04-19 21:26:06 +00:00
frosch 90ebf211dc (svn r16094) -Fix: AIDebug window profiled the blitters by invalidating itself unconditionally on repaint. OTOH it was not invalidated in other cases when needed. 2009-04-19 16:04:44 +00:00
yexo a91ff2d5e8 (svn r16093) -Feature [FS#2808]: Add GetURL() as possible function to info.nut. If AIs implement it, that url is shown when the AI crashes and also in the AI selection window. 2009-04-19 15:14:23 +00:00
alberth ef90925226 (svn r16092) -Fix [FS#2829]: Resizing the order window also resizes the button bars. 2009-04-19 14:55:12 +00:00
yexo 3e2e5b097c (svn r16091) -Change [FS#2778]: Reverse the order of the lines in the AI debug window 2009-04-19 14:42:03 +00:00
frosch 713da56d9b (svn r16090) -Fix: s/Slovakish/Slovak/ (unimatrix) 2009-04-19 14:11:17 +00:00
alberth 66ea0207f0 (svn r16089) -Codechange: Removing the ORDER_WIDGET_RESIZE_BAR widget 2009-04-19 10:41:48 +00:00
rubidium 329cabab4f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 2009-04-19 10:31:30 +00:00
rubidium 2a2b40461d (svn r16087) -Fix (r16079): slow trains wouldn't crash into eachother anymore 2009-04-19 04:36:53 +00:00
rubidium b66783afab (svn r16086) -Codechange: magic numbers substitutes by enums and some type safety 2009-04-18 21:10:36 +00:00
translators 25cdef9523 (svn r16085) -Update: WebTranslator2 update to 2009-04-18 17:47:27
danish     - 6 changed by ThomasA (6)
estonian   - 31 fixed, 26 changed by kristjans (57)
simplified_chinese - 1 fixed, 25 changed by ww9980 (26)
turkish    - 10 fixed by Emin (10)
2009-04-18 17:47:33 +00:00
alberth a2a2b183a5 (svn r16082) -Codechange: Completed the widget numbers of the advanced settings window. 2009-04-18 15:31:49 +00:00
alberth 099281d7e4 (svn r16081) -Doc: Adding/fixing some Doxygen comments. 2009-04-18 15:03:02 +00:00
alberth 2fa61c6af7 (svn r16080) -Codechange: Introducing a constant for order-list line height. 2009-04-18 14:12:30 +00:00
rubidium 06a8a8ce8d (svn r16079) -Fix [FS#2824]: insanely fast trains would not stop in time for stations
-Fix: insanely fast trains would sometimes 'jump' over waypoints/via stations within a tick, which would cause the order not to be processed causing the train to go in loops until (with luck) it 'hit' the tile
2009-04-18 13:43:05 +00:00
rubidium 523a92493d (svn r16078) -Change: do not show stop location for via orders; they don't stop there 2009-04-18 13:21:51 +00:00
frosch faa1ec7a5d (svn r16077) -Cleanup (r14456): Remove some code that is only used for some assertions, that haven't been triggered for a while. 2009-04-18 11:08:10 +00:00
alberth b52c6e5905 (svn r16076) -Codechange: Added nested widgets to terraform windows. 2009-04-18 07:49:20 +00:00
frosch 3086a89ee3 (svn r16075) -Fix (r15792)[FS#2844]: Mixed up TRACK_BIT_X/Y. 2009-04-17 23:16:01 +00:00
alberth 974dcbd339 (svn r16074) -Codechange: Adding nested widgets to subsidy list window. 2009-04-17 20:03:44 +00:00
alberth 19d9dc5836 (svn r16073) -Codechange: Replacing some magic constants by computations relative to the SLW_PANEL widget. 2009-04-17 19:55:39 +00:00
alberth 1883510be0 (svn r16072) -Codechange: Adding widget number constants to subsidy list window. 2009-04-17 19:47:21 +00:00
rubidium f14425e2c4 (svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due to mathematical overflow. 2009-04-17 17:48:33 +00:00
translators 36bb2f823a (svn r16070) -Update: WebTranslator2 update to 2009-04-17 17:45:57
german     - 5 changed by hellow (1), planetmaker (4)
greek      - 29 changed by ptsakiris (29)
serbian    - 110 fixed by etran (110)
simplified_chinese - 17 fixed, 447 changed by ww9980 (464)
2009-04-17 17:46:05 +00:00
translators 135fea163c (svn r16069) -Update: WebTranslator2 update to 2009-04-16 17:52:36
brazilian_portuguese - 12 fixed by tucalipe (12)
korean     - 8 fixed by darkttd (8)
slovenian  - 10 fixed by Necrolyte (10)
2009-04-16 17:52:41 +00:00
rubidium 8c68e2488f (svn r16066) -Fix: another memory leak. 2009-04-15 20:49:26 +00:00
rubidium d04ebf2fa5 (svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted 2009-04-15 20:37:00 +00:00
rubidium 3061d70387 (svn r16064) -Fix: memory leak when querying a server multiple times. 2009-04-15 20:35:52 +00:00
frosch aecddf5cbe (svn r16063) -Fix (r13752): MOF_COND_DESTINATION was not accepted by CmdModifyOrder(). (only used by AI) 2009-04-15 17:37:31 +00:00
frosch eb7414ea9e (svn r16062) -Fix (r16037): AIOrder::InsertOrder was broken. Default all AI orders to 'stop at far end'. 2009-04-15 17:31:08 +00:00
translators f6ba4bf3bd (svn r16058) -Update: WebTranslator2 update to 2009-04-14 17:49:02
danish     - 9 fixed by ThomasA (9)
dutch      - 10 fixed by habell (10)
english_US - 10 fixed by WhiteRabbit (10)
german     - 1 changed by planetmaker (1)
hungarian  - 6 fixed, 3 changed by IPG (9)
italian    - 10 fixed by lorenzodv (10)
2009-04-14 17:49:10 +00:00
rubidium 34cc30e7fb (svn r16057) -Fix [FS#2834] (r16037): division by zero when having an order with only one station that has either middle or near end stop location and where the platform is (significantly) longer than the train. 2009-04-13 22:27:21 +00:00
rubidium 627c042df1 (svn r16056) -Fix (r16037): clicking twice on the "end of orders" crashed. 2009-04-13 21:30:21 +00:00
translators cd4476fc74 (svn r16055) -Update: WebTranslator2 update to 2009-04-13 17:30:44
catalan    - 10 fixed by arnaullv (10)
czech      - 1 changed by Hadez (1)
finnish    - 10 fixed by jpx_ (10)
french     - 9 fixed by glx (9)
german     - 10 fixed by planetmaker (10)
hungarian  - 4 fixed by alyr (4)
italian    - 10 fixed by lorenzodv (10)
luxembourgish - 38 fixed, 1 changed by draconnier (39)
2009-04-13 17:30:53 +00:00
glx 529bd1eddb (svn r16054) -Fix: non advanced vehicle list didn't handle company switching correctly 2009-04-13 17:19:43 +00:00
alberth 5d12d1b510 (svn r16053) -Codechange: Added nested widgets to vehicle refit and vehicle details windows. 2009-04-13 14:09:56 +00:00
alberth 56b9742885 (svn r16052) -Codechange: Applying VehicleRefitWidgets in RefitWindow, fixed widget number comment in _vehicle_refit_widgets 2009-04-13 14:04:10 +00:00
alberth 21cad4140c (svn r16051) -Codechange: Adding widget numbers enum for vehicle refit window. 2009-04-13 08:40:40 +00:00
glx 532fca65ef (svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the fallback even when freeaddrinfo is available 2009-04-12 22:13:05 +00:00
alberth eaa98482e4 (svn r16049) -Codechange: Added nested widgets to town windows. 2009-04-12 19:30:47 +00:00
rubidium 8a39da7618 (svn r16048) -Fix/Feature-ish [FS#2740]: don't warn that crashed vehicles are getting old; upgrading them is impossible (racetrack) 2009-04-12 19:28:05 +00:00
alberth 848404eea5 (svn r16047) -Codechange: Extracting widget number enums from their window classes. 2009-04-12 19:25:59 +00:00
rubidium 118a9bdaf1 (svn r16046) -Change: when sorting on cargo ratings only take a look at the ratings of the cargoes that are 'selected'. 2009-04-12 19:23:26 +00:00
rubidium ae3ebe6834 (svn r16045) -Feature [FS#597]: allow sorting stations by the lowest cargo rating instead of only by the highest cargo rating (based on the idea of KeeperOfTheSoul) 2009-04-12 19:15:53 +00:00
frosch f46f8bd427 (svn r16044) -Fix (r16042): Win compilation. (Swallow) 2009-04-12 18:40:39 +00:00
alberth f17d6df0a6 (svn r16043) -Codechange: Prepare town-view widgets for nesting. 2009-04-12 17:47:33 +00:00
frosch 6ebe8d7fc6 (svn r16042) -Feature [FS#1941]: Allow filtering of vehicle purchase lists by cargo. Based on patch by sbr. 2009-04-12 17:38:01 +00:00
rubidium 13d6412c22 (svn r16041) -Fix [FS#774]: the currency abbreviation for the Romanian Leu is now RON. 2009-04-12 17:27:44 +00:00
alberth d0f91fbea2 (svn r16040) -Codechange: Use coordinates from the widget for the town-view viewport instead of magic constants. 2009-04-12 15:30:16 +00:00
alberth 0196f06744 (svn r16039) -Codechange: Completing widget number enums of town windows and adding them as comment to the widget arrays. 2009-04-12 15:17:27 +00:00
frosch 07a5f529bf (svn r16038) -Codechange: Remove BuildVehicleWindow::regenerate_list in favor of the GUIList flag. 2009-04-12 14:12:17 +00:00
rubidium 5790293af6 (svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station. 2009-04-12 14:11:14 +00:00
alberth e85e8ca4db (svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to TVW_SHOWAUTHORITY (bilbo) 2009-04-12 06:01:24 +00:00
rubidium 47e2901e18 (svn r16034) -Fix: compile warnings generated by 64 bits MSVC. 2009-04-11 20:26:25 +00:00
alberth e5ab73e762 (svn r16033) -Codechange: Added nested widgets to about window, land-info window, and both query windows. 2009-04-11 19:14:34 +00:00
alberth 23f0277526 (svn r16032) -Codechange: Completing widget numbers of query windows. 2009-04-11 18:38:10 +00:00
alberth 8a90633ba6 (svn r16031) -Codechange: Added nested widgets to highscore and endgame windows. 2009-04-11 18:10:32 +00:00
translators f190eb0d93 (svn r16030) -Update: WebTranslator2 update to 2009-04-11 17:38:26
serbian    - 50 fixed by etran (50)
traditional_chinese - 6 fixed, 2 changed by josesun (8)
2009-04-11 17:38:29 +00:00
rubidium f99b125c84 (svn r16029) -Fix [FS#2785]: do not give "... Mines" as name to the station of oil rigs, or more general: do not add "... Mines" when the all of the cargoes are part of the liquid, passenger or mail classes. 2009-04-11 17:09:38 +00:00
rubidium ec0635e59b (svn r16028) -Fix [FS#2826]: storing/loading some currencies failed due to inconsistent "tables".
-Codechange: unduplicate settings "tables" that might be made inconsistent in the future (to prevent other cases like FS#2826).
2009-04-11 15:23:54 +00:00
frosch 1b85c10a5b (svn r16027) -Fix (r9555): Usage of uninitialised memory when trying to build a random new industry, but there are no industrytypes to choose from (i.e. all appearance probabilities are zero). 2009-04-11 14:54:03 +00:00
peter1138 be7215497c (svn r16026) -Codechange: Use font height for chat line spacing instead of fixed value. 2009-04-11 10:38:00 +00:00
rubidium f16aa9f509 (svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations. 2009-04-10 22:47:19 +00:00
rubidium bee930f9b3 (svn r16024) -Codechange: harden string copying on places where it's possible 2009-04-10 20:37:05 +00:00
rubidium 4bf3508680 (svn r16023) -Fix (r15615) [FS#2817]: 32 bpp sprites in tars would also be shown in the list of heightmaps. 2009-04-10 20:20:37 +00:00
rubidium 2663ad302f (svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary. 2009-04-10 20:18:48 +00:00
peter1138 238742ee03 (svn r16021) -Codechange: Offset current console output by (width of "] ")+5 pixels instead of 5+5 pixels. 2009-04-10 18:55:38 +00:00
peter1138 3bb5b00e48 (svn r16020) -Codechange: Use actual font height for console output instead of fixed value. 2009-04-10 18:21:40 +00:00
translators 3d15404ce3 (svn r16019) -Update: WebTranslator2 update to 2009-04-10 17:49:32
estonian   - 11 changed by kristjans (11)
serbian    - 50 fixed by etran (50)
turkish    - 2 fixed by Emin (2)
2009-04-10 17:49:39 +00:00
rubidium 930bc73e7a (svn r16018) -Fix (r16014): properly escape IPv6 style ([::]) addresses so they aren't seen as new groups. 2009-04-10 17:16:46 +00:00
alberth c8b495fb38 (svn r16017) -Codechange: Added nested widgets to transparency settings window. 2009-04-10 16:31:29 +00:00
alberth f663b77dbb (svn r16016) -Codechange: Moving the TransparencyToolbarWidgets outside the window class. 2009-04-10 16:24:12 +00:00
alberth 5bac7a339f (svn r16015) -Codechange: Completing the TransparencyToolbarWidgets enum. 2009-04-10 16:20:54 +00:00
rubidium 7d3db3ee91 (svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses] 2009-04-10 12:56:55 +00:00
alberth ba200c6a92 (svn r16013) -Codechange: Add nested widgets to music windows. 2009-04-10 11:06:12 +00:00
peter1138 6bf1a49475 (svn r16012) -Codechange: Code style clean up. 2009-04-10 11:03:48 +00:00
alberth 9acb1dc3f2 (svn r16011) -Codechange: Extracting widget number enums from the window classes. 2009-04-10 11:02:09 +00:00
alberth 69ad98ecd5 (svn r16010) -Cleanup: Declare variables at first use. 2009-04-10 10:29:28 +00:00
alberth 0f360420fe (svn r16009) -Codechange: Simplifying some variable assignments. 2009-04-10 10:21:16 +00:00
alberth d28cd96817 (svn r16008) -Fix (r15808): Unswap swapped music selection panels. 2009-04-10 09:43:53 +00:00
rubidium 460fbc7c92 (svn r16007) -Fix (r16004): when we want to bind to both IPv4 and IPv6, make the master socket do that too; too bad getaddrinfo can't handle binding to any address on any port at the same time :( 2009-04-10 09:23:35 +00:00
frosch d3de4ba91b (svn r16006) -Fix (r0): Chance16() did not work for b = 1. Also transform the formula to not use divisions. 2009-04-09 22:37:59 +00:00
rubidium 28bce241fd (svn r16005) -Fix: assertion when there is no last joined server; when you've got an unresolved address, the hostname cannot be resolved either so return it as-is. 2009-04-09 21:36:09 +00:00
rubidium 8477e92386 (svn r16004) -Fix (r16000): explicitly binding to an IPv4 socket would try to register an IPv6 address (only if it could ofcourse) 2009-04-09 21:26:29 +00:00
alberth b5da02ac1c (svn r16003) -Codechange: Replaced magic widget number constant with enumerated value in graph legend window. 2009-04-09 11:42:24 +00:00
alberth 11f406c0a4 (svn r16002) -Codechange: Added nested widgets for company league window 2009-04-09 11:22:36 +00:00
alberth 4af791e888 (svn r16001) -Codechange: Added nested widgets to cargo payment rates window 2009-04-09 09:41:10 +00:00
rubidium c0f9af5607 (svn r16000) -Feature: IPv6 support 2009-04-09 01:22:45 +00:00
rubidium 7118c48b98 (svn r15999) -Codechange: VARDEF--; 2009-04-09 01:22:33 +00:00
rubidium ebe0f9e7f7 (svn r15998) -Codechange: some coding style updates 2009-04-09 01:16:15 +00:00
rubidium c08c4224be (svn r15997) -Fix [FS#2811]: multiline string truncation broke extending the industry window when there are more lines of information 2009-04-09 01:10:35 +00:00
rubidium 882e495f5c (svn r15993) -Codechange: clean up/generalise the handling of the server list 2009-04-08 23:41:48 +00:00
rubidium c2dbc8270b (svn r15991) -Fix: don't add 0.0.0.0/:: to the server list; you can't connect to them in any case 2009-04-08 21:16:24 +00:00
rubidium 0f0cc67d62 (svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString. 2009-04-08 21:11:16 +00:00
rubidium e779c56e31 (svn r15989) -Fix (r15987: segfault due to uninitialised sockets. 2009-04-08 21:03:00 +00:00
rubidium 1d4318c0d1 (svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names. 2009-04-08 19:39:03 +00:00
rubidium 08e37a6f10 (svn r15987) -Fix: make the master socket only listen on the IP the server is bound to. 2009-04-08 19:36:51 +00:00
translators 9c814d64f4 (svn r15985) -Update: WebTranslator2 update to 2009-04-08 17:53:32
catalan    - 1 fixed by arnaullv (1)
english_US - 1 fixed by WhiteRabbit (1)
estonian   - 1 changed by kristjans (1)
galician   - 7 fixed by Condex (7)
malay      - 2 fixed by tombakemas (2)
romanian   - 2 fixed by kkmic (2)
serbian    - 2 fixed by etran (2)
spanish    - 2 fixed by eusebio (2)
2009-04-08 17:53:40 +00:00
rubidium 080095ade5 (svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists. 2009-04-08 17:51:04 +00:00
rubidium cd8da0d69e (svn r15982) -Codechange: use GetAddressAsString to get the name instead of passing the hostname and the IP into a string. 2009-04-08 12:52:53 +00:00
rubidium 9d6edae94d (svn r15981) -Fix: don't print the address family when writing the IP+port to the config file. 2009-04-08 12:09:07 +00:00
rubidium 18146572b0 (svn r15980) -Codechange: don't try to bind to the same socket twice; it's quite pointless. 2009-04-08 11:57:00 +00:00
rubidium c2152fa31f (svn r15979) -Codechange: tweak the debug/warning levels of some of the messages when binding 2009-04-08 01:23:44 +00:00
rubidium a5a424ce28 (svn r15978) -Codechange: support parsing [] enclosed IPv6 addresses. 2009-04-08 01:22:57 +00:00
rubidium 20e82c46d3 (svn r15976) -Codechange: make it a bit more clear for what (type of) address binding fails 2009-04-08 00:41:35 +00:00
rubidium 1eb4aa971e (svn r15975) -Codechange: register each of the IPs we have bound to to the masterserver 2009-04-08 00:26:49 +00:00
glx d466fa9672 (svn r15974) -Fix (r15969): win32 compilation was broken (again) 2009-04-08 00:10:20 +00:00
rubidium 8cf88876ef (svn r15973) -Codechange: make it possible to listen on multiple TCP sockets 2009-04-08 00:05:16 +00:00
rubidium c0f8214218 (svn r15972) -Codechange: remove unneeded parameter 2009-04-08 00:03:05 +00:00
rubidium 2a6e9288fd (svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets. 2009-04-07 20:27:13 +00:00
rubidium 6db7f15b3a (svn r15970) -Codechange: make it possible to resolve a single address into multiple sockets. 2009-04-07 19:52:01 +00:00
rubidium 82f8badc07 (svn r15969) -Codechange: make the list of broadcast addresses virtually unlimited. 2009-04-07 19:06:36 +00:00
rubidium fdddfd6269 (svn r15968) -Codechange: do not allocate a buffer for NetworkAddresses so passing it around is easier. 2009-04-07 19:04:37 +00:00
rubidium 22d9306889 (svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly 2009-04-07 18:23:14 +00:00
svnsync 3fdb8a62c4 (svn r15966) -Fix: over time, several incosistancies were not fixed by WT2. Take care of that now. Also introduce #textdir for all languages. 2009-04-07 14:28:32 +00:00
smatz 1eeb1d6cee (svn r15965) -Change: use recent Czech language for plural form (it has been official for years anyway) 2009-04-07 00:05:44 +00:00
translators c738978dae (svn r15964) -Update: WebTranslator2 update to 2009-04-06 17:40:13
afrikaans  - 36 fixed by burgerd (36)
czech      - 2 fixed, 6 changed by SmatZ (8)
dutch      - 1 fixed by habell (1)
estonian   - 111 fixed, 5 changed by kristjans (116)
finnish    - 2 fixed by jpx_ (2)
german     - 1 fixed by planetmaker (1)
luxembourgish - 30 fixed by Gubius (30)
serbian    - 100 fixed by etran (100)
slovenian  - 2 fixed by Necrolyte (2)
2009-04-06 17:40:24 +00:00
rubidium dc161c72e0 (svn r15963) -Fix [FS#2814]: (v)seprintf chopped of strings one character earlier than necessary. 2009-04-06 10:05:36 +00:00
rubidium 0678cb561d (svn r15961) -Codechange: prepare the 'client' side for receiving 'session keys' from the masterserver so servers can register with multiple IPs as the same server. 2009-04-05 19:43:41 +00:00
translators ebb1ed6601 (svn r15960) -Update: WebTranslator2 update to 2009-04-05 17:47:56
arabic_egypt - 2 fixed by khaloofah (2)
catalan    - 1 fixed, 4 changed by arnaullv (5)
dutch      - 1 fixed by Excel20 (1)
english_US - 1 fixed by WhiteRabbit (1)
estonian   - 46 fixed, 1 changed by kristjans (47)
french     - 2 fixed by glx (2)
german     - 1 fixed by planetmaker (1)
hungarian  - 2 fixed by IPG (2)
italian    - 2 fixed by lorenzodv (2)
serbian    - 62 fixed by etran (62)
2009-04-05 17:48:08 +00:00
frosch 3393da4810 (svn r15958) -Fix [FS#2787]: Abort production callback after 0x10000 iterations and show a messagebox blaming the newgrf. (mizipzor) 2009-04-05 12:17:36 +00:00
peter1138 5551e3d2c6 (svn r15957) -Fix (r4767): Set callback_param1 (var 10) to 1 only when requested. 2009-04-05 08:06:40 +00:00
peter1138 679248fb51 (svn r15956) -Codechange: Enumorize station spec flags. 2009-04-05 08:01:36 +00:00
rubidium edfc2e536e (svn r15954) -Fix: comparing addresses kinda fails (sometimes) causing duplicates in the game list 2009-04-04 13:09:36 +00:00
rubidium 171f98d523 (svn r15953) -Fix [FS#2783]: left - right != width causing strings to be truncated too early 2009-04-04 10:59:14 +00:00
alberth bdf05e797d (svn r15952) -Codechange: Added nested widgets to operating profit, income, delivered cargo, and company value windows. 2009-04-04 09:03:28 +00:00
rubidium 616cac0c54 (svn r15951) -Fix (r15946) [FS#2803]: ofcourse a couple of OSes/compilers do not provide a nice 'interface', so we have to do it the ugly way. 2009-04-04 08:48:12 +00:00
glx 5eed35ef54 (svn r15950) -Fix (r15946): mingw compilation 2009-04-04 03:45:02 +00:00
rubidium a779611665 (svn r15948) -Fix: resolve network addresses before comparing them 2009-04-04 01:51:32 +00:00
rubidium c9ebf14ba5 (svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address. 2009-04-04 00:48:48 +00:00
rubidium 2fd9f0fffa (svn r15946) -Codechange: move netmask matching to NetworkAddress and add some support for IPv6 netmask matching. 2009-04-04 00:47:08 +00:00
glx e460d3f4d0 (svn r15945) -Fix (r15944): win32 compilation 2009-04-03 23:44:31 +00:00
rubidium 7cf4639255 (svn r15944) -Codechange: disable IPv4 over IPv6 sockets as there is no default value and not all OSes actually support IPv4 over IPv6 so making it the same on all OSes eases debugging and such 2009-04-03 21:46:52 +00:00
alberth ccd2468eb2 (svn r15943) -Fix: Tooltip of detailed ratings window button showed wrong tip 2009-04-03 20:41:20 +00:00
translators 5b9a3e65fc (svn r15942) -Update: WebTranslator2 update to 2009-04-03 17:29:01
icelandic  - 3 changed by scrooge (3)
lithuanian - 3 fixed by geckonas (3)
serbian    - 29 fixed by Jenraux (29)
slovak     - 7 changed by ezimir (7)
2009-04-03 17:29:07 +00:00
rubidium ce06df313d (svn r15941) -Codechange: jonty-comp's wish partly implemented (content server) ;) 2009-04-03 17:20:57 +00:00
rubidium 1463b00b48 (svn r15940) -Codechange: move setting reuse address to the binding process. 2009-04-03 17:02:29 +00:00
glx 2dafb9dd57 (svn r15938) -Fix: broadcast addresses detection was broken for win32 2009-04-03 16:22:34 +00:00
rubidium e05e1822d6 (svn r15935) -Codechange: function to compare IP addresses (to sort them) 2009-04-03 15:42:41 +00:00
rubidium 2bfc9ca50c (svn r15934) -Fix: work around Solaris' inability to "parse" 0 as defined in the specifications. 2009-04-03 15:24:39 +00:00
glx 65d10e66f0 (svn r15933) -Fix (r15920): mingw doesn't know getaddrinfo() and freeaddrinfo() either 2009-04-03 14:01:45 +00:00
rubidium 5386fe1a1c (svn r15932) -Codechange: show ip:port as (fallback) servername instead of only the ip. This way you can clearly see there aren't any duplicates. 2009-04-03 12:54:38 +00:00
rubidium 89d0eca6b7 (svn r15931) -Codechange: let the host and ban lists use of SmallVector. 2009-04-03 12:49:58 +00:00
glx d84fb358f5 (svn r15930) -Fix (r15926): MSVC compilation 2009-04-03 12:48:11 +00:00
alberth ab06ed241f (svn r15929) -Codechange: Added nested widgets for statusbar. 2009-04-03 12:39:52 +00:00
alberth 27a13ec67d (svn r15928) -Codechange: Moving statusbar widget numbers outside StatusBarWindow 2009-04-03 12:38:18 +00:00
alberth 9af4047eee (svn r15927) -Codechange: Added nested widget for generate-world windows 2009-04-03 11:59:41 +00:00
rubidium 11723c40b2 (svn r15926) -Codechange: make the broadcast IP list less AF dependent. 2009-04-03 11:02:41 +00:00
rubidium 47602d7b60 (svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant. 2009-04-03 10:29:56 +00:00
rubidium dccfba6e20 (svn r15924) -Codechange: replace NetworkResolveHost with something less AF dependant. 2009-04-03 09:07:16 +00:00
rubidium 632d74c6b1 (svn r15922) -Codechange: unify the ways to listen on a socket 2009-04-03 01:24:52 +00:00
rubidium ba5aafb9bb (svn r15921) -Fix: some OSes don't like sizeof(sockaddr_storage) but want sizeof(sockaddr) or whatever is 'valid' for the given protocol 2009-04-03 00:33:00 +00:00
rubidium c7b6469dab (svn r15920) -Codechange: make the (TCP) connecting less AF dependent. 2009-04-02 23:59:43 +00:00
glx 521bf687ee (svn r15919) -Fix (r15916): mingw doesn't know getnameinfo() (unless you compile for XP SP2+). Also fix a MSVC warning. 2009-04-02 23:22:59 +00:00
rubidium beef5da970 (svn r15918) -Fix (r15917): comparing IPs sometimes failed due to 'random' data (as spotted by SpComb) 2009-04-02 23:03:18 +00:00
rubidium c5160c7c8e (svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP. 2009-04-02 20:39:30 +00:00
rubidium 1e205e01b8 (svn r15916) -Codechange: let the network game list use NetworkAddress 2009-04-02 20:17:46 +00:00
rubidium c0c6e07081 (svn r15915) -Codechange: let the udp code use NetworkAddress. 2009-04-02 19:21:26 +00:00
rubidium 804370d964 (svn r15914) -Codechange: let the content handling make use of NetworkAddress. 2009-04-02 18:35:59 +00:00
translators b2e7941783 (svn r15911) -Update: WebTranslator2 update to 2009-04-01 13:51:05
icelandic  - 27 fixed, 11 changed by scrooge (38)
serbian    - 37 fixed by etran (37)
2009-04-01 13:51:09 +00:00
yexo 57dab45e75 (svn r15910) -Fix [FS#2777]: Clarify that TILE_INVALID is part of AIMap make doxygen output some documentation for it. 2009-04-01 08:38:57 +00:00
rubidium 8f831ceebc (svn r15909) -Fix (r15892): Apple, PLEASE do not fill your API with #if !__LP64__. Especially when another part of your API depends on whether __LP64__ is defined and thus making it non-trivial to silence the warnings from the undefinedness of __LP64__ in #if !__LP64__... 2009-04-01 02:58:38 +00:00
rubidium e2e95af945 (svn r15908) -Fix: off-by-one in viewport strings/flags; left + width != right 2009-04-01 02:51:37 +00:00
glx e4a90f9688 (svn r15907) -Fix (r15841): some strings in save/load dialog were drawn with a 2 pixel offset 2009-03-31 22:55:38 +00:00
alberth 64fe9fb7c2 (svn r15906) -Codechange: Completed widget number enum of world-generation windows. 2009-03-31 17:46:18 +00:00
rubidium d3fa15e620 (svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail 2009-03-31 00:57:21 +00:00
frosch f55be81e3c (svn r15901) -Add: AIIndustryType::IsBuiltOnWater(), HasHeliport() and HasDock(). Just like AIIndustry. 2009-03-30 20:48:10 +00:00
frosch 3bbf0fc87b (svn r15900) -Fix (r5076): Adding settings is not enough, you also have to use them. 2009-03-30 20:19:25 +00:00
alberth 861c29364c (svn r15899) -Fix (r15898): Removed widget number comments used for debugging. 2009-03-30 20:04:29 +00:00
alberth 6c02f9208f (svn r15898) -Codechange: Added nested widgets for create-scenrario window 2009-03-30 20:02:16 +00:00
alberth 70246b3d91 (svn r15897) -Codechange: Completed widget numbers and comment of create-scenario window. 2009-03-30 19:52:59 +00:00
translators ecb6195f5e (svn r15896) -Update: WebTranslator2 update to 2009-03-30 17:35:58
danish     - 2 changed by beruic (2)
icelandic  - 27 fixed, 13 changed by scrooge (40)
indonesian - 6 changed by anansboga (6)
polish     - 1 fixed, 13 changed by meush (14)
serbian    - 97 fixed by etran (97)
traditional_chinese - 2 fixed by josesun (2)
2009-03-30 17:36:07 +00:00
rubidium 14f52cf29e (svn r15895) -Fix (r15685): fixing the slopes was done a bit more often than intended making map generation with the original generator horribly slow 2009-03-30 08:59:26 +00:00
glx 66cd5dbc7c (svn r15894) -Codechange: remove console widget array (it was empty anyway) and window desc 2009-03-30 01:15:51 +00:00
glx 75c99d8b9b (svn r15893) -Add: watermark crash.sav and don't generate crash information if a loaded crash.sav causes a crash 2009-03-30 00:21:43 +00:00
rubidium 8293be426c (svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the 3.1.x Xcodes. 2009-03-29 19:55:08 +00:00
frosch c2ced41c04 (svn r15891) -Fix (r13464): YAPF used different penalties for aqueducts than for other water tiles. 2009-03-29 18:20:02 +00:00
smatz a052191aca (svn r15890) -Codechange: unify the way 'can a town be placed here?' checks are done
-Change: the requirements for location of 'random' town are now a bit less strict
2009-03-29 15:06:44 +00:00
alberth 64bb0e60e4 (svn r15889) -Codechange: Add pre/inter/post space to nested background widgets 2009-03-29 13:25:01 +00:00
frosch f436a58b5e (svn r15888) -Fix (r15103)[FS#2772]: Round the production rate up, so e.g. oilrigs always produce some passengers on lowest production level. 2009-03-29 11:41:42 +00:00
rubidium a4139d5693 (svn r15886) -Fix [FS#2770]: libtimidity cannot handle frees of NULL (in contrast of most other frees) 2009-03-29 10:52:54 +00:00
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 2009-03-29 09:49:11 +00:00
glx 7a9a5cd139 (svn r15884) -Codechange: New widgets for the industry windows 2009-03-28 19:08:55 +00:00
peter1138 9f8f342a6a (svn r15883) -Codechange: Make a widget enum for the sign list and use widget offsets instead of direct locations. 2009-03-28 17:39:03 +00:00
alberth 7284ae3f77 (svn r15882) -Codechange: New widgets for generation progress window. 2009-03-28 16:35:33 +00:00
yexo 50a6e589ed (svn r15881) -Fix (r15875): add an explicit cast so some compilers stop complaining. 2009-03-28 16:19:04 +00:00
glx bf354564ce (svn r15880) -Codechange: add an invisible widget on company manager face windows to position company manager face image 2009-03-28 15:20:03 +00:00
glx 5f2c5b5855 (svn r15879) -Codechange: add an invisible widget on advanced company face window to determine where to draw the strings instead refering to other widgets. Required for rtl languages. 2009-03-28 14:55:11 +00:00
alberth 3bebfc6fd3 (svn r15878) -Codechange: New widgets for the engine preview window. 2009-03-28 13:35:07 +00:00