rubidium
59b6c9a85e
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
14 years ago
rubidium
cc5fd40a74
(svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all
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
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
341f41e347
(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
terkhen
c92b2e9d3c
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
alberth
a50578c3ad
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
alberth
c2a871d10b
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
rubidium
a70fd540fc
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
15 years ago
rubidium
04fbf762fb
(svn r19262) -Feature: finalise BaNaNaS support for music sets
15 years ago
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
frosch
c45c274daa
(svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical.
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
smatz
f6177d9708
(svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code
...
-Revert (r18637): it's not needed any more
15 years ago
rubidium
0946fd974f
(svn r18637) -Fix [FS#3428]: check whether the content list is empty before trying to draw it
15 years ago
alberth
f20e477a02
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
rubidium
2d249b9946
(svn r18493) -Fix: don't access something after deleting it
15 years ago
rubidium
86529556b1
(svn r18397) -Fix [FS#3346]: after cancelling downloading the download button would remain disabled
15 years ago
rubidium
21f2acfd01
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
15 years ago
rubidium
45eb0be570
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
fe1dcdd635
(svn r18287) -Fix (r17841): a not properly updated list caused reading just freed memory which caused buttons to not work as they should
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
f8b79068e6
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
rubidium
845de0aac1
(svn r18240) -Change: align the 'select' sprite in the network content GUI based on the font height
15 years ago
alberth
5bee09c924
(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
8139a8d96f
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
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
peter1138
d720ceb2e1
(svn r18146) -Codechange: Improve content download window scaling and offsets for different font size
15 years ago
rubidium
a13fd6ddce
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
peter1138
cfcd6c13f3
(svn r18103) -Codechange: Base content window detail title height on font height.
15 years ago
rubidium
bb5a43e609
(svn r18099) -Codechange: scale the edit boxes to the fontsize
15 years ago
rubidium
e53f9d1885
(svn r18094) -Codechange: make the network content GUI work better with RTL
15 years ago
rubidium
b01251092e
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
alberth
5a97b64d73
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
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
5fb9f8cb24
(svn r17846) -Codechange: make the network content window nested
15 years ago
rubidium
ac055da444
(svn r17843) -Codechange: move the details drawing code of the content window to a separate function
15 years ago
rubidium
6eba9654a2
(svn r17841) -Codechange: move state changes from OnPaint to OnInvalidate for the content gui.
15 years ago
rubidium
b72898c8a3
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
alberth
4ff755ac90
(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.
15 years ago
alberth
d54028fde8
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
15 years ago
frosch
804b40b48c
(svn r17538) -Codechange: Rename STR_CONTENT_FILTER_(OSKTITLE|TOOLTIP) for more general usage.
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
frosch
b3fd812eee
(svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough.
15 years ago
frosch
3511a6a7c4
(svn r17522) -Fix: Scroll to selected content after sorting the list and after updating the scrollbar maximum.
15 years ago
rubidium
6d72ae033a
(svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers
15 years ago
rubidium
3af095aa19
(svn r17291) -Fix [FS#3147]: crash after upgrading base graphics/sound set when opening the game options menu and you were using the upgraded set
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
93493827b6
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
cdb969e164
(svn r17133) -Codechange: generalise the code that searches for base graphics
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
98b6faa2f6
(svn r16846) -Codechange: make the content download status window only use nested widgets
15 years ago
alberth
fe9f5cbc46
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
15 years ago
rubidium
677b2d07bd
(svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window.
15 years ago
rubidium
f163217dbb
(svn r16493) -Fix: missing/wrong @file doxygen 'headers'
16 years ago
alberth
40a2e0d2a3
(svn r16234) -Codechange (r16231, r16233): Do not add test functions to trunk.
16 years ago
alberth
a67052199f
(svn r16233) -Codechange: Added nested widgets to network content windows.
16 years ago
alberth
eab14e1e1c
(svn r16232) -Codechange: Moving network content widgets enums outside window structs.
16 years ago
rubidium
156d45505d
(svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...).
16 years ago
rubidium
3bd4eeb178
(svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings.
16 years ago
rubidium
dd2661bbbd
(svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter)
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
d3de980714
(svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due to mathematical overflow.
16 years ago
alberth
bbd546b792
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
16 years ago
rubidium
12f1abbce0
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
16 years ago
rubidium
31a5457c03
(svn r15803) -Codechange: use the new text drawing API for multicenter
...
-Fix (r15800): off-by-one w.r.t. offsets
16 years ago
rubidium
dcd5ad8b19
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
16 years ago
rubidium
2a422e3e95
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
16 years ago
rubidium
89d614deea
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
16 years ago
rubidium
c1aabd9842
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
16 years ago
glx
583c756679
(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows
16 years ago
rubidium
b3b4be2dde
(svn r15782) -Codechange: replace some calls to the all text drawing API to the new one.
16 years ago
rubidium
485961b260
(svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice.
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
0bb1fd18ad
(svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows.
16 years ago
rubidium
d5762a5069
(svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas.
16 years ago
rubidium
926b721cc2
(svn r15566) -Change: reintroduce space as valid method of selecting 'content' as long as the filter box is not focused. Enter will also work when the filter box is focused.
16 years ago
peter1138
545804b67a
(svn r15433) -Fix (r15126): Content download progress bar was not centered properly.
16 years ago
rubidium
5080feba0d
(svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu).
16 years ago
rubidium
9f1a20a2be
(svn r15377) -Fix [FS#2607]: filter did resort when unneeded and didn't deselect properly in some cases (Roujin)
16 years ago
rubidium
a3da2d5145
(svn r15372) -Feature: filter the 'content' based on the tag/name. Based on a patch by Roujin.
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
Yexo
9fc9697929
(svn r15234) -Fix (r15176): Crash if you pressed space in the content download window before selecting an item.
16 years ago
rubidium
75055f011d
(svn r15221) -Change [FS#2574]: only show missing NewGRFs when opening the content download window from a NewGRF list and there are missing NewGRFs, otherwise show just all NewGRFs the system knows.
16 years ago
rubidium
80e59f375f
(svn r15215) -Fix: various MSVC x64 compiler warnings
16 years ago
rubidium
2f282380ef
(svn r15207) -Add: sorting to the content list.
16 years ago
rubidium
bf47489d58
(svn r15206) -Fix [FS#2567]: memory corruption due to not properly cleanup up the mess when cancelling a download
16 years ago
rubidium
fd7063530c
(svn r15178) -Change: rename 'update' to 'upgrade' as that's a bit more clear
16 years ago
rubidium
7c5a618639
(svn r15176) -Fix [FS#2554]: querying the content server could free when resolving the hostname or connecting takes long/is timing out.
16 years ago
rubidium
32e46fc067
(svn r15154) -Fix [FS#2555] (r15126): wrong tooltip for the matrix
16 years ago
rubidium
127d80d3f5
(svn r15153) -Fix (r15126): the scrollbar's "count" wasn't always correctly set
16 years ago
rubidium
730ceecb8b
(svn r15136) -Fix (r15126): (file) name could occasionally be wider than the download window causing glitches.
16 years ago
rubidium
2ce42873d1
(svn r15134) -Fix (r15126): not selecting dependencies when pressing "select update"
16 years ago
rubidium
72b0341ed0
(svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
16 years ago