summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
AgeCommit message (Collapse)Author
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).rubidium
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-18(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type ↵rubidium
strictness.
2007-05-15(svn r9841) -Codechange: add a little more type strictness to the vehicle types.rubidium
2007-04-18(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting ↵rubidium
tabs with spaces.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-18(svn r9665) -Documentation: Doxygen corrections,errors, corrections of ↵belugas
corrections...
2007-04-04(svn r9559) -Documentation: doxygen and comment changes: 'U' and 'V' now. ↵belugas
Almost done. Yeah. I know, I've already said that...
2007-03-21(svn r9388) -Codechange: variable scope and type, and standardify all ↵peter1138
CargoID loops.
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-24(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo ↵peter1138
mapping is now dealt with only in NewGRF code, on load where possible.
2007-02-22(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping ↵peter1138
tables with dynamically generated data. Change associated code to use new functions.
2007-02-20(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular ↵peter1138
struct array (with accessor) and implement new initialization method using cargo labels.
2007-02-17(svn r8786) -Cleanup: replaced a switch-case to get the right refit command ↵bjarni
for a certain vehicle type. We have a function to do that
2007-02-07(svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that ↵bjarni
VEH_Train is 0, VEH_Road is 1 and so on This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places) Surprisingly this can be done without changing the savegame format
2007-02-01(svn r8514) -Codechange: Turn IsBuoy into a method of stationscelestar
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-01-26(svn r8421) -Codechange (r8420): rename STR_AVAILABLE_VEHICLES to ↵Darkvater
STR_AVAILABLE_ROAD_VEHICLES for clarificaton (Tron)
2007-01-26(svn r8420) -Codechange (r7418): Rename the 'New <vehtype>' button of the ↵Darkvater
global vehicle lists to 'Available <vehtype>' as it is a view-only list, not one from which you can purchase (rolling) stock.
2007-01-23(svn r8371) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a ↵bjarni
file of it's own Note: it's the same as r8363, only this time the svn history of autoreplace should be preserved
2007-01-23(svn r8370) -Revert (r8363): the autoreplace GUI move cleared the file historybjarni
2007-01-23(svn r8363) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a ↵bjarni
file of it's own
2007-01-22(svn r8349) -Codechange: replaced CMD_REFIT_VEH() and similar defines with ↵bjarni
real static inline functions
2007-01-22(svn r8338) -Codechange: merged road vehicle build window into the other onesbjarni
Note: now all build vehicle windows are merged into build_vehicle_gui.cpp
2007-01-22(svn r8335) -Feature: the build ship window is now also resizable ↵bjarni
horizontally and contains sorting options -Codechange: the build ship window is merged into build_vehicle_gui.cpp
2007-01-21(svn r8331) -Feature: the train and aircraft build windows are now resizable ↵bjarni
in horizontal direction as well -Codechange: merged train and aircraft build window code
2007-01-21(svn r8303) -Codechange (r8293): default is moved to the front of the switch ↵bjarni
in ShowVehicleListWindowLocal()
2007-01-21(svn r8295) -Cleanup: merged arguments station, order and ↵bjarni
depot_airport_index for GenerateVehicleSortList() and BuildVehicleList() into one uint16 argument It turned out that all 3 arguments were the same at all the places those functions are called, so there was no point in having more than one
2007-01-21(svn r8293) -Codechange: overloaded ShowVehicleListWindow() so it can open ↵bjarni
all types of vehicle lists (depending on arguments) - Also removed some unneeded arguments - this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)