Commit Graph

284 Commits

Author SHA1 Message Date
frosch
eb20798aae (svn r24801) -Codechange: Add functions to set integral DParams to suitable values for size computations. 2012-12-08 17:18:51 +00:00
frosch
3b06409153 (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 2012-11-11 16:10:43 +00:00
frosch
741f0a15b6 (svn r24321) -Change/Fix [FS#4254]: [NewGRF] Group vehicles in the purchase list properly by source GRF, but also consider engine GRFID overrides. 2012-06-03 15:07:27 +00:00
frosch
565fcf16f9 (svn r24203) -Fix: Make the engine name not overdraw the engine count in the autoreplace GUI. 2012-05-05 19:27:47 +00:00
michi_cc
b80a329a5c (svn r24137) -Feature(ette): Draw indicator icon in the replace vehicle window for vehicles which have a replacement set. 2012-04-17 19:44:08 +00:00
yexo
75e9a1d560 (svn r23792) -Feature [FS#4958]: move 'refitable to' text above custom newgrf text in build vehicle gui 2012-01-12 19:23:00 +00:00
truebrain
000ff60e25 (svn r23531) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:27:45 +00:00
truebrain
49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
rubidium
24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 2011-12-15 21:56:00 +00:00
michi_cc
09f5ad764c (svn r23508) -Add: Engine sorter for aircraft range. 2011-12-13 01:18:40 +00:00
michi_cc
957b643ae6 (svn r23504) -Feature: Aircraft range. 2011-12-13 00:43:35 +00:00
frosch
9a533fb58b (svn r23335) -Change: Make determination of vehicle weight when loaded consistent between road and rail vehicle purchase info. 2011-11-26 14:52:33 +00:00
frosch
7f1c696567 (svn r23334) -Fix [FS#4820]: Road vehicle purchase info failed to display vehicles carrying no cargo. (Can only happen when NewGRFs are screwed up.) 2011-11-26 14:51:06 +00:00
frosch
6365d92776 (svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts. 2011-11-08 17:24:43 +00:00
frosch
6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 2011-11-01 16:51:47 +00:00
frosch
ad38f27242 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 2011-11-01 00:23:41 +00:00
yexo
b826b96726 (svn r23045) -Change: copy 6 registers to newgrf textstack after cb23 instead of 4 2011-10-20 19:02:13 +00:00
yexo
a8ab872298 (svn r23040) -Add: [NewGRF] allow use of newgrf textstack during callback 23 2011-10-20 16:49:30 +00:00
frosch
afd26f3bb3 (svn r22850) -Feature: Display separate ocean and canal speeds in the ship purchase list, if they differ. 2011-08-27 10:34:31 +00:00
frosch
e7971ab5df (svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation. 2011-07-03 13:49:29 +00:00
rubidium
6cc9a2884d (svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h. 2011-04-30 14:24:23 +00:00
terkhen
a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 2011-04-17 18:42:17 +00:00
frosch
4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
terkhen
b6148914b0 (svn r21803) -Cleanup: Remove unnecessary semicolons. 2011-01-15 15:36:58 +00:00
rubidium
4d6cd55877 (svn r21410) -Codechange: limit engine name by amount of characters, not bytes 2010-12-05 22:24:20 +00:00
terkhen
64c200a25e (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 2010-11-27 22:52:12 +00:00
rubidium
5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
rubidium
07987cc6a9 (svn r21151) -Fix [FS#4221]: Sort arrow wasn't accounted for in two windows causing it to be overwritten by the "sort by" string 2010-11-12 16:29:09 +00:00
planetmaker
4ca53b908c (svn r21105) -Feature-ish: Allow to sort purchase lists for trains and road vehicles by tractive effort 2010-11-06 20:20:03 +00:00
planetmaker
dad0c0020b (svn r21104) -Doc: Add doxygen commands to a few functions 2010-11-06 20:12:20 +00:00
planetmaker
99d169c7b8 (svn r21103) -Change: Use the same sorting of the sorting criteria for both trains and road vehicles 2010-11-06 20:11:36 +00:00
alberth
063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
alberth
a51d34c048 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 2010-08-15 14:06:43 +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
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
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
rubidium
22053279a5 (svn r20242) -Change: remove the need for "{WHITE}" control codes in some of the railtype NewGRF strings
-Fix: make it possible to properly assess the length of the rail toolbar caption
2010-07-30 12:15:22 +00:00
alberth
a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 2010-07-26 13:08:48 +00:00
rubidium
f09a74a996 (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 2010-05-13 09:44:44 +00:00
yexo
4e5b8a1614 (svn r19669) -Fix: don't display an error message when double clicking on a vehicle in the 'available vehicles'-window 2010-04-17 23:38:00 +00:00
terkhen
1fbde179d9 (svn r19573) -Fix (r19541): Special cargos did not appear at the refit list. 2010-04-07 14:17:29 +00:00
terkhen
3196dede8c (svn r19539) -Codechange: Use a macro to loop through the list of sorted cargo specifications. 2010-04-02 12:20:41 +00:00
terkhen
5ecd90d3d1 (svn r19536) -Feature: Sort cargos at the filter by cargo dropdown in the build vehicle window. 2010-04-01 19:52:13 +00:00
terkhen
55bc2c58ea (svn r19480) -Fix: Stop reducing the size of the vehicle list after selecting a vehicle with a long description. 2010-03-20 12:21:01 +00:00
terkhen
baedea5dd4 (svn r19475) -Cleanup: Remove an unneeded for when drawing detail panels. 2010-03-19 21:00:15 +00:00
yexo
841e385368 (svn r19451) -Cleanup: remove some unused code 2010-03-18 15:20:49 +00:00
terkhen
e6a1b2d92e (svn r19348) -Add: Allow to sort road vehicles by power and by power vs running cost at the engine preview window. 2010-03-06 13:03:17 +00:00