Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-02 | (svn r9770) -Codechange: perform the payment of cargo when ↵ | rubidium | |
loading/unloading, but when arriving at the station. | |||
2007-05-01 | (svn r9760) -Codechange: remove the need for saving some vehicle variables. | rubidium | |
2007-04-29 | (svn r9755) -Codechange: refactor some more of the begin loading stuff. | rubidium | |
2007-04-29 | (svn r9754) -Codechange: make classes for all vehicle types, so we can make ↵ | rubidium | |
nicer/better maintainable code, i.e. virtual methods instead of switches. | |||
2007-04-29 | (svn r9752) -Codechange: remove some duplication related to BeginLoading. | rubidium | |
2007-04-29 | (svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, ↵ | maedhros | |
hopefully for good this time. | |||
2007-04-28 | (svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by ↵ | truelight | |
removing an order at the wrong moment | |||
2007-04-20 | (svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station ↵ | maedhros | |
is sent to a depot. | |||
2007-04-18 | (svn r9672) -Cleanup: lots of coding style fixes around operands. | rubidium | |
2007-04-17 | (svn r9664) -Documentation: Doxygen corrections,errors and omissions | belugas | |
2007-04-12 | (svn r9609) -Codechange: Move some function prototypes out of functions.h ↵ | maedhros | |
and into landscape.h, and add a few where they didn't exist. | |||
2007-04-02 | (svn r9543) -Fix [FS#691]: Split up STR_ENGINE_NOT_BUILDABLE into four ↵ | maedhros | |
strings so it can be translated properly and remove "buildable", since it isn't actually a word. | |||
2007-03-28 | (svn r9523) -Cleanup: doxygen changes. Time to take care of "R" | belugas | |
2007-03-22 | (svn r9400) -Codechange: Use some more representative enum names for ↵ | belugas | |
landscape types. | |||
2007-03-18 | (svn r9303) -Codechange: Use cargo class when counting passengers in a road ↵ | peter1138 | |
vehicle crash, and when loading aircraft. | |||
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-16 | (svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type... | peter1138 | |
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-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-28 | (svn r8946) -Feature: [NewGRF] Add support for vehicle variables 0xFE and ↵ | maedhros | |
0xFF bit 10, which is set when a vehicle was built during the exclusive testing phase. | |||
2007-02-28 | (svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can ↵ | maedhros | |
be used for more than just the gradual loading status. | |||
2007-02-25 | (svn r8897) -Fix | tron | |
Change the signature of GetNewVehiclePos(): -void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); +GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v); | |||
2007-02-24 | (svn r8884) -Fix | tron | |
Replace SetSpeedLimitOnBridge() by something simpler | |||
2007-02-23 | (svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some ↵ | rubidium | |
directions (mart3p). | |||
2007-02-14 | (svn r8735) -Feature: drive-through road stops made possible by the hard ↵ | rubidium | |
work of mart3p. | |||
2007-02-14 | (svn r8730) -Codechange: more replacements of magic numbers by enums and ↵ | rubidium | |
removal of some (by now) redundant comments. | |||
2007-02-14 | (svn r8726) -Codechange: bools are 1 or 0 according to the C++ standard and ↵ | rubidium | |
refactor RoadStop::AllocateBay to remove a loop condition. Suggestions by Tron. | |||
2007-02-14 | (svn r8725) -Fix (r8712): test the first bit of the bitmask, not the nth, as ↵ | rubidium | |
we are shifting the bitmask. | |||
2007-02-14 | (svn r8723) -Codechange: replace yet another couple of magic numbers with enums. | rubidium | |
2007-02-14 | (svn r8721) -Fix (8715): road vehicles could not turn around properly | rubidium | |
2007-02-13 | (svn r8715) -Codechange/cleanup: replace magic numbers related to state of ↵ | rubidium | |
road vehicles with enums. Original patch by mart3p. | |||
2007-02-13 | (svn r8712) -Codechange/cleanup: replace 'magic' constants with enums, use ↵ | rubidium | |
proper types instead of byte, uint etc., give variables more descriptive names and add some comments. | |||
2007-02-13 | (svn r8698) -Codechange: enumify the returns of VehicleEnterTile | rubidium | |
2007-02-13 | (svn r8694) -Codechange: make RoadStop's status accessible via accessor ↵ | rubidium | |
functions. | |||
2007-02-12 | (svn r8692) -Cleanup: add comments to RoadVehController. Patch by mart3p. | rubidium | |
2007-02-06 | (svn r8610) -Codechange/Feature: rewrote the list handling in the ↵ | bjarni | |
autoreplace window -The user will notice the following changes: All vehicle types behaves in the same way Adding/removing an engine (new design and so on) can no longer result in the window selecting a new engine All valid replacements will be displayed since it looks at refitting options as well (this solves the missing ships with the newships GRF) Since you can't replace an engine into itself, the engine selected in the left list will no longer appear in the right list -The code changes: Instead of looping all engines all the time, each list generates a list like the build windows This ensures consistent list generation since only one function can loop all engines Unified code for all vehicle types It now use the lists to call the drawing code in the build vehicle window Works on selected EngineIDs instead of selected index in the list | |||
2007-02-06 | (svn r8609) -Fix: a road vehicle that is very close after another (slower) ↵ | rubidium | |
road vehicle gets its speed reset to 0 when entering a tunnel, which causes a traffic jam outside of the tunnel. | |||
2007-02-03 | (svn r8550) -Fix | tron | |
Building a vehicle does not involve allocating orders, so do not check whether orders could be allocated | |||
2007-02-02 | (svn r8538) -Fix | tron | |
GetRoadStopByTile() cannot return NULL. Remove therefore unnecessary check | |||
2007-02-02 | (svn r8536) -Fix (FS#577): Road Vehicles now can obtain a slot even if the ↵ | celestar | |
station is very spread out | |||
2007-01-31 | (svn r8474) -Fix | tron | |
Turn GetPrimaryRoadStop() into a method of struct Station | |||
2007-01-26 | (svn r8425) -Fix | tron | |
Do not try to invalidate a window which just got deleted. It is pointless | |||
2007-01-26 | (svn r8424) -Fix | tron | |
Do not call ClearSlot() just before calling DeleteVehicle(), which does it too | |||
2007-01-25 | (svn r8402) -Codechange: Move RoadStop-specific enums to the RoadStop class, ↵ | celestar | |
and changed a one-member enum into a static const. Simplify their naming and add some doxygen-comments to RoadStop | |||
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-13 | (svn r8110) -Codechange: direct Vehicle::current_order.type changes (to ↵ | KUDr | |
OT_LOADING and OT_LEAVESTATION) replaced by v->BeginLoading() and v->LeaveStation() calls. This should allow easy hooking of those state transitions in order to maintain vehicle loading queue. | |||
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) |