bjarni
f17a23e06a
(svn r4826) -Fix: [autoreplace] fixed possible problem when autoreplacing and was number of vehicles (of a type, not total) was reached
...
now the new vehicle gets the same number as the old one, completely removing the problem where we could run out of numbers
since we don't have to find free numbers for the new vehicles, autoreplace should be somewhat faster, specially in late games
NOTE: in CmdBuildRailVehicle(), bit 0 and 1 in p2 have been switched to make the meaning of bit 0 consistent with the other build commands. CmdCloneVehicle() is modified to follow this as well
19 years ago
bjarni
37ec349dec
(svn r4825) - Fix [clone FS#159]: Game crashes when cloning reaches train-limit.
19 years ago
peter1138
82d8df7ced
(svn r4824) - NewGRF: add support for getting/setting miscellaneous grf flags (param 0x9E)
19 years ago
celestar
53e034cd9b
(svn r4823) -Fix: Improved tooltips for sortable station lists.
...
-Credit: Chrishuebsch for initial idea and implementation of station filters
19 years ago
celestar
b5dd3ddbd5
(svn r4822) -Feature: Station List View can now be sorted and filtered (by waiting cargo type and facilities)
19 years ago
peter1138
795fedfc31
(svn r4821) - NewGRF: simplify parameter retrieval in Action 0x0D
19 years ago
miham
03d3981a8f
(svn r4820) WebTranslator2 update to 2006-05-11 08:30:15
...
danish - 11 changed by Bjarni (11)
german - 1 fixed by Neonox (1)
swedish - 39 fixed by daishan (39)
19 years ago
celestar
1f0735b6cc
(svn r4819) -Debug: When clicking on a vehicle in the viewport, the index and address of the vehicle get dumped for "misc" debug levels >= 2
19 years ago
peter1138
5ebd8be2d6
(svn r4818) - NewGRF: add support for reading another GRF file's parameters, and warn if GRF Resource Management is tried.
19 years ago
peter1138
f513850371
(svn r4817) - NewGRF: allow partial support for parameter retrieval in action D.
19 years ago
peter1138
aeca70f15a
(svn r4816) - NewGRF: action 7/9 improvements:
...
- split of parameter retrieving to separate function,
- handle param size for grf parameters,
- add more grfid (param 0x88) tests.
19 years ago
miham
214f73894b
(svn r4813) WebTranslator2 update to 2006-05-10 12:51:40
...
dutch - 3 fixed by webfreakz (3)
hungarian - 2 fixed by miham (2)
lithuanian - 50 fixed, 3 changed by Plyta (53)
polish - 2 fixed by meush (2)
portuguese - 2 fixed by izhirahider (2)
19 years ago
celestar
3c81a1f111
(svn r4812) -Fix (FS#161) NTP properly checks for railtypes on non-plain-rail-tiles (Rubidium)
19 years ago
peter1138
31ce3269a7
(svn r4811) - NewGRF: only check a sprite set's feature when assigning a sprite result sprite group.
19 years ago
glx
434fb4e08c
(svn r4810) - Fix: removed warning about strict-alias (release build)
19 years ago
belugas
b8b3c6081c
(svn r4809) Codechange : Merged two loops in only one.
19 years ago
peter1138
5bb93fa432
(svn r4808) - Fix GetCharacterWidth() change in os2.c missed in r4802.
19 years ago
glx
19464e028a
(svn r4807) - Fix: win32 compilation was broken by r4802
19 years ago
peter1138
99197b608a
(svn r4802) - Codechange: replace _stringwidth_base and associated magic numbers with a FontSize enum, using the numbers (which are SpriteIDs) in only the places needed.
19 years ago
peter1138
e02b86c88b
(svn r4793) - Replace list of magic numbers (characters that don't exist) with a call to SpriteExists(), when building the character width cache.
19 years ago
peter1138
c0eaa2ef41
(svn r4792) - Codechange: change a uint to a uint16 to avoid a signed/unsigned warning from some compilers.
19 years ago
peter1138
88dfc46885
(svn r4791) - Codechange: Mark road bits as unsigned. Fixes warning with older gcc versions.
19 years ago
tron
1be0d9926e
(svn r4790) Remove slope magic from EnsureNoVehicleZ() and rename it to EnsureNoVehicleOnGround() to make more clear what it does
19 years ago
rubidium
2a337ab009
(svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
19 years ago
rubidium
3dae1a9bba
(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
19 years ago
miham
3c76fd331a
(svn r4787) WebTranslator2 update to 2006-05-09 08:55:14
...
czech - 6 fixed by Hadez (6)
german - 3 fixed by Neonox (3)
hungarian - 3 fixed by miham (3)
lithuanian - 3 fixed, 4 changed by Plyta (7)
polish - 3 fixed, 3 changed by meush (6)
portuguese - 3 fixed by izhirahider (3)
slovenian - 34 fixed by Sonicelo (34)
turkish - 2 fixed by jnmbk (2)
19 years ago
peter1138
dd69f010b3
(svn r4786) - Newstations: in GetPlatformInfo() ensure negative values are only four bits
19 years ago
glx
8bb61ca472
(svn r4785) - Newstations: don't draw catenary on non-track tiles
19 years ago
peter1138
d2c015cf2f
(svn r4784) - NewGRF: shuffle the mix of signed / unsigned types when dealing with var adjusts. Fixes issues with some station layouts.
19 years ago
peter1138
9c1282d283
(svn r4783) - Newstations: fix graphical bug that affected some stations when a station has a high amount of cargo waiting.
19 years ago
peter1138
e4aed98827
(svn r4782) - Newstations: fix issue with saving/loading games with newstations on big endian architectures.
19 years ago
peter1138
05e2c6b886
(svn r4781) - NewGRF: give _traininfo_vehicle_pitch a proper declaration
19 years ago
peter1138
bfaf9e1489
(svn r4780) - Newstations: when building using a dynamic layout, add the station axis to the returned tile type. Also supply correct parameters to var 10.
19 years ago
peter1138
2df2528244
(svn r4777) - NewGRF: moving warning message about feature callbacks above station code and change minimum length for action 3 from 7 to 6 bytes.
19 years ago
peter1138
a5394567ae
(svn r4775) - Newstations: allow clicking on any part of the station class dropdown to bring up the list, instead of just the button (thanks tron)
19 years ago
peter1138
6cac8ed674
(svn r4773) - Newstations: add proper tooltips to the station builder window
19 years ago
peter1138
d23e3a2fa2
(svn r4772) - Newstations: when allocating a custom station (via action 0x03) check if the station has already been allocated. (Fixes duplicate waypoints in newstatsw in non-temperate climate)
19 years ago
tron
40a843e808
(svn r4771) -Regression: It was possible to remove a bridge while a vehicle was on it
19 years ago
peter1138
f324715c55
(svn r4770) - Revert unindented change to rail_cmd.c in r4769.
19 years ago
peter1138
7e0ca9489d
(svn r4769) - Newstations: add newstations ttdpatch flag
19 years ago
peter1138
99cb906265
(svn r4768) - Newstations: Add newstation selector GUI. The additions are only active if a newstation set is loaded, otherwise it will look the same.
19 years ago
peter1138
9d6ddd364e
(svn r4767) - Newstations: fix loading / use of custom ground sprites
19 years ago
tron
00930cf8d9
(svn r4766) -Fix: Vehicles on a sloped tile under a bridge were affected by the bridge speed limit
19 years ago
tron
ebcf2ee3b1
(svn r4765) Add GetTileMaxZ(), which returns the height of the highest corner of a tile, and use it to simplify the code in a few places
19 years ago
tron
ec7e431cf6
(svn r4764) Move some functions from rail.h to rail_map.h
19 years ago
peter1138
36e27af00c
(svn r4763) - Newstations: revert r4762, instead map bit the palette modifier from bit 14 to bit 31 on GRF load.
19 years ago
peter1138
8573da9d96
(svn r4762) - Newstations: make child sprites transparent.
19 years ago
peter1138
77a4bc5aac
(svn r4761) - Newstations: support platform information in variable 10 (callback parameter 1) when building a station
19 years ago
peter1138
9fd5f28934
(svn r4760) - Newstations: change the way custom stations are allocated when loading from GRF, as the current way was flawed (reallocing memory which is referenced elsewhere)
19 years ago
peter1138
7085598376
(svn r4759) - Newstations: increase the number of station classes from 16 to 32. 16 was an arbitrary limit, 32 is the limit for dropdown lists...
19 years ago