summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
AgeCommit message (Collapse)Author
2007-11-15(svn r11440) -Codechange: replace magic numbers with enumified ↵rubidium
WindowHighlightMode constants. Patch by SmatZ.
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-09-09(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the ↵rubidium
Vehicle::first pointer correctly set.
2007-08-30(svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game ↵rubidium
state while being marked const. -Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game.
2007-07-29(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word ↵rubidium
"road" everywhere except in the tile type.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-23(svn r10664) -Codechange: simplify a small piece of code (skidd13)truelight
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-06-24(svn r10314) -Codechange: Refer to vehicle names by indexpeter1138
2007-06-20(svn r10236) -Feature: Introduce a form of timetabling for vehicles.maedhros
2007-06-17(svn r10176) -Fix (r10071): Deselect the currently selected order when ↵maedhros
clicking on an empty part of the orders window.
2007-06-08(svn r10071) -Feature [FS#828]: moving of orders (skidd13).rubidium
2007-06-05(svn r10046) -Documentation: add some documentation in order_gui (skidd13).rubidium
2007-06-04(svn r10033) -Feature [FS#760]: skip to the selected order in the order list ↵rubidium
when clicking on the "skip" button while pressing CTRL.
2007-06-01(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace ↵maedhros
individual checks depending on the vehicle type.
2007-04-18(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting ↵rubidium
tabs with spaces.
2007-03-21(svn r9390) -Documentation : correct Doxygen of comments and @file ↵belugas
inclusion. This time, brought to you by the letter O
2007-03-18(svn r9301) -Codechange: Use cargo class to determine if a road vehicle can ↵peter1138
stop in bus or truck stops.
2007-03-08(svn r9072) -Codechange: [Orders] added methods to orders to free them and ↵bjarni
check if they are in use
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
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-12(svn r8685) -Feature: selecting "end of orders" and clicking delete will ↵bjarni
delete all the vehicle's orders If the orders are shared, then it will still unshare the orders like before.
2007-02-08(svn r8637) -Fix: CTRL-clicking on a hangar in the order list segfaulted as ↵rubidium
hangars are part of a station instead of real depots.
2007-01-24(svn r8397) -Codechange: [orders window] don't move the refit button to the ↵bjarni
same location as the unload button instead assert if the widget array place them at different locations
2007-01-24(svn r8395) -Cleanup: [orders window] moved the refit button two places up, ↵bjarni
so the order of the widget array fits the placement on the screen
2007-01-24(svn r8394) -Cleanup: added an enum with widget names to the orders windowbjarni
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-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)