rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
frosch
7b238142b8
(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack.
11 years ago
frosch
ba1779b978
(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack.
11 years ago
rubidium
201b3d8aa2
(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns
11 years ago
rubidium
83eeba28b7
(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns
11 years ago
rubidium
3784110fe6
(svn r26080) -Fix: possible out of bounds array access
11 years ago
rubidium
a8e8f606d8
(svn r26080) -Fix: possible out of bounds array access
11 years ago
frosch
670c4879cf
(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.
11 years ago
frosch
6a0439a789
(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.
11 years ago
frosch
0c42bd6a7b
(svn r25732) -Fix: In BuildIndustryWindow in RTL mode, draw industry color icon at the right. (sbr)
11 years ago
frosch
87ef3ab449
(svn r25732) -Fix: In BuildIndustryWindow in RTL mode, draw industry color icon at the right. (sbr)
11 years ago
fonsinchen
4396dcf642
(svn r25714) -Fix: explicitly cast some things to silence warnings on GCC 4.0
11 years ago
fonsinchen
0baa72aff9
(svn r25714) -Fix: explicitly cast some things to silence warnings on GCC 4.0
11 years ago
frosch
538159cb1d
(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size.
11 years ago
frosch
43ec0bf0c1
(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size.
11 years ago
frosch
f6d27acb51
(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets.
11 years ago
frosch
98fdd20f84
(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets.
11 years ago
frosch
13badddd75
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
12 years ago
frosch
4e4e635916
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
12 years ago
frosch
16feb5c4e9
(svn r25290) -Add: Assign string names to notable windows.
12 years ago
frosch
8157a8afd8
(svn r25290) -Add: Assign string names to notable windows.
12 years ago
frosch
25adefca23
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
12 years ago
frosch
56e4a8c4d6
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
12 years ago
alberth
41ddef3018
(svn r25238) -Feature: Display imminent closure of an industry in its view window.
12 years ago
alberth
1b5b4db690
(svn r25238) -Feature: Display imminent closure of an industry in its view window.
12 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
frosch
336a93a9d8
(svn r24846) -Add: Advanced settings to disable certain sound effects.
12 years ago
frosch
3ce8d2ce70
(svn r24846) -Add: Advanced settings to disable certain sound effects.
12 years ago
alberth
19adc87262
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
12 years ago
alberth
732e073261
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
12 years ago
alberth
443d666bba
(svn r24764) -Change: Disable horizontal resizing of the industry chain window, it's not useful.
12 years ago
alberth
a2b07adf43
(svn r24764) -Change: Disable horizontal resizing of the industry chain window, it's not useful.
12 years ago
alberth
9f8184e71e
(svn r24763) -Feature: Add industry type and cargo dropdown selection for easier navigating in the industry chain window.
12 years ago
alberth
fb892f4b20
(svn r24763) -Feature: Add industry type and cargo dropdown selection for easier navigating in the industry chain window.
12 years ago
frosch
3b06409153
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
12 years ago
frosch
03736af2ae
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
12 years ago
alberth
67f599f9db
(svn r24395) -Doc: Fixed argument references in @param descriptions.
12 years ago
alberth
2ab7c82b31
(svn r24395) -Doc: Fixed argument references in @param descriptions.
12 years ago
frosch
23ad97e755
(svn r24310) -Codechange: Add named constants for the dimensions of settings buttons, and generally make their usage more consistent.
13 years ago
frosch
056f779334
(svn r24310) -Codechange: Add named constants for the dimensions of settings buttons, and generally make their usage more consistent.
13 years ago
frosch
70d3206320
(svn r24309) -Codechange: Split some functions from gui.h to settings_gui.h
13 years ago
frosch
198de5397e
(svn r24309) -Codechange: Split some functions from gui.h to settings_gui.h
13 years ago
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
smatz
cf54bc425f
(svn r23706) -Codechange: prevent 'unknown command' doxygen errors
13 years ago
smatz
bcd3f2bb59
(svn r23706) -Codechange: prevent 'unknown command' doxygen errors
13 years ago
truebrain
733516639d
(svn r23534) -Codechange: document and rename widgets to be consistent and understandable
13 years ago
truebrain
cb8e37197d
(svn r23534) -Codechange: document and rename widgets to be consistent and understandable
13 years ago
truebrain
49e88dcbf0
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
13 years ago
truebrain
2aa774e831
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
13 years ago
rubidium
24263638bf
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
rubidium
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
truebrain
da63ce43fa
(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
...
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
13 years ago
truebrain
df0afdf0dc
(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
...
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
13 years ago
rubidium
9aab2dc861
(svn r23474) -Codechange: move the declaration error related functions to error.h
13 years ago
rubidium
58423b26d1
(svn r23474) -Codechange: move the declaration error related functions to error.h
13 years ago
frosch
930c6c7779
(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18.
13 years ago
frosch
b98c7763de
(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18.
13 years ago
frosch
6365d92776
(svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts.
13 years ago
frosch
d8f8909f85
(svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts.
13 years ago
frosch
c6783955aa
(svn r22725) -Fix: Always draw NewGRF supplied texts with a default colour.
13 years ago
frosch
ba7356b520
(svn r22725) -Fix: Always draw NewGRF supplied texts with a default colour.
13 years ago
frosch
e43d74c438
(svn r22631) -Fix: Additional text in fund industry window is NewGRF supplied and thus should have a default colour.
13 years ago
frosch
98a9d30bfe
(svn r22631) -Fix: Additional text in fund industry window is NewGRF supplied and thus should have a default colour.
13 years ago
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.
13 years ago
frosch
f93c8ce5aa
(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
13 years ago
frosch
7b251297c9
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
14 years ago
frosch
5e449b8fae
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
14 years ago
frosch
7cc3d3e143
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
14 years ago
frosch
22286bd7b6
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
14 years ago
terkhen
a88fe7c2aa
(svn r22343) -Change: Remove pixel limiter for query strings.
14 years ago
terkhen
10caf391a1
(svn r22343) -Change: Remove pixel limiter for query strings.
14 years ago
frosch
db3a8d1abf
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
14 years ago
frosch
652c9cb663
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
14 years ago
frosch
4b4a40a72e
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
14 years ago
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
14 years ago
frosch
1a14c133c6
(svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting.
14 years ago
frosch
77d1dcb926
(svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting.
14 years ago
alberth
8c3041b3c9
(svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density.
14 years ago
alberth
4364cec392
(svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density.
14 years ago
alberth
f838069a44
(svn r22000) -Codechange: Introduce an enum for the industry density setting.
14 years ago
alberth
d84502c432
(svn r22000) -Codechange: Introduce an enum for the industry density setting.
14 years ago
alberth
ad2049848a
(svn r21927) -Change: Comment-style fixes.
14 years ago
alberth
1e65afc62a
(svn r21927) -Change: Comment-style fixes.
14 years ago
rubidium
54c0dec6aa
(svn r21909) -Fix: some missing spaces
14 years ago
rubidium
8017c2a3d7
(svn r21909) -Fix: some missing spaces
14 years ago
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
alberth
fdf0be0da8
(svn r21665) -Codechange: Make GetCallbackWnd a method of _thd.
14 years ago
alberth
22a13850cb
(svn r21665) -Codechange: Make GetCallbackWnd a method of _thd.
14 years ago
alberth
7d989073d4
(svn r21627) -Codechange: Remove _place_proc global variable.
14 years ago
alberth
852e647bcc
(svn r21627) -Codechange: Remove _place_proc global variable.
14 years ago
rubidium
004b2b6001
(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed
14 years ago
rubidium
a029b2b83a
(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed
14 years ago
terkhen
3524d55c6a
(svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window.
14 years ago
terkhen
77cb1b7e06
(svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window.
14 years ago
terkhen
64c200a25e
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
14 years ago
terkhen
75f86a7a21
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
14 years ago
terkhen
6352166908
(svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name.
14 years ago
terkhen
f2cc73bb51
(svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name.
14 years ago
alberth
0722492c1b
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
alberth
063931d435
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
alberth
7e48d85104
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
alberth
42f6245a31
(svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after resize (partly by Krille).
14 years ago
alberth
df7a32d364
(svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after resize (partly by Krille).
14 years ago
alberth
f502c82fa5
(svn r21019) -Add: Use center of industry to focus on in the industry gui.
14 years ago
alberth
cccbc8f418
(svn r21019) -Add: Use center of industry to focus on in the industry gui.
14 years ago
planetmaker
310de59b0f
(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small
14 years ago
planetmaker
c2a7b82a9f
(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small
14 years ago
frosch
88a1b8c8d9
(svn r20902) -Fix [FS#4032]: Make IsProductionAlterable() work for most NewGRF industries.
...
The NewGRF either has to use properties 12/13, or it needs to set property 0B to 'primary industry'.
So it will not work for bank-like industries which use pure production-callback production.
14 years ago
frosch
510ef76386
(svn r20902) -Fix [FS#4032]: Make IsProductionAlterable() work for most NewGRF industries.
...
The NewGRF either has to use properties 12/13, or it needs to set property 0B to 'primary industry'.
So it will not work for bank-like industries which use pure production-callback production.
14 years ago
frosch
75f0653bdf
(svn r20901) -Fix/Change: When using non-smooth or newgrf-economy changing production rates does not work (anymore), so allow changing the production multiplier instead.
14 years ago
frosch
c49debbe63
(svn r20901) -Fix/Change: When using non-smooth or newgrf-economy changing production rates does not work (anymore), so allow changing the production multiplier instead.
14 years ago
frosch
1bbf059934
(svn r20899) -Codechange: Switch order of if-tests in IndustryViewWindow::OnClick().
14 years ago
frosch
286aba3492
(svn r20899) -Codechange: Switch order of if-tests in IndustryViewWindow::OnClick().
14 years ago
frosch
83a94cd560
(svn r20898) -Change: When entering a production rate, round to nearest possible rate instead towards zero.
14 years ago
frosch
168b0a733f
(svn r20898) -Change: When entering a production rate, round to nearest possible rate instead towards zero.
14 years ago
frosch
ec38c7d687
(svn r20897) -Codechange: Store the result of IsProductionAlterable() in a member variable of IndustryViewWindow.
14 years ago
frosch
566ba0fccc
(svn r20897) -Codechange: Store the result of IsProductionAlterable() in a member variable of IndustryViewWindow.
14 years ago
frosch
ebb4f36f34
(svn r20895) -Codechange: Use an enum to identify the rows of buttons in the industryview.
14 years ago
frosch
a0a51c2ac1
(svn r20895) -Codechange: Use an enum to identify the rows of buttons in the industryview.
14 years ago
frosch
a2ad453239
(svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to alter industry production did not work for large industry windows.
14 years ago
frosch
22842fe035
(svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to alter industry production did not work for large industry windows.
14 years ago
frosch
221c1a259f
(svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists.
14 years ago
frosch
ce83378e3d
(svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists.
14 years ago
frosch
563afd0717
(svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check climate-availability of houses.
14 years ago
frosch
e4091f16d0
(svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check climate-availability of houses.
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
alberth
a51d34c048
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
14 years ago
alberth
35fec79700
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
14 years ago
frosch
1bc01bc4b6
(svn r20496) -Codechange: Remove IsProductionMinimum()/Maximum(). The 0 and 255 constants are used all over the place, no need for trivial wrapper functions.
14 years ago
frosch
bdb4ae940d
(svn r20496) -Codechange: Remove IsProductionMinimum()/Maximum(). The 0 and 255 constants are used all over the place, no need for trivial wrapper functions.
14 years ago
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
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.
14 years ago
frosch
71ca58c2bb
(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.
14 years ago
frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
rubidium
13fbe57957
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
14 years ago
rubidium
10ced06205
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
14 years ago
alberth
9b10773428
(svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window.
14 years ago
alberth
7ad1f5ccef
(svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window.
14 years ago
alberth
15f407acea
(svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window.
14 years ago
alberth
2fa665114e
(svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window.
14 years ago