Commit Graph

12109 Commits

Author SHA1 Message Date
smatz
6cf1610a08 (svn r16526) -Fix: don't cast Vehicle to RoadVehicle when it's not a RoadVehicle 2009-06-06 16:49:45 +00:00
frosch
289e8a7f45 (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
8d6dec5e72 (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
d98e8fcf90 (svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for deleted vehicles. 2009-06-06 10:40:16 +00:00
yexo
8dba8371e3 (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
a75f564af4 (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
a2c5c2651a (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
e77b0adb53 (svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar. 2009-06-05 07:25:26 +00:00
translators
4973d4a290 (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
e47ca002d2 (svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees. 2009-06-04 14:34:38 +00:00
alberth
cbf2d24ebb (svn r16516) -Codechange: Added click and drag handling for nested widgets. 2009-06-04 14:07:05 +00:00
alberth
24b2876cb5 (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
ed0a0a681a (svn r16514) -Codechange: Add widget flags, and drawing and invalidating. 2009-06-03 21:13:13 +00:00
alberth
bb075195b9 (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
bb854f2b97 (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 2009-06-03 18:47:08 +00:00
yexo
1df82e9702 (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
4e7ec0035e (svn r16507) -Fix (r16503): segfault when deleting non-last graphics set 2009-06-03 00:05:51 +00:00
smatz
f74b597c83 (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
d7eb9f9d0e (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
e6b8b65fcd (svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor 2009-06-02 12:57:47 +00:00
rubidium
b982ff66f6 (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
62a698df32 (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
85824cf261 (svn r16501) -Codechange: Introduced different phases in resizing a nested widget tree. 2009-06-01 20:45:46 +00:00
translators
afd9e81a47 (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
c9eac207ea (svn r16498) -Codechange: Remove hardly used HASBITS. 2009-06-01 15:01:54 +00:00
smatz
61e668929f (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
00cd25b7a2 (svn r16496) -Codechange: remove one useless dynamic_cast<> 2009-06-01 13:34:13 +00:00
alberth
53c60be207 (svn r16495) -Codechange: Renamed a few variables. 2009-06-01 13:28:05 +00:00
smatz
c5240c770c (svn r16494) -Codechange: cache train's speed limit caused by curves 2009-06-01 13:14:56 +00:00
rubidium
f163217dbb (svn r16493) -Fix: missing/wrong @file doxygen 'headers' 2009-06-01 12:56:18 +00:00
smatz
d091c7d80f (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
580e478e4e (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. 2009-06-01 11:43:36 +00:00
frosch
07b9c68a81 (svn r16490) -Fix: Do not draw train details over the scrollbar. 2009-06-01 08:35:35 +00:00
alberth
dd43a1b97f (svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp) 2009-05-31 20:52:35 +00:00
alberth
49e253d949 (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
627cb3abe2 (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
3174fef27c (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
02c1ed111d (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
5207900285 (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
eb3965f934 (svn r16483) -Codechange: Enumerate tabs in train details window. 2009-05-31 14:04:19 +00:00
frosch
6e06b592ad (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
749c976e47 (svn r16479) -Fix (r5146): Call callbacks after initialisation of vehicle variables. 2009-05-31 11:31:10 +00:00
frosch
bec5f3f11b (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
f540a86f95 (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
b12ba4b751 (svn r16476) -Fix (r16475): wrong version of the patch 2009-05-31 09:34:40 +00:00
smatz
7cd7be48c3 (svn r16475) -Codechange: move code invalidating Vehicle::last_station_visited to more logical place 2009-05-31 09:33:12 +00:00
rubidium
b7dfc3aa0b (svn r16474) -Fix [FS#2933]: could set company related settings via query window 2009-05-31 09:31:56 +00:00
smatz
e4cbd54748 (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
11d88765cc (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
d1e3b89730 (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