Commit Graph

180 Commits

Author SHA1 Message Date
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
peter1138 f14cd93ec8 (svn r18137) -Codechange: Make station rating graphics in station list scale to the small font size. 2009-11-17 12:05:55 +00:00
peter1138 2e54ff1aa2 (svn r18127) -Codechange: Adjust station accept/rating list height by number of lines instead of pixels. 2009-11-16 20:40:35 +00:00
rubidium 626de6b128 (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 2009-11-16 20:34:57 +00:00
rubidium ae799e7b1b (svn r18116) -Change: make the station list support RTL when drawing the ratings 2009-11-16 14:48:22 +00:00
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
alberth efbdba72b3 (svn r18021) -Codechange: Have a widget for every cargo-type to eliminate searching. 2009-11-08 19:36:17 +00:00
alberth 7f1f105afa (svn r18020) -Codechange: Make the company station list window nested. 2009-11-08 19:31:57 +00:00
alberth 71c207048f (svn r18014) -Codechange: Station view window uses pure nested widgets. 2009-11-08 15:26:20 +00:00
alberth cc320dc4d0 (svn r18010) -Codechange: Split StationViewWindow::OnPaint in four functions. 2009-11-08 12:45:16 +00:00
rubidium ca0521f89f (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 2009-10-24 14:53:55 +00:00
rubidium 2f41c0411c (svn r17850) -Codechange: remove most usage of delta on OnResize 2009-10-24 09:47:02 +00:00
rubidium 08ac51fada (svn r17813) -Codechange: unify the CargoPacket related coding style 2009-10-19 09:15:47 +00:00
rubidium e613107e02 (svn r17808) -Codechange: remove write 'access' from all of CargoPacket's variables 2009-10-18 17:53:34 +00:00
rubidium 138e7233bc (svn r17800) -Codechange: first steps into making CargoList a template 2009-10-18 14:28:26 +00:00
rubidium d1d35b95b6 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 2009-10-17 14:29:10 +00:00
rubidium 5f59d0c5b4 (svn r17720) -Codechange: guard the CargoPacket variables that are cached in CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen) 2009-10-06 17:23:15 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium e9624fe0cc (svn r17682) -Codechange: remove erroneous space before some commas 2009-10-02 15:13:15 +00:00
rubidium 4b7e2ff704 (svn r17625) -Codechange: make a nested window of the station joiner 2009-09-23 20:14:59 +00:00
rubidium 2d03e0af5d (svn r17623) -Codechange: don't update the station's joiner scrollbar count in the drawing code 2009-09-23 19:41:25 +00:00
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 2009-09-19 09:51:14 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
rubidium 7aa9f8e3fb (svn r17373) -Codechange: make the timetable, station and subsidy GUIs use scrollbar wrappers 2009-09-02 08:40:31 +00:00
smatz 100ae8efcc (svn r17292) -Codechange: use unified ToPercent() function to convert fract numbers to percents 2009-08-27 13:31:26 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium a148a991bb (svn r17002) -Change: also support distant join for waypoints 2009-07-31 16:28:28 +00:00
rubidium 2ec12a3f58 (svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP 2009-07-26 21:50:30 +00:00
rubidium 47a37b6093 (svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code. 2009-07-26 21:07:03 +00:00
rubidium 5b576e6e7a (svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations. 2009-07-26 09:25:00 +00:00
rubidium e9bc557b2a (svn r16930) -Codechange: more StringID name unification and grouping 2009-07-23 19:31:50 +00:00
rubidium 68ead6b84f (svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-22 08:59:57 +00:00
rubidium e3053660c6 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 2009-07-20 11:21:57 +00:00
smatz 77d13eae61 (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs 2009-07-16 20:40:06 +00:00
smatz 1f29e38b83 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 2009-07-16 19:00:13 +00:00
smatz e7be1c74cf (svn r16728) -Fix (r14919): the Join station window didn't show all stations nearby in some cases 2009-07-03 13:33:00 +00:00
smatz 8343340acb (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 2009-06-24 17:39:54 +00:00
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 2009-05-17 01:00:56 +00:00
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 2009-05-16 23:34:14 +00:00
rubidium 2664f2a2d9 (svn r16242) -Codechange: rework pausing
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-05-06 15:06:57 +00:00
alberth f52abe53eb (svn r16212) -Codechange: Added nested widgets for all station_gui windows. 2009-05-03 10:46:24 +00:00
alberth 58a2d5aa94 (svn r16211) -Codechange: Moving StationListWidgets out of the window class, completing StationViewWidgets. 2009-05-03 10:38:35 +00:00
alberth 99ce97b7f3 (svn r16210) -Codechange: Make panels non-overlapping in company stations window. 2009-05-03 10:34:47 +00:00
alberth 9d81a3d262 (svn r16209) -Codechange: Removed bottom panel from join station window. 2009-05-03 10:33:15 +00:00
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 2009-04-26 14:52:56 +00:00
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 2009-04-21 23:40:56 +00:00
rubidium 118a9bdaf1 (svn r16046) -Change: when sorting on cargo ratings only take a look at the ratings of the cargoes that are 'selected'. 2009-04-12 19:23:26 +00:00
rubidium ae3ebe6834 (svn r16045) -Feature [FS#597]: allow sorting stations by the lowest cargo rating instead of only by the highest cargo rating (based on the idea of KeeperOfTheSoul) 2009-04-12 19:15:53 +00:00
rubidium f16aa9f509 (svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations. 2009-04-10 22:47:19 +00:00