Commit Graph

96 Commits

Author SHA1 Message Date
rubidium 7aeaa4f132 (svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers 2009-09-02 08:18:54 +00:00
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 2009-08-04 18:04:33 +00:00
alberth d0a47fc1b4 (svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field. 2009-07-16 16:22:23 +00:00
alberth bc9c2e43fe (svn r16413) -Codechange: Allow leading/trailing whitespace and comma in newgrf parameters instead of treating them as invalid. 2009-05-24 12:49:27 +00:00
rubidium 9dff385c38 (svn r16304) -Codechange: remove some magic numbers from the newgrf add window so it mirrors nicely. 2009-05-13 22:51:31 +00:00
frosch ddd47a056d (svn r16223) -Fix (r8881): ActionB should use the online parameters from GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown. 2009-05-04 11:23:21 +00:00
alberth e62df0abf9 (svn r16186) -Codechange: Adding nested widgets to _newgrf_desc and _newgrf_add_dlg_desc window descriptions. 2009-04-29 20:32:11 +00:00
alberth a0e7f1647d (svn r16185) -Codechange: Moving the ShowNewGRFStateWidgets and AddNewGRFWindowWidgets widget enums outside their window structs.
-Codechange: Improvements to the _newgrf_add_dlg_widgets and _newgrf_widgets widget arrays in preparation for nested widgets.
2009-04-29 20:29:19 +00:00
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. 2009-04-21 23:40:56 +00:00
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 2009-03-29 09:49:11 +00:00
rubidium d837fc4d03 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 2009-03-21 23:45:34 +00:00
rubidium 45f189fdca (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 2009-03-21 20:12:12 +00:00
rubidium 93fe44a3c5 (svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier. 2009-03-21 19:31:47 +00:00
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 2009-03-15 15:12:06 +00:00
rubidium c876e3e1b2 (svn r15561) -Fix [FS#2646]: segfault when saving a preset with unknown NewGRFs 2009-02-23 20:45:34 +00:00
peter1138 7cd579e7ef (svn r15311) -Fix (r15126): Obiwan error 2009-02-01 22:11:46 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
Yexo 60dc54b234 (svn r15250) -Fix (r15126): The NewGRF Settings window was 1 pixel to low. 2009-01-24 10:28:41 +00:00
rubidium aff27ca884 (svn r15245) -Fix: don't "save" the NewGRF settings on closing the NewGRF window when the content of the window isn't editable 2009-01-23 23:37:49 +00:00
rubidium aaad553233 (svn r15225) -Fix (r15126): searching for 'missing' NewGRFs gave the 'compatability loaded' NewGRF instead of the one that we're actually looking for 2009-01-23 15:06:56 +00:00
rubidium 8382b76b0f (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. 2009-01-23 10:20:29 +00:00
rubidium a46245f21f (svn r15142) -Fix (r15126): missing NewGRFs cause a crash when getting the content list. 2009-01-18 19:23:41 +00:00
rubidium 3a13b75e37 (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. 2009-01-17 16:53:32 +00:00
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 2008-09-15 16:29:40 +00:00
rubidium 0251a9c529 (svn r14310) -Fix: don't show palette information in the newgrf lists of the network lobby. 2008-09-13 12:40:31 +00:00
rubidium 6d52fce720 (svn r14299) -Fix: disable 'toggle palette' when no NewGRF has been selected. 2008-09-12 17:38:57 +00:00
rubidium a4cd12274c (svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs 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-09-03 07:51:07 +00:00
frosch 7c5d237447 (svn r14112) -Fix (r13715)[FS#2232]: Action B custom messages with parameteers were broken. 2008-08-20 19:31:35 +00:00
peter1138 aff313cd4b (svn r14009) -Cleanup (r14008): Bad whitespace... 2008-08-06 20:14:21 +00:00
peter1138 1e5175451a (svn r14008) -Fix (r14004): NewGRF preset drop down list not working 2008-08-06 20:12:42 +00:00
belugas 5bbb5721df (svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis 2008-07-31 16:42:11 +00:00
peter1138 b98deeb5cc (svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset. 2008-07-24 18:29:01 +00:00
peter1138 9a6b7a90e0 (svn r13789) -Fix (r13781): Saved preset was not automatically selected. 2008-07-22 20:52:30 +00:00
peter1138 6e0af9fdfe (svn r13781) -Feature: NewGRF presets, selected by a drop down list in the NewGRF window. Presets are saved in the config file. 2008-07-22 14:17:29 +00:00
rubidium ab234cf90c (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they 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-07-17 13:47:04 +00:00
smatz c7a9637834 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 2008-06-03 18:35:58 +00:00
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +00:00
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 2008-05-17 12:48:06 +00:00
peter1138 153acec334 (svn r13073) -Codechange: make classes of the NewGRF windows 2008-05-13 20:26:48 +00:00
rubidium f23026cce8 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 2008-05-10 08:58:52 +00:00
rubidium 2eef026fe3 (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 2008-05-08 11:31:41 +00:00
rubidium 9bf519f26b (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 2008-05-06 22:08:18 +00:00
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. 2008-05-06 15:11:33 +00:00
peter1138 ffe07b9292 (svn r12445) -Fix: Add missing compile asserts for window data structs 2008-03-27 15:48:54 +00:00
smatz bfae49aeb2 (svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script 2008-03-15 13:21:31 +00:00
peter1138 db0eb9570c (svn r12172) -Codechange: Allow buttons to resize in NewGRF settings window 2008-02-18 09:16:02 +00:00
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 2008-01-13 01:21:35 +00:00