Commit Graph

12291 Commits

Author SHA1 Message Date
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
smatz
6c2f88691b (svn r16470) -Fix (r14293): track reservation was drawn at bridge heads in the menu 2009-05-30 17:43:24 +00:00
translators
e7bdc770f3 (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
f608a7d4a6 (svn r16468) -Codechange: Use GetWidgetOfType() for finding an edit box. 2009-05-30 14:18:06 +00:00
alberth
3e78641156 (svn r16467) -Codechange: Unduplicate setting of widget focus (with thanks to Smatz). 2009-05-30 12:41:53 +00:00
alberth
c9e3d041fb (svn r16466) -Codechange: Improved wording in comments. 2009-05-30 11:42:19 +00:00
alberth
b96e1dc80c (svn r16465) -Codechange: Eliminated GetGloballyFocusedWidget(), it was used only once. 2009-05-30 11:30:25 +00:00
alberth
ae70c7641f (svn r16464) -Codechange (r16422): Added a missing const_cast<> 2009-05-30 11:24:06 +00:00
alberth
feaaf78a63 (svn r16463) -Cleanup: Code style fixes. 2009-05-30 11:01:05 +00:00
rubidium
b3ce805206 (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
c8a74b5345 (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
ad34f67468 (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
917e1f4fad (svn r16459) -Codechange: move definition of several cargopacket accessors to header file 2009-05-29 15:46:55 +00:00
smatz
436730d9a0 (svn r16458) -Codechange: use one enum instead of four 2009-05-28 21:54:03 +00:00
rubidium
9f9c1cd29c (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
73a7b47aba (svn r16456) -Fix (r16429): forgot to update regression test 2009-05-28 17:34:54 +00:00
yexo
a9a3a9c6a9 (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
5357fa2467 (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
e7a087b08b (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