Commit Graph

12258 Commits

Author SHA1 Message Date
frosch
5b497d6b49 (svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost. 2009-06-06 14:46:50 +00:00
rubidium
ec3ef70adb (svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it possible to hit an assert in OpenTTD. 2009-06-06 11:47:21 +00:00
frosch
0b8ceb3007 (svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for deleted vehicles. 2009-06-06 10:40:16 +00:00
yexo
59ae226ab1 (svn r16522) -Fix [FS#2962]: possible assert in ai debug window when an AI was stopped an a human company took it's CompanyID 2009-06-06 01:53:17 +00:00
frosch
4554c79b54 (svn r16521) -Fix [FS#2946] (r13945): Do not access 'compatible_railtypes' for road vehicles. (causing invalid reads since r16391/16392) 2009-06-05 21:19:38 +00:00
yexo
ad5f018195 (svn r16520) -Fix [NoAI]: Make sure AIBridge::BuildBridge returns what the documentation says it does (r16244 for AIBridge) 2009-06-05 17:36:39 +00:00
alberth
ec5db12adc (svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar. 2009-06-05 07:25:26 +00:00
translators
69d86f0b11 (svn r16518) -Update: WebTranslator2 update to 2009-06-04 16:25:41
swedish    - 39 fixed by daishan (39)
2009-06-04 16:25:43 +00:00
alberth
19ccf6912c (svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees. 2009-06-04 14:34:38 +00:00
alberth
b144a5451c (svn r16516) -Codechange: Added click and drag handling for nested widgets. 2009-06-04 14:07:05 +00:00
alberth
1a4934ef07 (svn r16515) -Codechange: Added scrollbar handling for nested widgets, and finding widgets by type or position in the tree. 2009-06-04 12:46:37 +00:00
alberth
5c9071fcff (svn r16514) -Codechange: Add widget flags, and drawing and invalidating. 2009-06-03 21:13:13 +00:00
alberth
1ba3755aa7 (svn r16513) -Codechange: Add nested widgets root and array to Window, and NWidgetBase::FillNestedArray() to fill the array. 2009-06-03 20:00:33 +00:00
rubidium
caf98238e3 (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 2009-06-03 18:47:08 +00:00
yexo
13c69b897e (svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function 2009-06-03 15:59:26 +00:00
smatz
d1a50f5258 (svn r16507) -Fix (r16503): segfault when deleting non-last graphics set 2009-06-03 00:05:51 +00:00
smatz
2b4d37de3d (svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit 2009-06-02 19:56:23 +00:00
rubidium
2fc0cb3e76 (svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble. 2009-06-02 19:12:28 +00:00
smatz
78a25e84e9 (svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor 2009-06-02 12:57:47 +00:00
rubidium
be04b7e29c (svn r16503) -Fix: base graphics names must be unique, so don't add duplicates (even if the versions differ). 2009-06-02 12:56:38 +00:00
yexo
4ea3e511bd (svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
2009-06-01 22:00:47 +00:00
alberth
9b15b8cd4a (svn r16501) -Codechange: Introduced different phases in resizing a nested widget tree. 2009-06-01 20:45:46 +00:00
translators
c077796ac6 (svn r16499) -Update: WebTranslator2 update to 2009-06-01 17:32:36
luxembourgish - 3 fixed, 11 changed by *jigo* (14)
serbian    - 105 fixed by etran (105)
2009-06-01 17:32:40 +00:00
frosch
0d782b0f96 (svn r16498) -Codechange: Remove hardly used HASBITS. 2009-06-01 15:01:54 +00:00
smatz
da57fe63f3 (svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool 2009-06-01 14:36:36 +00:00
smatz
1a506f5912 (svn r16496) -Codechange: remove one useless dynamic_cast<> 2009-06-01 13:34:13 +00:00
alberth
333795bc70 (svn r16495) -Codechange: Renamed a few variables. 2009-06-01 13:28:05 +00:00
smatz
de25de7a60 (svn r16494) -Codechange: cache train's speed limit caused by curves 2009-06-01 13:14:56 +00:00
rubidium
765c65b738 (svn r16493) -Fix: missing/wrong @file doxygen 'headers' 2009-06-01 12:56:18 +00:00
smatz
c03ce4b1c7 (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. 2009-06-01 11:49:46 +00:00
alberth
bab70a823d (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. 2009-06-01 11:43:36 +00:00
frosch
5e91bf0ad2 (svn r16490) -Fix: Do not draw train details over the scrollbar. 2009-06-01 08:35:35 +00:00
alberth
ba9e014bdc (svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp) 2009-05-31 20:52:35 +00:00
alberth
743f12fad0 (svn r16488) -Codechange [FS#2941]: Use widget numbers of base grap window and cargo payment window in the window handling code (erikjanp) 2009-05-31 20:33:09 +00:00
alberth
292647b212 (svn r16487) -Codechange [FS#2940]: Add widget numbers to news display and news history windows (based on work by erikjanp) 2009-05-31 20:18:47 +00:00
alberth
9237d01931 (svn r16486) -Codechange [FS#2939]: Added widget numbers to the airport toolbar (based on work by erikjanp) 2009-05-31 19:51:49 +00:00
alberth
304b42d00e (svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp) 2009-05-31 19:29:40 +00:00
alberth
6c126cc5c8 (svn r16484) -Cleanup: Renamed widget variable to widget_index and introduced widget_type variable.
-Fix: Prevented out-of-bounds array access when not clicking at a widget.
2009-05-31 14:30:58 +00:00
frosch
ea229c32bc (svn r16483) -Codechange: Enumerate tabs in train details window. 2009-05-31 14:04:19 +00:00
frosch
9853c0dc22 (svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains. 2009-05-31 12:03:14 +00:00
frosch
56988b198d (svn r16479) -Fix (r5146): Call callbacks after initialisation of vehicle variables. 2009-05-31 11:31:10 +00:00
frosch
c64fdcbef2 (svn r16478) -Fix (r15378): Determining most common (sub-)cargo-type was broken due to someone confusing similiary named variables. 2009-05-31 11:27:10 +00:00
rubidium
75a818a325 (svn r16477) -Fix [FS#2936] (r12650): loading indicator when 'unload' in and 'no loading' is off was pointing to the wrong direction. 2009-05-31 11:04:56 +00:00
smatz
79d5a41b85 (svn r16476) -Fix (r16475): wrong version of the patch 2009-05-31 09:34:40 +00:00
smatz
ab5a51d462 (svn r16475) -Codechange: move code invalidating Vehicle::last_station_visited to more logical place 2009-05-31 09:33:12 +00:00
rubidium
0eaec8edca (svn r16474) -Fix [FS#2933]: could set company related settings via query window 2009-05-31 09:31:56 +00:00
smatz
34f6b8614e (svn r16473) -Fix [FS#2934](r16442): show all non-effect vehicles in the minimap, not only effect vehicles 2009-05-30 20:44:34 +00:00
smatz
8c11d612e4 (svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type 2009-05-30 20:13:12 +00:00
rubidium
7633362912 (svn r16471) -Fix (r16461): don't test in 0.3.4 when you meant to test in trunk@HEAD. 2009-05-30 17:48:22 +00:00
smatz
d2d66d9e2d (svn r16470) -Fix (r14293): track reservation was drawn at bridge heads in the menu 2009-05-30 17:43:24 +00:00