Commit Graph

12088 Commits

Author SHA1 Message Date
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
translators d741ccb6b2 (svn r16469) -Update: WebTranslator2 update to 2009-05-30 17:31:31
afrikaans  - 6 fixed by Chilli (6)
luxembourgish - 290 fixed, 793 changed by *jigo* (1083)
2009-05-30 17:31:35 +00:00
alberth e03376c239 (svn r16468) -Codechange: Use GetWidgetOfType() for finding an edit box. 2009-05-30 14:18:06 +00:00
alberth 101a6b3320 (svn r16467) -Codechange: Unduplicate setting of widget focus (with thanks to Smatz). 2009-05-30 12:41:53 +00:00
alberth bfaf610fff (svn r16466) -Codechange: Improved wording in comments. 2009-05-30 11:42:19 +00:00
alberth bfb8df3fb9 (svn r16465) -Codechange: Eliminated GetGloballyFocusedWidget(), it was used only once. 2009-05-30 11:30:25 +00:00
alberth 2a2a9a27ba (svn r16464) -Codechange (r16422): Added a missing const_cast<> 2009-05-30 11:24:06 +00:00
alberth 5eecf3e5cb (svn r16463) -Cleanup: Code style fixes. 2009-05-30 11:01:05 +00:00
rubidium 1448160e1e (svn r16462) -Change [FS#2930]: use a safer way to detect the hash of a mercurial repository (planetmaker) 2009-05-29 21:24:51 +00:00
rubidium 40f22c710e (svn r16461) -Fix [FS#2929]: add some valid orders so the trains leave the depot again... 2009-05-29 21:13:44 +00:00
translators b1297fcb36 (svn r16460) -Update: WebTranslator2 update to 2009-05-29 17:38:27
afrikaans  - 18 fixed, 6 changed by Chilli (24)
luxembourgish - 114 fixed, 252 changed by *jigo* (366)
2009-05-29 17:38:33 +00:00
smatz b178a94c19 (svn r16459) -Codechange: move definition of several cargopacket accessors to header file 2009-05-29 15:46:55 +00:00
smatz 1ad410dc00 (svn r16458) -Codechange: use one enum instead of four 2009-05-28 21:54:03 +00:00
rubidium 62a2dff61e (svn r16457) -Fix [FS#2925]: skipping a 'nearest depot order' because none could be found could cause multiple orders to get skipped 2009-05-28 21:12:54 +00:00
yexo d7b0aa47c5 (svn r16456) -Fix (r16429): forgot to update regression test 2009-05-28 17:34:54 +00:00
yexo 91fe6f5e13 (svn r16455) -Fix: don't crash when a newgrf has sounds in an unsupported sound format 2009-05-28 16:43:16 +00:00
yexo 9bd64cf588 (svn r16454) -Fix (r16181, r16241): fix the try/catch bug fixed in r16181 and reintroduced in r16241 again, this time without breaking the regression test. 2009-05-27 23:59:51 +00:00
yexo df7786f789 (svn r16453) -Fix: Move some code around so a company is no longer used after deleting it 2009-05-27 23:37:47 +00:00
smatz 45af2a294c (svn r16452) -Fix: don't trigger station animations when the station was deleted in the same tick 2009-05-27 23:11:52 +00:00
smatz 5cd998b7a4 (svn r16451) -Fix (r16449): crash when a spectator (or dedicated server) received news about new engine 2009-05-27 19:37:27 +00:00
translators 4c9b4f5265 (svn r16450) -Update: WebTranslator2 update to 2009-05-27 17:39:46
arabic_egypt - 2 fixed by khaloofah (2)
danish     - 2 fixed by ThomasA (2)
english_US - 2 fixed by WhiteRabbit (2)
indonesian - 2 fixed, 8 changed by anansboga (10)
romanian   - 1 changed by CrystyB (1)
serbian    - 100 fixed by etran (100)
2009-05-27 17:39:57 +00:00