Commit Graph

617 Commits (66487d59fd5fdeb253361865cb4322347b0b18fb)

Author SHA1 Message Date
rubidium 66487d59fd (svn r8949) -Codechange: only test the first NETWORK_REVISION_LENGTH - 1 characters when determining network compatability. This makes it possible to have 'long' branch names while still being able to play network games. 18 years ago
maedhros 469fbc912c (svn r8946) -Feature: [NewGRF] Add support for vehicle variables 0xFE and 0xFF bit 10,
which is set when a vehicle was built during the exclusive testing phase.
18 years ago
maedhros aadd8a4b44 (svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status. 18 years ago
maedhros f865f0a445 (svn r8944) -Codechange: Move the enum describing the bitmask of Engine.flags to engine.h and give the enum values better names. 18 years ago
maedhros 8108cbbe3c (svn r8943) -Fix (r5338): [NewGRF] Fix support for vehicle variable 48, which just returns Engine[id].flags 18 years ago
rubidium 4908115355 (svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType. 18 years ago
KUDr fbd6a88d02 (svn r8933) -Fix [Win64]: rdtsc now uses intrinsic on VC8 (michi_cc) 18 years ago
rubidium 8877ef7478 (svn r8921) -Fix (FS#654): several issues related to removing all orders from an aircraft and removing the airport it was heading:
- the aircraft would go to (0, 0) and circle there. Clicking the 'eye' to jump to the aircraft in the main window could cause a segmentation fault.
 - when rebuilding an airport with the StationID of the old airport could crash as the FTA state of the aircraft is higher than the number of states of the new airport, causing a crash of all clients and the server when assertions are enabled.
 - when rebuilding an airport with the StationID of the old airport can bring the aircraft in a state where is keeps circling the airport.
To solve these issues all aircraft without a valid order will try to go to the nearest hangar it can safely get to (large jets do not land on small airports). If there is no hangar to go to, the airplane crashes (out of fuel).
18 years ago
Darkvater 8eced44506 (svn r8920) -Codechange: Do not require to press 'Apply changes' in the newgrf GUI if the changes in there are not activated (this happens in the title screen) 18 years ago
Darkvater c5e59b8a61 (svn r8919) -Regression (UTF8) (try #2): Win9x is very picky about trailing slashes in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix. 18 years ago
Darkvater 9cbc0e4ade (svn r8918) -Revert r8914 as the inverted files have been committed not the correct one. 18 years ago
Darkvater 44879ab2c5 (svn r8914) -Regression (UTF8): Win9x is very picky about trailing slashes in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix. 18 years ago
rubidium 33771b4f25 (svn r8912) -Codechange: coding style cleanup and moving of two global externs into the functions that use them. 18 years ago
rubidium 413853552c (svn r8911) -Cleanup: fixup comments about the RoadVehicleStates and remove two unused enums. 18 years ago
rubidium aaeeef3d88 (svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header. 18 years ago
rubidium f3f966e616 (svn r8907) -Fix (r3281): reading from an unitialized variable. 18 years ago
rubidium 34154aa89e (svn r8906) -Feature: translation dependant formatting of dates. 18 years ago
peter1138 8df0b8a685 (svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides... 18 years ago
tron e981e0a553 (svn r8901) -Fix
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) and DECLARE_ENUM_AS_BIT_INDEX() altogether
18 years ago
tron 311af1a956 (svn r8900) -Fix
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits)
18 years ago
tron 3ce4baa9fc (svn r8899) -Fix
Remove the unused second parameter from GetTileRailType()
18 years ago
tron 1ce43c1a37 (svn r8897) -Fix
Change the signature of GetNewVehiclePos():
-void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
+GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
18 years ago
tron 696b895b77 (svn r8896) -Fix
Most (i.e. 13 of 15) callers of GetNewVehiclePos() do not care for the return and the others can figure it out by inspecting the information returned in struct GetNewVehiclePosResult.
Therefore remove the return value.
18 years ago
tron 1864d28cb8 (svn r8894) -Fix
Slightly simplify the control flow of TrainController()
18 years ago
tron e949a956bd (svn r8893) -Fix
variable scope, const, misc.
18 years ago
rubidium 9c6957b457 (svn r8892) -Fix (r8879): swapped the eye colour and eyebrow bits. 18 years ago
peter1138 4c4b035175 (svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible. 18 years ago
peter1138 29c8142784 (svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47 18 years ago
rubidium 5aaff3b5a1 (svn r8889) -Fix (r8880): a CursorID is not a SpriteID. 18 years ago
peter1138 5dcd88c59c (svn r8888) -Codechange: Replace hardcoded default cargo bitmasks with a list of cargo labels. 18 years ago
KUDr b3822a22d9 (svn r8887) -Fix (r8879)[MorphOS]: initialization of mouth_table[] skipped by goto 18 years ago
peter1138 a23b4594ed (svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only. 18 years ago
peter1138 0cf5ebee79 (svn r8885) -Codechange: (NewGRF) If a default cargo type property is out of range then choose the cargo type from its refit list. 18 years ago
tron 12b1804d4e (svn r8884) -Fix
Replace SetSpeedLimitOnBridge() by something simpler
18 years ago
maedhros e3f60f716c (svn r8882) -Cleanup (r8881): Remove obsolete strings. 18 years ago
maedhros 8b6350d3a3 (svn r8881) -Feature: Allow built-in newgrf error messages to be translated, and load custom error messages properly. 18 years ago
rubidium 8ac0e7be21 (svn r8880) -Codechange: make anim cursors an array of structs. 18 years ago
rubidium 4fd8926e9d (svn r8879) -Codechange: make DrawPlayerFace easier to read. 18 years ago
tron caa129958d (svn r8878) -Fix
-Fix: Do a better job when checking the parameters of CmdMoveRailVehicle()
NOTE: 0.5 candidate
18 years ago
rubidium 6ddef3f743 (svn r8877) -Cleanup: remove already implemented @todo 18 years ago
tron d3b29bcacb (svn r8876) -Fix
Replace tests with magic numbers by a simple extraction template for command parameters
18 years ago
tron 1d1121f85a (svn r8875) -Fix
Remove unnecessary EnsureNoVehicle() checks because they are
- pointless per se (f.e. there are no vehicles on house tiles)
- done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later)
18 years ago
KUDr 029ceda0f1 (svn r8869) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche) 18 years ago
rubidium 433b8054e9 (svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p). 18 years ago
KUDr 9cdf6fdc7e (svn r8867) -Fix(r8866): revert yapf_costrail.hpp commited by mistake, helpers.hpp had wrong line ending 18 years ago
KUDr f3d5fda36c (svn r8866) -Doc: added more comments to template struct MakeEnumPropsT 18 years ago
peter1138 0cf592b17a (svn r8865) -Codechange: (NewGRF) Ignore 1 byte action 0s during safety check 18 years ago
KUDr dac3cd622f (svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like CLRBIT() and so on (modify value of the first parameter instead or returning the result) 18 years ago
peter1138 20405f56b4 (svn r8863) -Fix: prefix engine_custom_sprites with _ 18 years ago
belugas 6dbf9f2f41 (svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style.
Some documentation addition, when i can easily supply them
18 years ago