Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-08-29 | (svn r6227) -Codechange: added window type flags to use with PlayerVehWndProc | bjarni | |
this makes the list type detection much easier and allowed an if cascade to be turned into a switch case this also makes it easier to add more list types | |||
2006-08-29 | (svn r6215) -Codechange: [vehicle list windows] unified ↵ | bjarni | |
Player(vehicle)WndProc into PlayerVehWndProc Those 4 unified functions were really much alike, so there was no reason to have so much dublicated code | |||
2006-08-28 | (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else ↵ | rubidium | |
{' -> '} else {', tabs between code and comment, etc. | |||
2006-08-28 | (svn r6181) -Fix r6161: The list of vehicles using a certain station got a ↵ | bjarni | |
bit of display code mixed up with the list of vehicles with shared orders (nycom) | |||
2006-08-27 | (svn r6168) -Code cleanup r6161: removed a newline and added a tab. Thanks ↵ | bjarni | |
TrueLight | |||
2006-08-27 | (svn r6167) -Code cleanup r6161: replaced some uint16 with OrderID and (1 << ↵ | bjarni | |
8) with SHARE_FLAG | |||
2006-08-27 | (svn r6165) -Feature: control click Goto Depot will now make the vehicle service | bjarni | |
at the depot and leave right away. To tell the difference the status of stopping vehicles will be in red, while servicing vehicles will be green. -Codechange: remove some dead code in CmdSendAircraftToHangar() since it is conflicting with new functionality. Now p2 means the same for all types | |||
2006-08-26 | (svn r6161) -Feature: List of vehicles with the same shared orders | bjarni | |
the list is available in the orders window and looks like the list buttons from the station windows (small vehicle) The button is disabled if the vehicle do not have any shared orders or it got shared orders, but an empty order list based on a patch by nycom, thought it ended up getting heavily modified Thanks to TrueLight for proofreading and suggestions | |||
2006-08-26 | (svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore) | truelight | |
-Codechange: introduced DestinationID, which is in fact an union of several types Used in Order struct, so no longer StationID is abused for all targets. Hangars are a big exception, as they use a station-id with GOTO_DEPOT (go figure) | |||
2006-08-22 | (svn r6046) CodeChange : Rename WWT_5 Widget type to WWT_LABEL : a centered ↵ | belugas | |
label CodeChange : Move almost all fixed strings from ON_PAINT event to Widget array using WWT_LABEL. Feature : All "Select Refit Cargo" are now centered, instead of been left aligned | |||
2006-08-22 | (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. ↵ | rubidium | |
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. | |||
2006-08-20 | (svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant. | rubidium | |
2006-08-19 | (svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for ↵ | truelight | |
textboxes to only allow certain patterns (like numbers only) | |||
2006-08-16 | (svn r5926) -Codechange: make _cur_year contain the full year, instead of ↵ | rubidium | |
the offset since 1920 -Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year | |||
2006-08-15 | (svn r5918) -Cleanup: rename ConvertDayToYMD/ConvertYMDToDay as they really ↵ | rubidium | |
convert a Date to/from a YearMonthDay. -Cleanup: swap ConvertDateToYMD's parameters to make the order consistent with the name of the function. | |||
2006-08-15 | (svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and ↵ | rubidium | |
BASE_YEAR when comparing _cur_year with a 'full' year. -Cleanup: replace some magic '1920' values with BASE_YEAR. | |||
2006-08-15 | (svn r5910) Fix some more warnings on MSVC by using (void*) casts. Followup ↵ | Darkvater | |
of r5907. | |||
2006-08-14 | (svn r5894) Remove a totally unnecessary indirection in the vehicle sorter ↵ | tron | |
code. Less code, less data, simply better | |||
2006-08-14 | (svn r5887) -Cleanup: move date related functions, defines and variables to ↵ | rubidium | |
date.[ch] -Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments | |||
2006-08-09 | (svn r5820) - NewGRF: Add support for extra vehicle text in the purchase ↵ | peter1138 | |
list for road vehicles, aircraft and ships. | |||
2006-07-26 | (svn r5609) CodeChange : Apply coding style | belugas | |
2006-07-22 | (svn r5595) Show all aircraft in the dry-run build window of the global ↵ | tron | |
aircraft list again | |||
2006-07-22 | (svn r5594) Be more strict what's allowed to be built in a hangar: if the ↵ | tron | |
airport can't handle planes/helicopters don't present and disallow building planes/helicopters - the latter case wasn't covered yet. Also remove an error message about building aircraft which can't be triggered by a normal client | |||
2006-07-19 | (svn r5519) Fix: Only list helicopters in the new build window of helidepots ↵ | richk | |
and helistations.Suggested by peter1138 & Tron. Demanded under threat of removal by Tron; no thanks given. Last commit from here. Got better things to do with life. | |||
2006-06-27 | (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular | tron | |
2006-06-22 | (svn r5336) - NewGRF: draw custom helicopter rotor sprites in vehicle info ↵ | peter1138 | |
window, ensuring the correct direction is used (inspiration from mart3p) | |||
2006-06-11 | (svn r5225) Some windows periodically check if their parent exists - if not ↵ | tron | |
they close themselves This is unnecessary, because their parents already close them when they get closed Therefore remove the code for the periodic checks | |||
2006-06-09 | (svn r5186) - NewGRF: show default aircraft cargo type and the purchase list ↵ | peter1138 | |
(mart3p) | |||
2006-06-05 | (svn r5124) Add IsAircraftInHangar{Stopped,}(), which supersedes ↵ | tron | |
CheckStoppedInHangar() -Fix: Be more strict what it means for an aircraft to be in a hangar: It's not just being stopped on a hangar tile | |||
2006-06-04 | (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. ↵ | tron | |
_new_vehicle_id is enough. | |||
2006-05-21 | (svn r4943) uint tile -> TileIndex tile, byte player -> PlayerID player | tron | |
2006-05-21 | (svn r4940) Remove the dubious feature of remembering the last built depot. ↵ | tron | |
It serves no real purpose except causing confusion | |||
2006-05-03 | (svn r4709) - Codechange: avoid messing around with globals, magic numbers ↵ | peter1138 | |
and literal strings by using a string ID, when drawing the small right arrow for the small order lists (aircraft and ships) | |||
2006-04-10 | (svn r4342) Change the first two parameters of commands - virtual pixel ↵ | tron | |
coordinates of the tile to operate on - to a TileIndex Remove DoCommandByTile(), because now it does the same as DoCommand() | |||
2006-04-08 | (svn r4322) - Codechange: Remove conversion of kmh to mph from gui code to ↵ | peter1138 | |
within the units conversion system, in string.c. This means displaying kmh requires no conversion, instead of being convert from kmh to mph, and then back to kmh again. | |||
2006-03-26 | (svn r4120) Use the new station functions where appropriate | tron | |
2006-03-24 | (svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the ↵ | tron | |
station from a tile | |||
2006-03-08 | (svn r3783) Replace further ints and magic numbers by Direction, ↵ | tron | |
DiagDirection and friends | |||
2006-02-20 | (svn r3631) - 2cc: Remove use of some temporary variables and perform minor ↵ | peter1138 | |
optimization in the form of the ternary operator. | |||
2006-02-20 | (svn r3620) - 2cc: Replace use of macro to determine colour map with a ↵ | peter1138 | |
function call for drawing of vehicles. | |||
2006-02-11 | (svn r3588) - Refit: Use only one global to return the refit capacity rather ↵ | peter1138 | |
than one per vehicle type. | |||
2006-02-03 | (svn r3524) - Split newgrf features from engine.[ch] into ↵ | peter1138 | |
newgrf_engine.[ch], and add the new files to project files. | |||
2006-02-02 | (svn r3520) Remove unused parameters from some functions | tron | |
2006-02-01 | (svn r3511) More whitespace ([FS#46] by Rubidium) | tron | |
2006-01-05 | (svn r3367) Unify the 4 distinct ↵ | tron | |
CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command. As side effect this is a -Fix: The default AI tried to change the service intervals of vehicles via the CMD_CHANGE_TRAIN_SERVICE_INT command - regardless of the type of the vehicle - which of course failed for non-trains | |||
2005-12-29 | (svn r3354) Fix a typo, which survived for about 3000 revisions: ↵ | tron | |
s/SRT_SORT_BY/STR_SORT_BY/ (noticed by chu) | |||
2005-12-27 | (svn r3346) - Increase size of aircraft refit window by one item; fixes "[ ↵ | peter1138 | |
1387477 ] Can't refit aircraft to carry Fizzy Drinks" | |||
2005-12-14 | (svn r3300) Remove unreachable code - in this case some duplicate breaks | tron | |
2005-12-07 | (svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect ↵ | peter1138 | |
their actual use, and add "Close Window" tooltip where missing. | |||
2005-11-15 | (svn r3189) There's a dedicated function to check if it's a hangar tile, so ↵ | tron | |
use it |