summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
AgeCommit message (Collapse)Author
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-31(svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail ↵frosch
consistent. Now always the cargo class decides.
2009-10-25(svn r17863) -Codechange: make the build vehicle window nestedrubidium
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
2009-10-24(svn r17850) -Codechange: remove most usage of delta on OnResizerubidium
2009-10-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-06(svn r17729) -Cleanup: Deduplicate some code.frosch
2009-10-06(svn r17728) -Cleanup: Remove some more unneeded/unused parameters.frosch
2009-10-06(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when ↵frosch
a Engine * is already present.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-13(svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDsrubidium
2009-09-07(svn r17446) -Codechange: rename BUILD with BUY for strings that are about ↵rubidium
building (in the future buying) vehicles.
2009-09-02(svn r17367) -Codechange: make the autoreplace, bridge and build vehicle ↵rubidium
GUIs use the scrollbar wrappers
2009-08-30(svn r17325) -Codechange: Un-duplicate engine drawing routines.alberth
2009-08-27(svn r17292) -Codechange: use unified ToPercent() function to convert fract ↵smatz
numbers to percents
2009-08-23(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/falserubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-23(svn r16930) -Codechange: more StringID name unification and groupingrubidium
2009-07-22(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the ↵rubidium
setting of the error message to a single place
2009-07-22(svn r16921) -Codechange: make it more clear what strings are related to ↵rubidium
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22(svn r16920) -Codechange: shuffle some strings around to simplify looking up ↵rubidium
vehicle type specific strings for a specific message
2009-07-22(svn r16919) -Codechange: unify some more StringID w.r.t. their namingrubidium
2009-07-16(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all ↵smatz
valid CargoSpecs
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16845) -Codechange: Introduction of constants for describing the bits ↵alberth
in a WWT_MATRIX data field.
2009-06-27(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a ↵frosch
CargoArray instead of a pointer to a static array.
2009-06-24(svn r16648) -Codechange: move some more includes aroundyexo
2009-06-24(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to ↵yexo
prevent unnecessary inclusion newgrf.h anyway
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-16(svn r16581) -Codechange: unify the access to Engine::lifelength.rubidium
2009-05-22(svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and ↵frosch
make it static.
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-21(svn r16110) -Codechange: use {CARGO} instead hardcoded cargo name (there is ↵frosch
always something duplicated :p)
2009-04-12(svn r16044) -Fix (r16042): Win compilation. (Swallow)frosch
2009-04-12(svn r16042) -Feature [FS#1941]: Allow filtering of vehicle purchase lists ↵frosch
by cargo. Based on patch by sbr.
2009-04-12(svn r16038) -Codechange: Remove BuildVehicleWindow::regenerate_list in ↵frosch
favor of the GUIList flag.
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-25(svn r15850) -Codechange: replace some magic constants with the less magic ↵rubidium
line height constant
2009-03-22(svn r15820) -Codechange: Some windows using nested widgetsalberth
2009-03-22(svn r15809) -Codechange: Add name comments to build vehicle widgetsalberth
2009-03-22(svn r15807) -Codechange: let the build vehicle gui helper function pass ↵rubidium
around left and right instead of only left and assuming infinite width.
2009-03-21(svn r15785) -Codechange: remove the *Truncated part of the old text drawing ↵rubidium
API.
2009-03-21(svn r15778) -Fix [FS#2749] (r15666): when sorting on cost don't sort on the ↵rubidium
running cost (sbr)
2009-03-18(svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and ↵frosch
use it everywhere, so CB 36 is also used everywhere.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)