Fri, 03 Mar 2006 19:42:09 +0000 |
tron |
(svn r3747) Change HASBIT() to return 0/1 instead of 0/value of tested bit, because the name suggests it does the former and current behavior broke in some places in very subtle ways (for example HASBIT(x, 0) != HASBIT(y, 1) doesn't work, returning a bool after HASBIT(x, 9) neither)
|
file |
diff |
annotate
|
Wed, 01 Mar 2006 23:14:03 +0000 |
peter1138 |
(svn r3717) - [2cc] Add 2cc colour maps and use for newgrf engines requiring them. Currently the second colour is fixed to be the player's colour.
|
file |
diff |
annotate
|
Wed, 01 Mar 2006 17:35:01 +0000 |
peter1138 |
(svn r3701) [2cc] move vehicle/engine palette functions out of header file and document the remaining definitions
|
file |
diff |
annotate
|
Mon, 20 Feb 2006 19:43:26 +0000 |
Darkvater |
(svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION
|
file |
diff |
annotate
|
Mon, 20 Feb 2006 09:26:07 +0000 |
peter1138 |
(svn r3620) - 2cc: Replace use of macro to determine colour map with a function call for drawing of vehicles.
|
file |
diff |
annotate
|
Mon, 20 Feb 2006 01:36:48 +0000 |
Darkvater |
(svn r3619) - Codechange: Simplify a NullStruct initialization in the vehicle array (merge the two together to avoid confusion)
|
file |
diff |
annotate
|
Mon, 13 Feb 2006 21:47:02 +0000 |
truelight |
(svn r3598) -Fix: suppress invalid warning by assigning value to variable
|
file |
diff |
annotate
|
Sat, 11 Feb 2006 10:45:20 +0000 |
peter1138 |
(svn r3589) - Rename u.road.unk2 to u.road.blocked_ctr
|
file |
diff |
annotate
|
Wed, 08 Feb 2006 19:06:46 +0000 |
peter1138 |
(svn r3579) v->u.rail.first_engine holds an engine type, not a vehicle index, so use INVALID_ENGINE.
|
file |
diff |
annotate
|
Wed, 08 Feb 2006 08:18:29 +0000 |
peter1138 |
(svn r3576) - Allow unused wagons have their ->first set. This fixes the faulty cache warning message, and noticably speeds up depot operations in large games.
|
file |
diff |
annotate
|
Tue, 07 Feb 2006 19:11:51 +0000 |
peter1138 |
(svn r3573) - Replace assert(0) with NOT_REACHED(). This commit sponsored by "giving Darkvater credit for the last three".
|
file |
diff |
annotate
|
Tue, 07 Feb 2006 19:01:01 +0000 |
peter1138 |
(svn r3572) - Rewrite GetFreeUnitNumber() so that only one loop of vehicles is required. Instead a list of used/unused numbers is created and the first unused number is chosen. This significantly improves performance in large games.
|
file |
diff |
annotate
|
Tue, 07 Feb 2006 18:57:16 +0000 |
peter1138 |
(svn r3571) - When loading a game, call TrainConsistChanged() for each train head separately before updating images, as v->first is used extensively in GetTrainImage() for custom graphics. This gives a significant speed improvement on loading a game.
|
file |
diff |
annotate
|
Sat, 04 Feb 2006 18:25:07 +0000 |
bjarni |
(svn r3535) -Feature: [autoreplace] allow autoreplacing of train wagons
|
file |
diff |
annotate
|
Wed, 01 Feb 2006 07:36:15 +0000 |
tron |
(svn r3511) More whitespace ([FS#46] by Rubidium)
|
file |
diff |
annotate
|
Wed, 01 Feb 2006 06:32:03 +0000 |
tron |
(svn r3510) Fiddle with whitespace and parentheses
|
file |
diff |
annotate
|
Tue, 31 Jan 2006 19:06:02 +0000 |
tron |
(svn r3498) Fix the edge case for r3419/r3488: when a vehicle just enters a tile, the height difference can be 8
|
file |
diff |
annotate
|
Mon, 30 Jan 2006 16:57:47 +0000 |
tron |
(svn r3488) Simplify the check in r3419
|
file |
diff |
annotate
|
Sun, 29 Jan 2006 22:40:51 +0000 |
Darkvater |
(svn r3482) - Fix: since multiheaded links are not saved anymore do NOT save them anymore at all, return the extra space. Since Bjarni's fix for this was abominable, the weird situation arises of 2 NULL structs of free space, of which the first isn't usable.
|
file |
diff |
annotate
|
Sun, 29 Jan 2006 18:57:26 +0000 |
Darkvater |
(svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
|
file |
diff |
annotate
|
Sun, 22 Jan 2006 17:17:11 +0000 |
Darkvater |
(svn r3419) - Fix: [FS#40] (Possible) game crash on removing track/road under bridge. This was caused by a wrong tile-occupancy testing where it was assumed that a vehicle's height is only a multitude of 8 (a single height-difference). This is incorrect as a vehicle on a slope will assume all height levels between the lower-and upper-bounds. The crash is still possible as seen in the Flyspray bugreport but this has a different cause.
|
file |
diff |
annotate
|
Wed, 18 Jan 2006 15:05:01 +0000 |
bjarni |
(svn r3403) -Codechange: [multiheaded engines] the references between the front and rear engines are no longer saved
|
file |
diff |
annotate
|
Thu, 12 Jan 2006 15:52:18 +0000 |
peter1138 |
(svn r3396) - Autoreplace changes:
|
file |
diff |
annotate
|
Sun, 08 Jan 2006 12:20:13 +0000 |
bjarni |
(svn r3390) -Fix: [autoreplace] fixed issue where autoreplace failed to attach the cars if the front engine was replaced
|
file |
diff |
annotate
|
Thu, 05 Jan 2006 21:35:54 +0000 |
tron |
(svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command.
|
file |
diff |
annotate
|
Thu, 05 Jan 2006 12:40:50 +0000 |
tron |
(svn r3365) Staticise 36 functions
|
file |
diff |
annotate
|
Wed, 04 Jan 2006 20:18:39 +0000 |
peter1138 |
(svn r3362) Fix issue with loading old (TTD) savegames:
|
file |
diff |
annotate
|
Wed, 04 Jan 2006 16:53:00 +0000 |
peter1138 |
(svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after starting removal process.
|
file |
diff |
annotate
|
Thu, 29 Dec 2005 12:42:59 +0000 |
tron |
(svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length
|
file |
diff |
annotate
|
Wed, 28 Dec 2005 22:29:59 +0000 |
peter1138 |
(svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.
|
file |
diff |
annotate
|
Sat, 24 Dec 2005 20:54:31 +0000 |
tron |
(svn r3339) Remove unnecessary includes
|
file |
diff |
annotate
|
Wed, 14 Dec 2005 06:28:48 +0000 |
tron |
(svn r3298) Remove unused and write-only variables
|
file |
diff |
annotate
|
Wed, 14 Dec 2005 06:20:23 +0000 |
tron |
(svn r3297) Staticise
|
file |
diff |
annotate
|
Mon, 05 Dec 2005 16:48:07 +0000 |
peter1138 |
(svn r3261) - Autoreplace: If a replaced vehicle had a custom name, transfer it to the new vehicle. Fixes "[ 1370039 ] Autoreplaced vehicles lose their names"
|
file |
diff |
annotate
|
Tue, 29 Nov 2005 22:29:59 +0000 |
peter1138 |
(svn r3248) - Codechange: Change interface of CanRefitTo() to supply the engine type directly instead of getting it from a vehicle. This allows the function to be used before vehicles are involved.
|
file |
diff |
annotate
|
Sat, 26 Nov 2005 16:41:14 +0000 |
peter1138 |
(svn r3239) - Codechange: Introduce and use helper functions for engine replacement code.
|
file |
diff |
annotate
|
Tue, 22 Nov 2005 19:33:29 +0000 |
truelight |
(svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed 'major' version to just: version.
|
file |
diff |
annotate
|
Sat, 19 Nov 2005 22:39:16 +0000 |
bjarni |
(svn r3223) -Fix: [autoreplace] fixed crash when replacing a train engine without any cars (introduced in r3220)
|
file |
diff |
annotate
|
Sat, 19 Nov 2005 10:28:02 +0000 |
bjarni |
(svn r3220) -Fix: [autoreplace] Autoreplaced trains now replace their cargo to the train instead of just the new engine
|
file |
diff |
annotate
|
Sat, 19 Nov 2005 00:10:20 +0000 |
bjarni |
(svn r3219) -Codechange: removed the now obsolite code in the build train command to make half multiheaded engines
|
file |
diff |
annotate
|
Fri, 18 Nov 2005 23:41:03 +0000 |
bjarni |
(svn r3218) -Feature: Multiheaded train engines will now stay in the same train
|
file |
diff |
annotate
|
Wed, 16 Nov 2005 14:07:34 +0000 |
tron |
(svn r3208) Don't explicitly pass the engine type to look for to GetRearEngine(), because it's the engine type of the vehicle which gets passed as first parameter
|
file |
diff |
annotate
|
Wed, 16 Nov 2005 11:50:40 +0000 |
tron |
(svn r3193) Staticise the vehicle position hash
|
file |
diff |
annotate
|
Mon, 14 Nov 2005 19:48:04 +0000 |
tron |
(svn r3181) -Bracing
|
file |
diff |
annotate
|
Mon, 14 Nov 2005 08:09:57 +0000 |
tron |
(svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT
|
file |
diff |
annotate
|
Sun, 13 Nov 2005 14:54:09 +0000 |
tron |
(svn r3173) Use the trinary operator and switch to improve readability
|
file |
diff |
annotate
|
Sun, 13 Nov 2005 13:43:55 +0000 |
tron |
(svn r3172) static, const
|
file |
diff |
annotate
|
Mon, 07 Nov 2005 23:20:47 +0000 |
bjarni |
(svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
|
file |
diff |
annotate
|
Sun, 06 Nov 2005 13:42:26 +0000 |
peter1138 |
(svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.
|
file |
diff |
annotate
|
Sat, 05 Nov 2005 19:58:16 +0000 |
bjarni |
(svn r3143) -Codechange: greatly increased speed when allocating vehicles
|
file |
diff |
annotate
|
Sat, 05 Nov 2005 16:07:26 +0000 |
peter1138 |
(svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.
|
file |
diff |
annotate
|
Sat, 05 Nov 2005 14:01:00 +0000 |
bjarni |
(svn r3138) -Fix: [clone vehicles] fixed assert when it was possible to allocate some vehicles to clone a train, but not for all cars
|
file |
diff |
annotate
|
Fri, 04 Nov 2005 22:10:49 +0000 |
bjarni |
(svn r3137) -Fix: [autoreplace] fixed assert that was triggerable when a vehicle entered a depot even though the goto depot was canceled
|
file |
diff |
annotate
|
Fri, 04 Nov 2005 20:52:03 +0000 |
bjarni |
(svn r3136) -Fix: [autoreplace] all cargo in engines that consists of more than one vehicle will try to move cargo from all vehicles
|
file |
diff |
annotate
|
Thu, 03 Nov 2005 21:22:38 +0000 |
bjarni |
(svn r3129) -Fix: [autoreplace] fixed bug that made the player pay twice for autoreplacing and could end up with negative money
|
file |
diff |
annotate
|
Thu, 03 Nov 2005 20:19:15 +0000 |
bjarni |
(svn r3128) -Fix: [autoreplace] fixed bug that made the player pay twice for autoreplacing and could end up with negative money
|
file |
diff |
annotate
|
Thu, 03 Nov 2005 19:51:28 +0000 |
bjarni |
(svn r3127) -Fix: [autoreplace] fixed a condition where a vehicle could fail to stop when autoreplacing
|
file |
diff |
annotate
|
Tue, 01 Nov 2005 17:20:06 +0000 |
bjarni |
(svn r3116) -Fix: [autoreplace] fixed issue where autorenewing/autoreplacing a plane could lock up an airport
|
file |
diff |
annotate
|
Mon, 31 Oct 2005 14:30:45 +0000 |
bjarni |
(svn r3112) -Feature: [autoreplace] profit counters are now remembered too (request by Darkvater)
|
file |
diff |
annotate
|
Mon, 31 Oct 2005 12:59:47 +0000 |
bjarni |
(svn r3111) -Fix: [autoreplace] [ 1341783 ] Assertion failure in vehicle.c line 378
|
file |
diff |
annotate
|