log src/engine_gui.cpp @ 11635:858d735ef724 draft

age author description
Sat, 28 Mar 2009 13:35:07 +0000 alberth (svn r15878) -Codechange: New widgets for the engine preview window. draft
Sun, 22 Mar 2009 09:34:06 +0000 rubidium (svn r15803) -Codechange: use the new text drawing API for multicenter draft
Sun, 22 Mar 2009 00:15:00 +0000 rubidium (svn r15800) -Codechange: make the engine gui use the new multiline API. draft
Sat, 21 Mar 2009 22:00:00 +0000 rubidium (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. draft
Sat, 21 Mar 2009 20:39:37 +0000 rubidium (svn r15786) -Codechange: enumify the engine preview widgets (and use them) draft
Wed, 18 Mar 2009 19:32:13 +0000 frosch (svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere. draft
Sun, 15 Mar 2009 15:12:06 +0000 rubidium (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) draft
Fri, 13 Mar 2009 23:49:12 +0000 frosch (svn r15705) -Fix: Do not show passenger-/mail-capacity if the aircraft carries only cargo. draft
Tue, 10 Mar 2009 21:17:00 +0000 rubidium (svn r15666) -Fix [FS#2689]: sorting of engines in the purchase list didn't use the same numbers as the GUI showed, e.g. articulated parts weren't taken into accound when ordering by capacity. draft
Sat, 21 Feb 2009 12:52:41 +0000 frosch (svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, which cannot accept CT_INVALID. draft
Mon, 09 Feb 2009 02:57:15 +0000 rubidium (svn r15428) -Codechange: consistently use colour instead of having both color and colour. draft
Wed, 04 Feb 2009 16:59:41 +0000 rubidium (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. draft
Sun, 01 Feb 2009 16:10:06 +0000 frosch (svn r15306) -Codechange: Deduplicate code by adding Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them) draft
Sat, 31 Jan 2009 20:16:06 +0000 smatz (svn r15299) -Cleanup: remove many redundant includes draft
Sun, 25 Jan 2009 00:57:03 +0000 glx (svn r15263) -Codechange: added Engine::GetCost() to remove some code duplication. draft
Sat, 24 Jan 2009 20:14:15 +0000 glx (svn r15261) -Add: added Engine::GetRunningCost() to remove some code duplication. Also stops AIs decrementing vehicle counter of first company draft
Sun, 28 Dec 2008 14:37:19 +0000 rubidium (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. draft
Sun, 24 Aug 2008 21:31:24 +0000 peter1138 (svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs. draft
Fri, 15 Aug 2008 17:54:43 +0000 peter1138 (svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is. draft
Wed, 30 Jul 2008 16:13:58 +0000 belugas (svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui draft
Sat, 26 Jul 2008 22:00:59 +0000 frosch (svn r13844) -Fix (r13074, r13591): Power, running cost and capacity of multiheaded engines were (too often) doubled in newspaper resp. offer window. draft
Sat, 28 Jun 2008 15:44:24 +0000 frosch (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. draft
Fri, 20 Jun 2008 07:23:00 +0000 peter1138 (svn r13591) -Codechange: Support CB36 in the vehicle offer window. draft
Wed, 28 May 2008 20:06:00 +0000 peter1138 (svn r13315) -Fix (r13314): Assert if no engines or wagons available draft
Wed, 28 May 2008 17:29:27 +0000 peter1138 (svn r13314) -Codechange: Switch EngineList from std::vector to GUIList draft
Tue, 27 May 2008 12:24:23 +0000 peter1138 (svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp draft
Fri, 23 May 2008 23:02:13 +0000 peter1138 (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots draft
Mon, 19 May 2008 09:48:47 +0000 rubidium (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. draft
Sun, 18 May 2008 20:49:22 +0000 rubidium (svn r13170) -Codechange: make classes of the EnginePreview and BuyCompany windows. draft
Sat, 17 May 2008 12:48:06 +0000 rubidium (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. draft
Thu, 15 May 2008 13:47:55 +0000 rubidium (svn r13102) -Codechange: make a class of the NewsWindow. draft
Tue, 13 May 2008 10:17:04 +0000 rubidium (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan. draft
Thu, 08 May 2008 11:50:34 +0000 rubidium (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. draft
Tue, 06 May 2008 21:28:30 +0000 rubidium (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. draft
Tue, 06 May 2008 15:11:33 +0000 rubidium (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. draft
Tue, 29 Apr 2008 21:31:29 +0000 peter1138 (svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist. draft
Mon, 31 Mar 2008 00:17:39 +0000 rubidium (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. draft
Fri, 28 Mar 2008 08:53:36 +0000 rubidium (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. draft
Thu, 21 Feb 2008 19:09:10 +0000 peter1138 (svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it. draft
Wed, 20 Feb 2008 20:56:54 +0000 peter1138 (svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to running_cost, inline with other vehicle types (It is the factor, not the base) draft
Sun, 13 Jan 2008 01:21:35 +0000 rubidium (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. draft
Wed, 09 Jan 2008 09:45:45 +0000 rubidium (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. draft
Tue, 25 Dec 2007 11:26:07 +0000 rubidium (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' draft
Sat, 22 Dec 2007 23:30:28 +0000 rubidium (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. draft
Fri, 21 Dec 2007 21:50:46 +0000 rubidium (svn r11677) -Codechange: move price and command related types/functions to their respective places. draft
Fri, 21 Dec 2007 19:49:27 +0000 rubidium (svn r11675) -Codechange: split the string types from the string functions. draft
Wed, 19 Dec 2007 20:45:46 +0000 rubidium (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. draft
Wed, 19 Dec 2007 19:44:29 +0000 rubidium (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. draft
Sun, 04 Nov 2007 00:08:57 +0000 belugas (svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call. draft
Sat, 20 Oct 2007 14:51:09 +0000 rubidium (svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo. draft
Fri, 27 Jul 2007 12:49:04 +0000 rubidium (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. draft
Mon, 16 Jul 2007 09:16:58 +0000 rubidium (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h draft
Mon, 25 Jun 2007 14:46:32 +0000 peter1138 (svn r10324) -Codechange: reference engine names by index draft
Thu, 21 Jun 2007 17:25:17 +0000 rubidium (svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s. draft
Thu, 21 Jun 2007 14:54:51 +0000 rubidium (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string. draft
Sun, 18 Mar 2007 10:37:22 +0000 celestar (svn r9275) -Fix(r8973, FS#686): Faulty display of aircraft maximum velocity in the news item for new vehicles draft
Thu, 08 Mar 2007 16:27:54 +0000 rubidium (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). draft
Wed, 07 Mar 2007 12:11:48 +0000 rubidium (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; draft
Sat, 03 Mar 2007 22:03:15 +0000 rubidium (svn r9001) -Codechange: remove duplication of functions and strings with respect to the news of new vehicles. draft
Sat, 03 Mar 2007 20:43:52 +0000 rubidium (svn r9000) -Fix [FS#581, r2572]: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive". draft