Commit Graph

15779 Commits

Author SHA1 Message Date
frosch
fa05534cc9 (svn r20462) -Fix (r20452): Initialise scrollbar_index with -1 to indicate 'no scrollbar associated'. 2010-08-12 09:47:48 +00:00
frosch
2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 2010-08-12 09:16:43 +00:00
frosch
984e555cb4 (svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead. 2010-08-12 09:14:34 +00:00
frosch
b98eba0fb2 (svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead. 2010-08-12 09:13:04 +00:00
frosch
92c34da796 (svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp 2010-08-12 09:11:12 +00:00
frosch
807370d4b8 (svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE and instead store the widget index of the being scrolled scrollbar in the Window. 2010-08-12 09:09:24 +00:00
frosch
e41130db84 (svn r20456) -Codechange: Add separate nested widget class for scrollbars. 2010-08-12 09:07:45 +00:00
frosch
ac83f92fdc (svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names. 2010-08-12 08:42:37 +00:00
frosch
98bc6501c6 (svn r20454) -Fix: some whitespace. 2010-08-12 08:39:06 +00:00
frosch
4817d5dcd6 (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12 08:37:01 +00:00
frosch
341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
frosch
d2cd93fee2 (svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget. 2010-08-12 06:40:28 +00:00
rubidium
54ba72863f (svn r20450) -Fix: same the airport tile ID mapping as well 2010-08-11 19:09:26 +00:00
rubidium
95b208cde2 (svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id -> OpenTTD spec mappings 2010-08-11 18:57:48 +00:00
rubidium
5aab3e1948 (svn r20448) -Codechange: make some functions that can be const const 2010-08-11 18:50:23 +00:00
translators
41981ca62d (svn r20447) -Update from WebTranslator v3.0:
belarusian - 2 changes by Wowanxm
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 3 changes by planetmaker
hungarian - 17 changes by IPG
irish - 7 changes by tem
romanian - 2 changes by tonny
spanish - 3 changes by Terkhen
swedish - 3 changes by Zuu
2010-08-11 17:45:29 +00:00
rubidium
8975ef1f7b (svn r20446) -Codechange: unify the location of the water class 2010-08-11 14:14:06 +00:00
frosch
2221efd1e8 (svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply to the specs. 2010-08-11 07:42:47 +00:00
rubidium
72646d9e0d (svn r20444) -Cleanup: unify writing of {NUM} x {NUM} 2010-08-10 23:32:09 +00:00
rubidium
bd4524646c (svn r20443) -Codechange: more TileHash to a more generic location 2010-08-10 23:31:43 +00:00
translators
b96d6bba70 (svn r20442) -Update from WebTranslator v3.0:
czech - 2 changes by Hadez
dutch - 2 changes by habell
french - 2 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by lion
spanish - 2 changes by Terkhen
2010-08-10 17:45:21 +00:00
rubidium
33c41bbfed (svn r20441) -Fix [FS#4024]: adding "goto nearest depot and stop" orders in one go was denied. This caused both AI adding those orders and backed up order restoration to fail. 2010-08-10 16:45:32 +00:00
rubidium
13fbe57957 (svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits 2010-08-10 16:17:51 +00:00
rubidium
8ac6b5d351 (svn r20439) -Fix [FS#4023]: MinGW compiler complaining about converting -1 to an unsigned int 2010-08-10 16:15:42 +00:00
rubidium
71118b60ec (svn r20438) -Fix [FS#4022]: for docks "facing" north, i.e. having the watery part a the northern side, the joiner had an off-by-one to the north w.r.t. the station spread against the actual other (correct) building tools 2010-08-10 16:13:51 +00:00
rubidium
b5d5a4e159 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 2010-08-10 15:54:53 +00:00
rubidium
443ecb986d (svn r20436) -Codechange: use GRFFilePropsBase's spritegroup for stations. 2010-08-10 15:51:33 +00:00
rubidium
3e1888287e (svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups 2010-08-10 15:49:35 +00:00
rubidium
4d16c007b7 (svn r20427) -Revert (r20105): even though MCI has less problems with wrongly pitched songs than dmusic, it crashed instead. 2010-08-09 18:29:13 +00:00
rubidium
332fcd87dc (svn r20426) -Update: the known bugs (part by Eddi|zuHause) 2010-08-09 18:16:16 +00:00
translators
3adf315c87 (svn r20425) -Update from WebTranslator v3.0:
simplified_chinese - 14 changes by pda1573
traditional_chinese - 32 changes by josesun
chuvash - 25 changes by mefisteron
croatian - 3 changes by VoyagerOne
estonian - 44 changes by KSiimson
german - 3 changes by planetmaker
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
russian - 3 changes by Lone_Wolf
serbian - 2 changes by etran
2010-08-09 17:45:31 +00:00
terkhen
2c6a94b445 (svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW). 2010-08-09 10:59:30 +00:00
frosch
cab9bc419b (svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight. 2010-08-09 07:32:04 +00:00
frosch
12ed2a7597 (svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile. 2010-08-09 07:30:50 +00:00
frosch
548f2cbf4e (svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge. 2010-08-09 07:19:44 +00:00
frosch
b2ea8b196a (svn r20420) -Codechange: Add TileContext enum instead of using a bool. 2010-08-09 07:10:42 +00:00
frosch
811c7f6c25 (svn r20419) -Codechange: Rename dummy_land.cpp to void_cmd.cpp 2010-08-09 06:48:52 +00:00
frosch
cc8d0af77c (svn r20418) -Fix [FS#4017](r20125): During world generation the snow-mapbits are not yet available, so test the snowline variable directly (as before). 2010-08-08 21:34:19 +00:00
rubidium
cd5180212e (svn r20417) -Fix (r20345) [FS#4018]: the offset stored for objects shouldn't be substracted immediately from the TileIndex as that doesn't quite do the right thing 2010-08-08 19:50:07 +00:00
translators
6d926c57bc (svn r20416) -Update from WebTranslator v3.0:
finnish - 3 changes by jpx_
german - 1 changes by BRFBlake
italian - 8 changes by lorenzodv
romanian - 2 changes by tonny
2010-08-08 17:45:15 +00:00
alberth
9b10773428 (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 2010-08-08 11:21:24 +00:00
alberth
15f407acea (svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window. 2010-08-08 11:17:14 +00:00
rubidium
7b3ee58d03 (svn r20413) -Fix (r20326): some comments got a bit outdated 2010-08-08 11:12:34 +00:00
alberth
5967b81124 (svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick. 2010-08-08 11:02:57 +00:00
rubidium
1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 2010-08-08 10:59:30 +00:00
alberth
67be093e57 (svn r20410) -Codechange: Move smallmap map-type switching to a function. 2010-08-08 10:47:09 +00:00
rubidium
92767f454e (svn r20409) -Codechange: reduce the number of includes needed by newgrf.h 2010-08-08 09:07:40 +00:00
frosch
eb7ea24aec (svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays. 2010-08-08 08:52:47 +00:00
rubidium
b6263d2034 (svn r20407) -Codechange: make AirportClass use the new generic class 2010-08-07 22:08:20 +00:00
rubidium
40ab6a3298 (svn r20406) -Codechange: make StationClass use the new generic class 2010-08-07 22:07:07 +00:00