summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
AgeCommit message (Collapse)Author
2009-01-18(svn r15142) -Fix (r15126): missing NewGRFs cause a crash when getting the ↵rubidium
content list.
2009-01-17(svn r15126) -Feature: downloading content from a central server ↵rubidium
(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.
2008-09-15(svn r14331) -Codechange: use an enum as additional parameter for ↵smatz
ShowQueryString()
2008-09-13(svn r14310) -Fix: don't show palette information in the newgrf lists of the ↵rubidium
network lobby.
2008-09-12(svn r14299) -Fix: disable 'toggle palette' when no NewGRF has been selected.rubidium
2008-09-03(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs ↵rubidium
in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
2008-08-20(svn r14112) -Fix (r13715)[FS#2232]: Action B custom messages with ↵frosch
parameteers were broken.
2008-08-06(svn r14009) -Cleanup (r14008): Bad whitespace...peter1138
2008-08-06(svn r14008) -Fix (r14004): NewGRF preset drop down list not workingpeter1138
2008-07-31(svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order ↵belugas
and osk guis
2008-07-24(svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when ↵peter1138
changing GRF preset.
2008-07-22(svn r13789) -Fix (r13781): Saved preset was not automatically selected.peter1138
2008-07-22(svn r13781) -Feature: NewGRF presets, selected by a drop down list in the ↵peter1138
NewGRF window. Presets are saved in the config file.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
were printed, otherwise the text could change due to the few number of slots that could be used to bind. -Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-06-03(svn r13375) -Add: logging of actions that could possibly cause desyncs and ↵smatz
crashes to simplify debugging. See readme.txt for details
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-13(svn r13073) -Codechange: make classes of the NewGRF windowspeter1138
2008-05-10(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove ↵rubidium
the need for WE_ON_EDIT_TEXT_CANCEL.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-03-27(svn r12445) -Fix: Add missing compile asserts for window data structspeter1138
2008-03-15(svn r12368) -Codechange: use explicit body for loops and conditions and ↵smatz
remove -Wno-empty-body from the configure script
2008-02-18(svn r12172) -Codechange: Allow buttons to resize in NewGRF settings windowpeter1138
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-14(svn r11631) -Fix (r11585, r11626): remove MSVC warningsglx
2007-12-07(svn r11585) -Codechange: Enumify the widgets of the newGRF gui and a slight ↵skidd13
cleanup there
2007-12-06(svn r11579) -Revert(r11578): some cases of key propagation are not handled ↵belugas
correctly. A better solution will be deviced, but not now. Let's not cause a ton of bug reports
2007-12-06(svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY ↵belugas
which specifies that the window holding it is actually one that enables an edit box. Use this flag when dispatching a key event instead of using some hard coded window IDs. This should ease a little bit the creation of new edit aware windows.
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-15(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of ↵rubidium
the box. -Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5. -Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5. Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-10-21(svn r11329) -Fix: if a NewGRF failed to load for some reason (like fatal ↵rubidium
errors), but it was a "compatible" NewGRF, it was shown with the compatible colour and not the not-loaded colour in the NewGRF list.
2007-10-16(svn r11272) -Codechange: Truncate text describing the grf file in the ↵belugas
NewGrf settings gui
2007-10-05(svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when ↵rubidium
being resized.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-06-23(svn r10298) -Fix [FS#903]: show the subdirectory below the default data ↵rubidium
directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
2007-06-22(svn r10267) -Add: enable double clic to add in 'add newgrf' windowglx
2007-06-18(svn r10211) -Feature: [NewGRF] Add support for action 0Fglx