rubidium
91ea9c969f
(svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters
14 years ago
rubidium
0e840f7360
(svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters
14 years ago
rubidium
56ebc2359e
(svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot
14 years ago
rubidium
ea4b40704b
(svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot
14 years ago
rubidium
db3a6485d7
(svn r20768) -Codechange: unify send-to-depot commands
14 years ago
rubidium
9badab6454
(svn r20768) -Codechange: unify send-to-depot commands
14 years ago
smatz
63b8fea69f
(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window
14 years ago
smatz
fd54943c7a
(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window
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
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
ac83f92fdc
(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names.
14 years ago
frosch
037d2ed436
(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names.
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
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
alberth
a825b4fa5f
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
rubidium
d11de00a15
(svn r20244) -Fix: the caption of the "Available vehicle" lists was black, whereas for building those vehicles, which uses the exact same window, it was white.
14 years ago
rubidium
0c54c242e2
(svn r20244) -Fix: the caption of the "Available vehicle" lists was black, whereas for building those vehicles, which uses the exact same window, it was white.
14 years ago
alberth
a50578c3ad
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
alberth
4203e641f8
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
frosch
ca5acaa616
(svn r20172) -Codechange: Use BaseVehicleListWindow::BuildActionDropdownList() also for the normal vehicle list.
14 years ago
frosch
f06560ad45
(svn r20172) -Codechange: Use BaseVehicleListWindow::BuildActionDropdownList() also for the normal vehicle list.
14 years ago
frosch
ea4bb0bec0
(svn r20170) -Codechange: Add BaseVehicleListWindow::GetActionDropdownSize().
14 years ago
frosch
ce480fb4b5
(svn r20170) -Codechange: Add BaseVehicleListWindow::GetActionDropdownSize().
14 years ago
frosch
d10c265d75
(svn r20169) -Codechange: Replace ShowGroupActionDropdown() with BaseVehicleListWindow::BuildActionDropdownList().
14 years ago
frosch
c79d4f46a3
(svn r20169) -Codechange: Replace ShowGroupActionDropdown() with BaseVehicleListWindow::BuildActionDropdownList().
14 years ago
alberth
fd4d221647
(svn r19878) -Fix [FX#3851]: Default vehicle group texts were drawn one pixel too low (sbr).
15 years ago
alberth
9f15e28460
(svn r19878) -Fix [FX#3851]: Default vehicle group texts were drawn one pixel too low (sbr).
15 years ago
rubidium
6003b9f211
(svn r19438) -Fix [FS#3700]: Custom group names are misaligned with default ones when using rtl languages (sbr)
15 years ago
rubidium
b7a7f908f9
(svn r19438) -Fix [FS#3700]: Custom group names are misaligned with default ones when using rtl languages (sbr)
15 years ago
alberth
e3b24801e2
(svn r19132) -Codechange: No need to end a line with ;;.
15 years ago
alberth
33a96b5ef3
(svn r19132) -Codechange: No need to end a line with ;;.
15 years ago
rubidium
d507788d37
(svn r19106) -Codechange: change 'const static' -> 'static const' for consistency (1 vs 2900 cases); some GCCs/ICCs are known to warn about the former case, but it's valid C++.
15 years ago
rubidium
3108101cb2
(svn r19106) -Codechange: change 'const static' -> 'static const' for consistency (1 vs 2900 cases); some GCCs/ICCs are known to warn about the former case, but it's valid C++.
15 years ago
rubidium
1c468db7d5
(svn r19087) -Codechange: some typos in StringIDs
15 years ago
rubidium
0072503496
(svn r19087) -Codechange: some typos in StringIDs
15 years ago
smatz
1ebc871ebf
(svn r18981) -Change: show empty query after creating new group (instead of 'Group nnn')
15 years ago
smatz
78ffa78ee7
(svn r18981) -Change: show empty query after creating new group (instead of 'Group nnn')
15 years ago
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
26b203e3ff
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
...
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
rubidium
2b97f38cd1
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
...
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
alberth
0e9dac92d2
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
15 years ago
alberth
91872aca48
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
15 years ago
alberth
f20e477a02
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
rubidium
8c11679381
(svn r18342) -Fix: erroneous spaces before ;
15 years ago
rubidium
2e2f72b971
(svn r18342) -Fix: erroneous spaces before ;
15 years ago
rubidium
45eb0be570
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
ab417c6c06
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
15 years ago
rubidium
8d6e323ef8
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
15 years ago
rubidium
50359b2d08
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
14300d309c
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
f8b79068e6
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
rubidium
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
rubidium
d4d7347157
(svn r18237) -Codechange: make the group GUI big font aware
15 years ago
rubidium
3d6edbdf46
(svn r18237) -Codechange: make the group GUI big font aware
15 years ago
rubidium
6f82d2b53b
(svn r18236) -Codechange: make the group gui behave 'better aligned'
15 years ago
rubidium
c95963a0d7
(svn r18236) -Codechange: make the group gui behave 'better aligned'
15 years ago
alberth
5bee09c924
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
450e40b997
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
18b33fde83
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
alberth
2b6f792513
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
rubidium
c227abd7c3
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
15 years ago
rubidium
8204f226f1
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
15 years ago
rubidium
f106bbbe5c
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
15 years ago
rubidium
d913282e7a
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
15 years ago
rubidium
ef4e936acb
(svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances
15 years ago
rubidium
e9b6e73333
(svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances
15 years ago
rubidium
8e11cd3a42
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
rubidium
5f2ddfbc5a
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
rubidium
ab85bb7080
(svn r18134) -Codechange: scale the offset of the text/vehicle in the vehicle lists based on the font and the unit numbers in the list
15 years ago
rubidium
bdb118aa69
(svn r18134) -Codechange: scale the offset of the text/vehicle in the vehicle lists based on the font and the unit numbers in the list
15 years ago
rubidium
684e63e2b5
(svn r18130) -Codechange: initial steps into making the vehicle/group lists big font and RTL aware
15 years ago
rubidium
e438fc6a80
(svn r18130) -Codechange: initial steps into making the vehicle/group lists big font and RTL aware
15 years ago
rubidium
a13fd6ddce
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
rubidium
626de6b128
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
rubidium
b01251092e
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
alberth
d2095a15e8
(svn r18066) -Codechange: Make group gui window use pure nested widgets.
15 years ago
alberth
e016fa0fac
(svn r18066) -Codechange: Make group gui window use pure nested widgets.
15 years ago
alberth
33386b5a9c
(svn r18059) -Codechange: Move some variable declarations to their use.
15 years ago
alberth
ad2c2c2be3
(svn r18059) -Codechange: Move some variable declarations to their use.
15 years ago
alberth
125ca20d45
(svn r17865) -Codechange: Remove references to specific widgets and step-heights from BaseVehicleListWindow::DrawVehicleListItems().
15 years ago
alberth
413f6b880f
(svn r17865) -Codechange: Remove references to specific widgets and step-heights from BaseVehicleListWindow::DrawVehicleListItems().
15 years ago
rubidium
c1365b3cc1
(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.
15 years ago
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.
15 years ago
rubidium
b72898c8a3
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
rubidium
d1d35b95b6
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
e80d296638
(svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers
15 years ago
rubidium
78c9827000
(svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers
15 years ago
smatz
1c6a2d72e2
(svn r17281) -Feature(tte): open the 'Rename group' dialog after creating new group
15 years ago
smatz
e0f22b36a1
(svn r17281) -Feature(tte): open the 'Rename group' dialog after creating new group
15 years ago
smatz
bdb0ba3feb
(svn r17275) -Codechange: remember group ID we are renaming, don't rename currently selected group
15 years ago
smatz
95d096d8df
(svn r17275) -Codechange: remember group ID we are renaming, don't rename currently selected group
15 years ago
rubidium
d4a98be94a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
aca7ba714a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
frosch
50b1aacdb0
(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images.
15 years ago
frosch
2ad4bf74a1
(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images.
15 years ago
smatz
073e163b7f
(svn r17131) -Codechange: apply coding style to some switch statements
15 years ago
smatz
e707c82412
(svn r17131) -Codechange: apply coding style to some switch statements
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
04ee98df52
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
15 years ago
rubidium
2962d8f0fc
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
15 years ago
rubidium
45113f6d96
(svn r16887) -Fix (r16884): erroneous semicolon.
15 years ago
rubidium
87dba11ca1
(svn r16887) -Fix (r16884): erroneous semicolon.
15 years ago
rubidium
7dd42bbc6a
(svn r16885) -Codechange: reduce (string) duplication with vehicle lists
15 years ago
rubidium
dc943b35e0
(svn r16885) -Codechange: reduce (string) duplication with vehicle lists
15 years ago
rubidium
9943d1f650
(svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings used in the vehicle list GUIs.
15 years ago
rubidium
21921441d0
(svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings used in the vehicle list GUIs.
15 years ago
alberth
fe9f5cbc46
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
15 years ago
alberth
d0a47fc1b4
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
15 years ago
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
512db5248e
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
241af768f0
(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
16 years ago
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
16 years ago
rubidium
5c5b357043
(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.
16 years ago
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.
16 years ago
rubidium
e88cb7f70f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
16 years ago
rubidium
329cabab4f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
16 years ago
alberth
bbd546b792
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
16 years ago
alberth
9d2738b9c4
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
16 years ago
alberth
8f5f39cf09
(svn r15820) -Codechange: Some windows using nested widgets
16 years ago
alberth
6567a29e18
(svn r15820) -Codechange: Some windows using nested widgets
16 years ago
rubidium
2e38d7c332
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
16 years ago
rubidium
9038733f1a
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
16 years ago
rubidium
2a422e3e95
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
16 years ago
rubidium
69decac406
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
16 years ago
rubidium
57c5ce84eb
(svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth)
16 years ago
rubidium
4f8eeca437
(svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth)
16 years ago
rubidium
7f468dc142
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
16 years ago
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
16 years ago
rubidium
f3e0fd7416
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
rubidium
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
rubidium
c7f3daacbf
(svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window
16 years ago
rubidium
90e2465d7d
(svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window
16 years ago
peter1138
bce50498fc
(svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
16 years ago
peter1138
aad67b5736
(svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
rubidium
28ea38ae55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
frosch
eec8c04586
(svn r14925) -Fix [FS#2500]: Abort dragging of vehicles in the group window when they are deleted.
16 years ago
frosch
b522f73ba8
(svn r14925) -Fix [FS#2500]: Abort dragging of vehicles in the group window when they are deleted.
16 years ago
smatz
b00e510140
(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
16 years ago
smatz
254e19da91
(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
16 years ago
rubidium
e83cca7d13
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
rubidium
e589c7e580
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
f56e630e5c
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
smatz
e543181b12
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
16 years ago
smatz
1266b1a73f
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
16 years ago
smatz
ffa39caf3d
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
16 years ago
smatz
606f4defdc
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
16 years ago
rubidium
1c5338cbce
(svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore.
16 years ago
rubidium
1ce4e5721b
(svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore.
16 years ago
rubidium
4ea5308d49
(svn r14306) -Codechange: unify the code to draw the vehicle list.
...
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
16 years ago
rubidium
fc62d736f7
(svn r14306) -Codechange: unify the code to draw the vehicle list.
...
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
16 years ago
rubidium
ac48a45cb8
(svn r14303) -Codechange: make the vehicle list part of the group window look exactly like the vehicle list instead of some buttons being one pixel wider/smaller.
16 years ago
rubidium
3b4d15d35b
(svn r14303) -Codechange: make the vehicle list part of the group window look exactly like the vehicle list instead of some buttons being one pixel wider/smaller.
16 years ago
rubidium
f60ef76050
(svn r14302) -Codechange: simplify and make the vehicle list and group windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles.
16 years ago
rubidium
3384638e36
(svn r14302) -Codechange: simplify and make the vehicle list and group windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles.
16 years ago
rubidium
3423721523
(svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items.
16 years ago
rubidium
560e5560f1
(svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items.
16 years ago
rubidium
c816cc37fd
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
16 years ago
rubidium
97c184f8f8
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
16 years ago
belugas
a63bcef135
(svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui
16 years ago
belugas
4cc5da9409
(svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui
16 years ago
rubidium
6898a76c5f
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
16 years ago
rubidium
d06529ef4d
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
16 years ago
skidd13
ec261a6456
(svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
...
-Cleanup: some small things referring the change
17 years ago
skidd13
32c2041f89
(svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
...
-Cleanup: some small things referring the change
17 years ago
skidd13
d85c5f020b
(svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls
17 years ago
skidd13
0a19f738bc
(svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls
17 years ago
peter1138
698a51a41e
(svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list
17 years ago
peter1138
8ea996e246
(svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list
17 years ago
smatz
33dc3165be
(svn r13280) -Fix (r13276): MSVC compilation was broken
17 years ago
smatz
e424367938
(svn r13280) -Fix (r13276): MSVC compilation was broken
17 years ago
skidd13
16cee252a7
(svn r13271) -Codechange: groups sorting uses GUILists Sort() now
17 years ago
skidd13
0972b3dd15
(svn r13271) -Codechange: groups sorting uses GUILists Sort() now
17 years ago
peter1138
0434e83e91
(svn r13270) -Codechange: There is no need to clear lists in the window constructor
17 years ago
peter1138
4c69d11f5e
(svn r13270) -Codechange: There is no need to clear lists in the window constructor
17 years ago
peter1138
781b90ac91
(svn r13266) -Codechange: Use SmallVector in GUIList
17 years ago
peter1138
02b5ffa13f
(svn r13266) -Codechange: Use SmallVector in GUIList
17 years ago
rubidium
162e2e074b
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
17 years ago
rubidium
27c38052b7
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
17 years ago
rubidium
3ee2556585
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
17 years ago
rubidium
9defec7876
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
17 years ago
rubidium
a89b5721a8
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
17 years ago
rubidium
8b54212900
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
17 years ago
rubidium
0d2e74fb71
(svn r13078) -Fix: group gui used the vehicle type before it was actually set.
17 years ago
rubidium
cf91f6bf3e
(svn r13078) -Fix: group gui used the vehicle type before it was actually set.
17 years ago
rubidium
a7db265bb6
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
17 years ago
rubidium
dddfaaac7d
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
17 years ago
rubidium
ee3c14b344
(svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow.
17 years ago
rubidium
c47926311b
(svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow.
17 years ago
rubidium
89a60ce249
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
17 years ago
rubidium
75e3792aa3
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
17 years ago
rubidium
92aac531c2
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
17 years ago
rubidium
23fc96c3e8
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
17 years ago
rubidium
c28ce39e3c
(svn r12987) -Codechange: split viewport and tile selection.
17 years ago
rubidium
3d5567ccf7
(svn r12987) -Codechange: split viewport and tile selection.
17 years ago
rubidium
9db77e3808
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
17 years ago
rubidium
9bf519f26b
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
17 years ago
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
8857f5057f
(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob.
17 years ago
rubidium
31411d4755
(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob.
17 years ago
rubidium
f4b07a78c4
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
17 years ago
rubidium
acafc26426
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
17 years ago
rubidium
6d063c3ad6
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
17 years ago
rubidium
02cdf01507
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
17 years ago
smatz
d0fdbce6d2
(svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging in the group and depot GUI if appropriate
17 years ago
smatz
b2e4adc2b8
(svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging in the group and depot GUI if appropriate
17 years ago
rubidium
df1d9bd880
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
17 years ago
rubidium
ef2be7d0fc
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
17 years ago
rubidium
bf54e0ba1c
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
17 years ago
rubidium
878489e38d
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
17 years ago
peter1138
38be279d3a
(svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget
17 years ago
peter1138
e27de79990
(svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget
17 years ago
smatz
9bdb194b2a
(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
...
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
17 years ago
smatz
a190606f2e
(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
...
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
17 years ago
smatz
d7a72c7002
(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC)
17 years ago
smatz
291931bf50
(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC)
17 years ago
smatz
fe48d0be21
(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
...
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
17 years ago
smatz
a0ddc43e92
(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
...
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
17 years ago
peter1138
04da1e1d45
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
17 years ago
peter1138
68707808c0
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
17 years ago