Jonathan G Rennison
54b8eb9b4c
Merge branch 'polyline_track_tool' into jgrpp
...
# Conflicts:
# src/rail_cmd.cpp
# src/rail_gui.cpp
# src/viewport.cpp
# src/viewport_func.h
9 years ago
patch-import
01cf154f51
Import polyline rail tool patch v10b
...
http://www.tt-forums.net/viewtopic.php?f=33&t=57080
9 years ago
keldorkatarn
5cc56d6ad9
Make 32 instead of 16 rail types possible. by using one free bit of m1 in the map array.
...
(cherry picked from commit b44843800880cdc186f5183301ee0f42afbb5f84)
Also set non-rail type M3 bits to 0 where applicable.
Change savegame versioning to SLXI format.
9 years ago
peter1138
6872b647f1
(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort buttons with non-static width.
10 years ago
peter1138
0877f892c5
(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort buttons with non-static width.
10 years ago
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
michi_cc
872acc5287
(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.
11 years ago
michi_cc
b911f4a452
(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.
11 years ago
frosch
f4213b8209
(svn r25543) -Cleanup: Make the bridge and object picker not restore their previous size, but the previously saved size.
11 years ago
frosch
c1bf3122ad
(svn r25543) -Cleanup: Make the bridge and object picker not restore their previous size, but the previously saved size.
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
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
truebrain
000ff60e25
(svn r23531) -Codechange: document and rename widgets to be consistent and understandable
13 years ago
truebrain
e9f584ac21
(svn r23531) -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
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
rubidium
c691b4c49e
(svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88)
13 years ago
rubidium
7b418502ab
(svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88)
13 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
terkhen
aadf070f06
(svn r21777) -Add: After building a road or tram bridge, connect it to any existing road or tram.
14 years ago
terkhen
87dade4698
(svn r21777) -Add: After building a road or tram bridge, connect it to any existing road or tram.
14 years ago
smatz
c8a1138fd7
(svn r21673) -Change [FS#4358]: do not show price to build a bridge in the scenario editor, it is free there
14 years ago
smatz
4a0ce4bb14
(svn r21673) -Change [FS#4358]: do not show price to build a bridge in the scenario editor, it is free there
14 years ago
rubidium
a6024080f1
(svn r21460) -Change [FS#3975]: place the bridge building window under the mouse instead of somewhere randomly on the screen and change the default sort order
14 years ago
rubidium
b8c9931f75
(svn r21460) -Change [FS#3975]: place the bridge building window under the mouse instead of somewhere randomly on the screen and change the default sort order
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
alberth
de9c678901
(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.
14 years ago
alberth
3b0ee65571
(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.
14 years ago
alberth
9ef150d7ea
(svn r21267) -Doc: Typo fixes.
14 years ago
alberth
9d899b3758
(svn r21267) -Doc: Typo fixes.
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
98cd443735
(svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI.
14 years ago
frosch
3fb7f5aa87
(svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI.
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
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
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
rubidium
b4d4e5722a
(svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges
15 years ago
rubidium
6328429aac
(svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges
15 years ago
alberth
581c110bfe
(svn r19561) -Feature: Give more detailed error message when trying to build a too long bridge.
15 years ago
alberth
fa8f227a97
(svn r19561) -Feature: Give more detailed error message when trying to build a too long bridge.
15 years ago
alberth
f185e5a8d7
(svn r19559) -Codechange: Rename CheckBridge_Stuff() to CheckBridgeAvailability().
15 years ago
alberth
7f5a0751e2
(svn r19559) -Codechange: Rename CheckBridge_Stuff() to CheckBridgeAvailability().
15 years ago
alberth
efddc16fc3
(svn r19419) -Codechange: Use failed CommandCost object to retrieve message instead of _error_message.
15 years ago
alberth
28b0a3e335
(svn r19419) -Codechange: Use failed CommandCost object to retrieve message instead of _error_message.
15 years ago
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
smatz
f051066bc4
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
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
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
f618acfb7d
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
15 years ago
rubidium
4d93b704d9
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
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
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
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
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
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
8e11cd3a42
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago