peter1138
317f69c152
Codechange: Use override specifier in Window-derived classes.
6 years ago
Jonathan G Rennison
fb3cb9c3d2
Enable NewGRF debug window for non-GRF vehicles
6 years ago
Jonathan G Rennison
a8cfc9fe90
Debug: Add vehicle index and flag dump to NewGRF debug window
6 years ago
Jonathan G Rennison
9ee5aecbaf
Merge branch 'enhanced_viewport_overlay-sx' into jgrpp
9 years ago
alberth
e9f12d666d
(svn r27451) -Feature[FS#6241]: Move sprite 8 positions in sprite aligner with ctrl+click. (based on work by juzza1)
9 years ago
alberth
e1a00bc244
(svn r27451) -Feature[FS#6241]: Move sprite 8 positions in sprite aligner with ctrl+click. (based on work by juzza1)
9 years ago
Jonathan G Rennison
1891e7dfc8
Bump max map size to 28 bits.
...
Prevent opening NewGRF debug window on tile indexes > 27 bits,
to avoid overflowing field.
9 years ago
Jonathan G Rennison
5d222e4d5e
Merge branch 'extra_large_maps' into extra_large_maps-sx
...
Conflicts:
src/genworld_gui.cpp
src/map_type.h
src/newgrf_debug_gui.cpp
9 years ago
patch-import
7d2b4bd3ea
Import extra large maps patch.
...
http://www.tt-forums.net/viewtopic.php?f=33&t=33137
9 years ago
alberth
da9721ffd6
(svn r27174) -Feature[FS#6236]: Display relative offset changes in the sprite aligner (juzza1).
10 years ago
alberth
a5843149b5
(svn r27174) -Feature[FS#6236]: Display relative offset changes in the sprite aligner (juzza1).
10 years ago
frosch
06e97d529b
(svn r27173) -Fix [FS#6237] (r27134): Use the regular clipping functions in the sprite aligner instead of some magic.
10 years ago
frosch
a4756c477d
(svn r27173) -Fix [FS#6237] (r27134): Use the regular clipping functions in the sprite aligner instead of some magic.
10 years ago
frosch
8767a11d60
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
10 years ago
frosch
a8080b6256
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
10 years ago
alberth
8f6df8c230
(svn r27086) -Codechange: Simplify opening of windows by always returning a valid window pointer.
10 years ago
alberth
107bf32953
(svn r27086) -Codechange: Simplify opening of windows by always returning a valid window pointer.
10 years ago
peter1138
04c78761b7
(svn r26942) -Codechange: Make sprite aligner useful for people making full-zoom graphics.
10 years ago
peter1138
17cd86d762
(svn r26942) -Codechange: Make sprite aligner useful for people making full-zoom graphics.
10 years ago
peter1138
3911ea1f90
(svn r26941) -Codechange: Make NewGRF sprite aligner work with GUI size.
10 years ago
peter1138
1273ca8e8d
(svn r26941) -Codechange: Make NewGRF sprite aligner work with GUI size.
10 years ago
rubidium
b886c8db8c
(svn r26506) -Codechange: replace most of vsnprintf with vseprintf
11 years ago
rubidium
e61fe21237
(svn r26506) -Codechange: replace most of vsnprintf with vseprintf
11 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
frosch
6bceb8b7ab
(svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain.
11 years ago
frosch
0aae2fd606
(svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain.
11 years ago
frosch
d4a5a50ad4
(svn r25945) -Codechange: Use member function of NewGRFInspectWindow to resolve FeatureIndex.
11 years ago
frosch
b0c2ab4501
(svn r25945) -Codechange: Use member function of NewGRFInspectWindow to resolve FeatureIndex.
11 years ago
frosch
af71445e1b
(svn r25943) -Fix: NewGRF inspect window in RTL mode.
11 years ago
frosch
df10f7b9f9
(svn r25943) -Fix: NewGRF inspect window in RTL mode.
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
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
8a297ca5f1
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
12 years ago
alberth
4c9bea2a71
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
12 years ago
alberth
c70c67d5b0
(svn r24690) -Codechange: Add resolver classes for industry tiles.
12 years ago
alberth
e087503fd6
(svn r24690) -Codechange: Add resolver classes for industry tiles.
12 years ago
alberth
0b8097be6b
(svn r24689) -Codechange: Add resolver classes for industries.
12 years ago
alberth
f7352871fa
(svn r24689) -Codechange: Add resolver classes for industries.
12 years ago
alberth
a2fe66cc02
(svn r24685) -Codechange: Add resolver classes for rail types.
12 years ago
alberth
82e6001451
(svn r24685) -Codechange: Add resolver classes for rail types.
12 years ago
alberth
6a619b40d5
(svn r24678) -Codechange: Introduce scope resolver base class and prepare for adding derived classes.
12 years ago
alberth
438495b433
(svn r24678) -Codechange: Introduce scope resolver base class and prepare for adding derived classes.
12 years ago
planetmaker
3f60a3d18a
(svn r23541) -Codechange: Consistent naming of widgets in NewGRF debug window
13 years ago
planetmaker
7c7bd7fe86
(svn r23541) -Codechange: Consistent naming of widgets in NewGRF debug window
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
ac1e1e3a3f
(svn r23419) -Fix [FS#4864] (r23316): the sprite aligner was broken as it didn't scale properly to 'GUI' scale
13 years ago
rubidium
5fc4ce1eb1
(svn r23419) -Fix [FS#4864] (r23316): the sprite aligner was broken as it didn't scale properly to 'GUI' scale
13 years ago
peter1138
b84174fd4d
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
peter1138
81598273e9
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
rubidium
4ef3d33895
(svn r23193) -Codechange: don't cast away const unneededly
13 years ago
rubidium
bd64bf6372
(svn r23193) -Codechange: don't cast away const unneededly
13 years ago
frosch
46e77ee24f
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
13 years ago
frosch
1ad7239247
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
13 years ago
terkhen
e1a4acfdf6
(svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug GUI.
13 years ago
terkhen
8ddb3941f7
(svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug GUI.
13 years ago
terkhen
e10a670c0c
(svn r22570) -Codechange: Store the GrfID of the caller when opening a parent window in the NewGRF debug GUI.
13 years ago
terkhen
46d1a06215
(svn r22570) -Codechange: Store the GrfID of the caller when opening a parent window in the NewGRF debug GUI.
13 years ago
terkhen
7e0daae1ec
(svn r22567) -Codechange: Store persistent storages inside a pool.
13 years ago
terkhen
00e5c1df18
(svn r22567) -Codechange: Store persistent storages inside a pool.
13 years ago
terkhen
016f50bca0
(svn r22565) -Codechange: Use helper functions for getting the persistent storage in the NewGRF debug GUI.
13 years ago
terkhen
281bed03f4
(svn r22565) -Codechange: Use helper functions for getting the persistent storage in the NewGRF debug GUI.
13 years ago
rubidium
eb2197f4c8
(svn r22410) -Document: some more bits ;)
14 years ago
rubidium
4d5dbf5170
(svn r22410) -Document: some more bits ;)
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
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
04f56cf6ed
(svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth)
14 years ago
frosch
f34e9ff074
(svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth)
14 years ago
frosch
074548f8f3
(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command.
14 years ago
frosch
19b7249ade
(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command.
14 years ago
frosch
b7e7dcd01e
(svn r22134) -Codechange: Move ReInit() of the landinfo window from DeleteNewGRFInspectWindow() into a InvalidateData call.
14 years ago
frosch
40cc3324fa
(svn r22134) -Codechange: Move ReInit() of the landinfo window from DeleteNewGRFInspectWindow() into a InvalidateData call.
14 years ago
rubidium
43c8073551
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
14 years ago
rubidium
eb299736c1
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
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
michi_cc
809dcbacd0
(svn r21065) -Fix (r19733): Crash when displaying 60+x parameters in the NewGRF inspect window.
14 years ago
michi_cc
406b4b3873
(svn r21065) -Fix (r19733): Crash when displaying 60+x parameters in the NewGRF inspect window.
14 years ago
rubidium
8425361b58
(svn r20673) -Codechange: add support for inspecting objects
14 years ago
rubidium
a8b992f4fd
(svn r20673) -Codechange: add support for inspecting objects
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
c28f639c40
(svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account
14 years ago
rubidium
52154e097c
(svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account
14 years ago
rubidium
0c8198ee26
(svn r19738) -Fix: MSVC 64 bits compile warnings
15 years ago
rubidium
ac9af8e1e1
(svn r19738) -Fix: MSVC 64 bits compile warnings
15 years ago
frosch
59b1dfd9ae
(svn r19733) -Change: Set var 60+x parameters in the inspect window per feature.
15 years ago
frosch
8a9e1d4596
(svn r19733) -Change: Set var 60+x parameters in the inspect window per feature.
15 years ago
frosch
efdc25bb73
(svn r19731) -Add: Spritepicker to sprite alignment tool.
15 years ago
frosch
7b30f34ecf
(svn r19731) -Add: Spritepicker to sprite alignment tool.
15 years ago
rubidium
738e71af4a
(svn r19723) -Add: a simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets.
15 years ago
rubidium
c72e2dde60
(svn r19723) -Add: a simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets.
15 years ago
rubidium
ab8562f71c
(svn r19708) -Add: NewGRF "debugging" window and data tables; should be a useful tool for NewGRF developers to get some insights into the value of some variables
15 years ago
rubidium
21883a84d7
(svn r19708) -Add: NewGRF "debugging" window and data tables; should be a useful tool for NewGRF developers to get some insights into the value of some variables
15 years ago