Commit Graph

5956 Commits (755ce4127d93755fd87508ea8f45cc39bc058a5c)

Author SHA1 Message Date
frosch 4f45dce1b5 (svn r16166) -Add [NoAI]: AITile::Get(Min|Max|Corner)Height 15 years ago
yexo e03736b304 (svn r16165) -Add [FS#2801] [NoAI]: several functions to AIOrder to check the what kind of order an order is.
-Fix: AIOrder::GetOrderDestination and AIOrder::GetOrderFlags didn't work on ORDER_CURRENT when the vehicle was loading/leaving in a station.
15 years ago
rubidium 156d45505d (svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...). 15 years ago
rubidium 3bd4eeb178 (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. 15 years ago
frosch a18f0f93af (svn r16161) -Fix (r16128): AILoadConfig() could not handle NULL settings. 15 years ago
rubidium 650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
rubidium e83ef9b4c7 (svn r16159) -Change [FS#2846]: warn when multiline strings are drawn with DrawString and not DrawStringMultiLine. 15 years ago
yexo 65633e1a50 (svn r16158) -Codechange: fix the string alignment in all .hpp.sq files 15 years ago
rubidium 2eddffadbe (svn r16157) -Fix: wrong truncation of refit cost/graph x labels because they were multiline strings being drawn using DrawString instead of DrawStringMultiLine. 15 years ago
rubidium dd2661bbbd (svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter) 15 years ago
smatz 88b8ac8ba7 (svn r16155) -Codechange: remove MarkTileDirty, use MarkTileDirtyByTile instead 15 years ago
alberth d0e5201cef (svn r16154) -Codechange: Added nested widgets for sign list and sign edit windows. 15 years ago
alberth bf3c790103 (svn r16153) -Codechange: Completing QueryEditSignWidgets enum. 15 years ago
alberth a429cd8810 (svn r16152) -Codechange: Added nested widgets for advanced settings and for custom currency windows. 15 years ago
yexo 46ba81964b (svn r16151) -Codechange: move some includes around to prevent including half the AI api in non-noai related code. 15 years ago
yexo 4444e48566 (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.
15 years ago
rubidium 27b831935f (svn r16149) -Fix [FS#2860]: when there's no AI and an AI is started... *boom* 15 years ago
smatz e54aca7905 (svn r16148) -Fix [FS#2839]: misleading comment (part by Bilbo) 15 years ago
rubidium 27e87d1adc (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) 15 years ago
smatz 3869fb798c (svn r16146) -Codechange: use faster algorithm in SetSelectionTilesDirty(). Up to 1000 times faster when large area is selected 15 years ago
rubidium 3c6ad988fb (svn r16145) -Add: '-export-pragmas' to strgen so external tools can (hopefully) automatically be updated to support new pragmas 15 years ago
rubidium f64e9ce4a1 (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. 15 years ago
alberth a2d47a4a79 (svn r16143) -Codechange: Change other languages too. 15 years ago
alberth 6e951ec614 (svn r16142) -Codechange: Use widgets in the custom currency window. 15 years ago
alberth 76852d8ff6 (svn r16141) -Codechange: Adding nested widgets to remaining graph windows. 15 years ago
alberth 7d569558c1 (svn r16140) -Codechange: Call a function while contructing a widget tree. 15 years ago
alberth 0e7710f04d (svn r16139) -Codechange: Adding/completing widget number enums of several graph windows. 15 years ago
rubidium a963f5c91d (svn r16138) -Codechange: move GetClosestWaterDistance to map* 15 years ago
translators 7509e83e92 (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)
15 years ago
rubidium 502a496870 (svn r16136) -Fix (r16095)[FS#2858]: sometimes autorail wouldn't work; seems to be primarily for OSX users though 15 years ago
rubidium 6c3fa9b487 (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 15 years ago
rubidium c530ca27bb (svn r16134) -Change: do not add duplicates to the broadcast list 15 years ago
rubidium 8d3b681b6b (svn r16133) -Fix (r16129): who would've thought that the saveload system couldn't handle skipping strings on load yet? 15 years ago
rubidium 9dd88c1586 (svn r16132) -Fix (r7232/r16129): crash when saving games; r7232 is the cause of the problem, r16129 just causes it to be triggered. 15 years ago
rubidium ad7beef9fb (svn r16131) -Fix (r16129): some compile warnings on some compilers 15 years ago
rubidium 110f15c638 (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. 15 years ago
rubidium ca04dc1916 (svn r16129) -Feature-ish: configurable digit group separator per language with user override. 15 years ago
rubidium 90879b0da5 (svn r16128) -Change: allow loading (and storing) NULL values for STRQ in openttd.cfg. 15 years ago
translators 7446f8f459 (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)
15 years ago
rubidium ed046fe35e (svn r16126) -Fix (r16125): WT2 fracked up big time... 15 years ago
translators 807dd8fff6 (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)
15 years ago
rubidium 8f783bc02b (svn r16124) -Codechange: unify the three number drawing methods 15 years ago
rubidium 79df89e5ec (svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo 15 years ago
rubidium f4c8c459ca (svn r16122) -Change: add more misc information about the behaviour of commands to strgen's -export-commands. 15 years ago
smatz ebddee380d (svn r16119) -Fix [FS#2582](r12167): road was removed when both the Remove button was active and Ctrl was pressed (Terkhen) 15 years ago
rubidium 5c5b357043 (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. 15 years ago
translators 35f8a3bd55 (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)
15 years ago
rubidium f341382e73 (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. 15 years ago
rubidium 26b0f71a97 (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 15 years ago
rubidium e0e9a1b02e (svn r16114) -Cleanup: unify some more strings and remove some more unused strings 15 years ago
yexo a127ed11e1 (svn r16113) -Feature [NoAI]: Add UseAsRandomAI as function in info.nut. When an AI returns false, it'll never be chosen as random AI. 15 years ago
translators 7953a49b75 (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)
15 years ago
rubidium 639ec25820 (svn r16111) -Cleanup: remove some duplicate/unused strings
-Change: move a string to a more sensible location
15 years ago
frosch 4a2d2ccdc6 (svn r16110) -Codechange: use {CARGO} instead hardcoded cargo name (there is always something duplicated :p) 15 years ago
yexo cdfdd87286 (svn r16109) -Fix [NoAI]: Make sure AIOrder::GetDestination always returns a tile belonging to the station 15 years ago
yexo 66d95f6a66 (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).
15 years ago
yexo cf6adbfe4f (svn r16107) -Add [NoAI]: AIOF_STOP_IN_DEPOT to the orderflags in AIOrder to allow stop-in-depot orders 15 years ago
yexo 7d9549ffd3 (svn r16106) -Fix [NoAI]: AIOrder::SetOrderFlags always removed "Service if needed" from goto-depot orders. 15 years ago
glx 68a3029412 (svn r16105) -Codechange: use {CARGO} instead hardcoded cargo name 15 years ago
rubidium 5b4cccc1cc (svn r16104) -Fix: remove some unneeded spaces from some strings/make some strings more consistent with itself by adding spaces 15 years ago
smatz c375db79e2 (svn r16103) -Fix (r11429): missing const 15 years ago
rubidium edf3fb9e73 (svn r16102) -Codechange: unify the vehicle info strings; reduce the number of duplicate strings and unifies the GUIs quite a bit 15 years ago
frosch d582747919 (svn r16101) -Cleanup (r14591): Remove an assertion to increase performance. 15 years ago
translators c0a40f63af (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)
15 years ago
translators fdd8b30fee (svn r16099) -Fix: re-re-introduce textdir for all languages (and this time WT2 should not remove it on next commit) 15 years ago
rubidium 875a629aff (svn r16096) -Fix [FS#2849]: connect tried to validate too much of the company ID with too little information on hand 15 years ago
rubidium 4caeb3e2b4 (svn r16095) -Change/Feature-ish: make the first 4 rail building tools behave more like autorail 15 years ago
frosch ff8e25a748 (svn r16094) -Fix: AIDebug window profiled the blitters by invalidating itself unconditionally on repaint. OTOH it was not invalidated in other cases when needed. 15 years ago
yexo f96429a494 (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. 15 years ago
alberth 8b09058902 (svn r16092) -Fix [FS#2829]: Resizing the order window also resizes the button bars. 15 years ago
yexo a1af08f4d3 (svn r16091) -Change [FS#2778]: Reverse the order of the lines in the AI debug window 15 years ago
frosch 5b636b9fc3 (svn r16090) -Fix: s/Slovakish/Slovak/ (unimatrix) 15 years ago
alberth 8502725e88 (svn r16089) -Codechange: Removing the ORDER_WIDGET_RESIZE_BAR widget 15 years ago
rubidium e88cb7f70f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 15 years ago
rubidium a166a300aa (svn r16087) -Fix (r16079): slow trains wouldn't crash into eachother anymore 15 years ago
rubidium 5f98da2ece (svn r16086) -Codechange: magic numbers substitutes by enums and some type safety 15 years ago
translators 676ffe8524 (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)
15 years ago
alberth d6ddae77d6 (svn r16082) -Codechange: Completed the widget numbers of the advanced settings window. 15 years ago
alberth 22db0905d8 (svn r16081) -Doc: Adding/fixing some Doxygen comments. 15 years ago
alberth 98e5e70ade (svn r16080) -Codechange: Introducing a constant for order-list line height. 15 years ago
rubidium 51288dee9d (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
15 years ago
rubidium f97b8c6746 (svn r16078) -Change: do not show stop location for via orders; they don't stop there 15 years ago
frosch 2a63faa188 (svn r16077) -Cleanup (r14456): Remove some code that is only used for some assertions, that haven't been triggered for a while. 15 years ago
alberth 492113c533 (svn r16076) -Codechange: Added nested widgets to terraform windows. 15 years ago
frosch 6731a8f1b8 (svn r16075) -Fix (r15792)[FS#2844]: Mixed up TRACK_BIT_X/Y. 15 years ago
alberth 0f3b198ca5 (svn r16074) -Codechange: Adding nested widgets to subsidy list window. 15 years ago
alberth 1bddc160bb (svn r16073) -Codechange: Replacing some magic constants by computations relative to the SLW_PANEL widget. 15 years ago
alberth da0b3bdb79 (svn r16072) -Codechange: Adding widget number constants to subsidy list window. 15 years ago
rubidium d3de980714 (svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due to mathematical overflow. 15 years ago
translators 51cfab8881 (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)
15 years ago
translators 7cd1e560f8 (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)
15 years ago
rubidium 59555c543a (svn r16066) -Fix: another memory leak. 15 years ago
rubidium b34eb75c11 (svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted 15 years ago
rubidium 8ad5729e9c (svn r16064) -Fix: memory leak when querying a server multiple times. 15 years ago
frosch 09ad9d5604 (svn r16063) -Fix (r13752): MOF_COND_DESTINATION was not accepted by CmdModifyOrder(). (only used by AI) 15 years ago
frosch 8501c74b94 (svn r16062) -Fix (r16037): AIOrder::InsertOrder was broken. Default all AI orders to 'stop at far end'. 15 years ago
translators 259107326c (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)
15 years ago
rubidium 3d5a7496c7 (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. 15 years ago
rubidium 244834a268 (svn r16056) -Fix (r16037): clicking twice on the "end of orders" crashed. 15 years ago
translators 4daa0bd615 (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)
15 years ago