Commit Graph

43 Commits

Author SHA1 Message Date
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
alberth 4ef012abfa (svn r16970) -Codechange: Transparency window uses nested widgets only. 2009-07-27 21:16:13 +00:00
alberth 2d673309e7 (svn r16969) -Codechange: Normalizing transparency gui widget numbers. 2009-07-27 20:46:50 +00:00
smatz 6afce484bb (svn r16373) -Codechange: use () instead of (void) for functions without parameters 2009-05-21 22:43:25 +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 c8b495fb38 (svn r16017) -Codechange: Added nested widgets to transparency settings window. 2009-04-10 16:31:29 +00:00
alberth f663b77dbb (svn r16016) -Codechange: Moving the TransparencyToolbarWidgets outside the window class. 2009-04-10 16:24:12 +00:00
alberth 5bac7a339f (svn r16015) -Codechange: Completing the TransparencyToolbarWidgets enum. 2009-04-10 16:20:54 +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
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
belugas d130ff3889 (svn r14419) -Codechange: adding two digits for no obvious reason (nor comment), plus code style Infringement. 2008-09-30 16:50:25 +00:00
peter1138 b7e64bb5a6 (svn r13890) -Codechange: Simplify drawing of invisibilty buttons in the transparency gui -- the real widgets above already have coordinates so there is no need to hardcode them again. As an added bonus the invisibility buttons now line up properly. 2008-07-31 05:47:29 +00:00
belugas 1cd0aa4b74 (svn r13889) -Codechange: Replace numbers with Colours enum on transparency gui.
-Fix: "true" is not a color.  COLOUR_PALE_GREEN should look better, at least in the code ;)
2008-07-31 03:13:35 +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
rubidium dddfaaac7d (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 2008-05-13 14:43:33 +00:00
belugas 3982160f50 (svn r13063) -Fix(13062): Removal of old handler was not followed by removal in descriptor 2008-05-13 00:46:04 +00:00
belugas 6c0d2b9132 (svn r13062) -Codechange: make a class of the TransparencyToolbar. 2008-05-13 00:37:29 +00:00
rubidium 23fc96c3e8 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 2008-05-08 11:50:34 +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
smatz febc5150c9 (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 2008-04-03 19:55:40 +00:00
peter1138 3bba6e4abd (svn r12319) -Cleanup: Comment fixes (Roujin) 2008-02-29 13:57:50 +00:00
smatz 8a768652c8 (svn r12103) -Feature(tte): separate catenary transparency settings from building transparency settings 2008-02-10 15:53:26 +00:00
maedhros 4e839aacf6 (svn r12102) -Feature: Allow locking individual transparency settings so they will not be changed by pressing 'x'. (Roujin) 2008-02-10 14:49:44 +00:00
belugas caf7e8655c (svn r12022) -Revert(r12018): Invisible trees are now separate from the building concept.
So when you want invisible trees, just select the option of the same name in the Patch Options and toggle transparency of trees.
More to come on the saga of Invisibility. So stay tuned.
2008-01-30 17:36:28 +00:00
belugas 94aa04948c (svn r12018) -Fix(FS#1721,r9563): Restore initial intent on the invisible tree while transparent building patch setting 2008-01-30 03:34:24 +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
rubidium 0e517fe023 (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 2008-01-09 09:45:45 +00:00
rubidium e5e75bd8f8 (svn r11719) -Codechange: split sound.h in a header with types and one with functions. 2007-12-29 09:24:26 +00:00
rubidium 429521a7d1 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 2007-12-25 11:26:07 +00:00
rubidium 8f0e68285b (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 2007-12-22 23:30:28 +00:00
rubidium d582aea639 (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. 2007-12-19 20:45:46 +00:00
rubidium 8896bea306 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 2007-12-19 19:44:29 +00:00
rubidium 527b72749d (svn r11555) -Codechange: use the new members introduced in r11551. 2007-12-02 14:29:48 +00:00
belugas f55fdfb7c4 (svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only.  The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-10 01:17:15 +00:00
rubidium c03cb2c8db (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. 2007-07-27 12:49:04 +00:00
truelight 56eb1738ee (svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh) 2007-06-21 16:17:47 +00:00
maedhros d098e88035 (svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files. 2007-05-08 14:28:55 +00:00
peter1138 e0a276c1a2 (svn r9812) -Fix (r9679): Obiwan prevented proper display of last transparency button. 2007-05-07 20:25:20 +00:00
belugas 15a2c71a01 (svn r9679) -Codechange: use enums to identify transparency widgets and add a bit of documentation (patch by Wolf01) 2007-04-19 18:51:40 +00:00
peter1138 a2cec54c9d (svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01. 2007-04-05 07:49:04 +00:00