Commit Graph

1507 Commits

Author SHA1 Message Date
truelight
9ee02182fa (svn r10105) -Fix r10092: fix sprite 4845 till 4881 (inclusive), so they store the data as on the disk in the memory, as the old landscape generate assumes this. Talking about ugly hacks... 2007-06-11 18:49:55 +00:00
miham
8f30750ade (svn r10104) -Update: WebTranslator2 update to 2007-06-11 19:45:13
catalan    - 4 changed by arnaullv (4)
czech      - 3 fixed, 1 changed by Hadez (4)
danish     - 2 fixed by MiR (2)
dutch      - 1 fixed by habell (1)
estonian   - 2 fixed, 15 changed by kristjans (17)
french     - 3 fixed by glx (3)
hungarian  - 2 fixed by miham (2)
2007-06-11 17:45:32 +00:00
maedhros
1dac46595d (svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead. 2007-06-11 16:41:34 +00:00
truelight
02b9eeaa7a (svn r10102) -Documentation: @file header was wrong 2007-06-11 15:14:57 +00:00
truelight
340d5b43f9 (svn r10101) -Codechange: the class is named 8bppSimple, so name the files like that too 2007-06-11 15:13:30 +00:00
truelight
10e826380b (svn r10100) -Fix r10093: some code now became obsolete as it never did something 2007-06-11 14:45:26 +00:00
belugas
cb65217069 (svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry instead of the scanned industry
Spotted by Oxygene
2007-06-11 14:25:38 +00:00
rubidium
76e25154bd (svn r10098) -Codechange: bilbo cared about the performance of the AI with respect to the airport placement, so he rewrote the aircraft handling of the AI; now it can actually make lots of money again :) 2007-06-11 14:23:04 +00:00
maedhros
c186f91cbd (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
2007-06-11 14:00:16 +00:00
truelight
4cd71ef4fe (svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making fonts look weird 2007-06-11 13:38:11 +00:00
truelight
37ee35df07 (svn r10095) -Fix: avoid reading outside the buffer because of scaling problems 2007-06-11 12:51:27 +00:00
rubidium
52fa0751b2 (svn r10094) -Fix: some really broken strings got in. 2007-06-11 12:44:02 +00:00
truelight
05e2bd2793 (svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair 2007-06-11 11:59:36 +00:00
truelight
27febd474c (svn r10092) -Codechange: code-seperated the spriteloader and blitter from the rest of the code
-Add: make it possible to pick your own blitter (-b <blitter>, -h for overview)
-Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels)
-Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter
2007-06-11 11:50:49 +00:00
maedhros
41443a26a6 (svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in GetTerrainType as
GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
2007-06-11 04:52:51 +00:00
belugas
7f8b42b598 (svn r10088) -Codechange: A typo and a code-style 2007-06-10 23:40:29 +00:00
rubidium
a2b505e4ca (svn r10087) -Fix [FS#834]: multiple subsequent "give money" actions could result in duplicate messages that money has been transfered when it only happened once. 2007-06-10 21:34:45 +00:00
maedhros
c33e651393 (svn r10086) -Codechange: Use more sensible types and functions in GenericPlaceSignals. 2007-06-10 21:28:20 +00:00
rubidium
3b9aa52c45 (svn r10085) -Fix [FS#839]: message that you had given money appeared even when an error occured. 2007-06-10 20:49:11 +00:00
rubidium
f73956888f (svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed. 2007-06-10 20:27:28 +00:00
rubidium
b50f694a85 (svn r10082) -Fix [FS#846]: another memory leak in the networking code (benc). 2007-06-10 19:59:08 +00:00
rubidium
47d7124207 (svn r10081) -Fix [FS851]: towns/AIs didn't build bridges anymore (boekabart). 2007-06-10 10:52:19 +00:00
bjarni
e1b7b7aecc (svn r10080) -Cleanup: replaced magic numbers in SubtractMoneyFromAnyPlayer() with enum values 2007-06-10 09:37:09 +00:00
miham
fbcbd101c3 (svn r10079) -Update: WebTranslator2 update to 2007-06-10 08:31:40
bulgarian  - 29 fixed by thetitan (29)
catalan    - 1 fixed by arnaullv (1)
estonian   - 159 changed by kristjans (159)
2007-06-10 06:31:51 +00:00
belugas
a8e4af3c52 (svn r10078) -Codechange: Centralize all industry counts data and access 2007-06-10 01:25:21 +00:00
bjarni
160aa21f31 (svn r10077) -Fix: FS#845 Cloning Trains Longer Than 8 Units Causes Crash
The problem was that if adding units to the clone (wagon by wagon) failed, then cloning wouldn't notice it and it made two half trains
  Now it detects this case and it will make cloning fail. The string with the explanation for the failed move will be used in the error message so the user will know why it failed.
2007-06-09 18:31:04 +00:00
miham
8686e247ac (svn r10076) -Update: WebTranslator2 update to 2007-06-09 10:29:27
danish     - 1 fixed by ThomasA (1)
estonian   - 1 fixed, 96 changed by kristjans (97)
german     - 29 fixed by Neonox (29)
hungarian  - 1 fixed by miham (1)
italian    - 1 fixed by lorenzodv (1)
japanese   - 1 fixed by ickoonite (1)
korean     - 1 fixed by darkttd (1)
2007-06-09 08:31:41 +00:00
rubidium
469e7cb991 (svn r10075) -Fix [FS#844]: small memory leak on some early returns. 2007-06-09 04:01:40 +00:00
belugas
1a2f889a52 (svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries 2007-06-09 02:05:51 +00:00
rubidium
9a57a1912d (svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again). 2007-06-08 21:16:17 +00:00
truelight
5b18dccb6b (svn r10072) -Fix r10070: typo in zoom.hpp 2007-06-08 19:06:35 +00:00
rubidium
abb4ab74cf (svn r10071) -Feature [FS#828]: moving of orders (skidd13). 2007-06-08 18:59:29 +00:00
truelight
e9c2c4a27e (svn r10070) -Fix: fix the rounding problem of zoom-levels in zoom.hpp, so it is global for every call 2007-06-08 18:45:14 +00:00
truelight
f4c1938af9 (svn r10069) -Documentation: some documentation for TIC/TOC, as it isn't what I expected... 2007-06-08 18:23:26 +00:00
rubidium
1e1154b08c (svn r10068) -Fix [FS#835]: coverage area highlight was still show when it was turned off for docks. 2007-06-08 18:15:11 +00:00
belugas
9fe860f5f9 (svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few. 2007-06-08 17:54:18 +00:00
glx
5901239de6 (svn r10065) -Cleanup (r9850): remove now unneeded stuff 2007-06-08 16:53:21 +00:00
belugas
dc89ed73ee (svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run 2007-06-08 15:59:03 +00:00
belugas
256ee60545 (svn r10063) -Codechange: Change VARDEF for extern
-CodeChange: Add the count of industries, basic support for variable 67, var action02 forindustries
2007-06-08 15:48:48 +00:00
peter1138
f2e0912ce9 (svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics. 2007-06-08 09:35:39 +00:00
peter1138
906385eb3d (svn r10061) -Codechange: [NewGRF] Add common cargo subtype support to vehicle var 42 2007-06-08 06:27:58 +00:00
miham
7cdb0a12f0 (svn r10060) -Update: WebTranslator2 update to 2007-06-08 07:51:39
estonian   - 228 changed by kristjans (228)
japanese   - 13 fixed by ickoonite (13)
portuguese - 2 fixed by izhirahider (2)
slovenian  - 99 fixed by Necrolyte (99)
2007-06-08 05:51:57 +00:00
peter1138
bbfad49142 (svn r10059) -Fix (r10045): Pretend GRF is still in initialisation state when leaving reservation stage. This fixes action 7/9 tests for grfs that will be active. 2007-06-07 18:13:31 +00:00
rubidium
d255041365 (svn r10058) -Codechange: give some industry variable sensible names (like not telling "last_mo_production" when it is the production of the current month). 2007-06-07 14:38:45 +00:00
rubidium
0fcda4e45c (svn r10056) -Revert (r10049): removing SLE_WRITEBYTE didn't work as expected :(. Somehow SlIterateArray and SlObject depend on eachother and adding a some arbitrary data before the SlObject makes it go crazy. 2007-06-07 12:37:48 +00:00
miham
5d5b3968a1 (svn r10055) -Update: WebTranslator2 update to 2007-06-07 14:37:06
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan    - 3 fixed by arnaullv (3)
danish     - 1 fixed by ThomasA (1)
estonian   - 99 fixed by kristjans (99)
galician   - 8 fixed by Condex (8)
norwegian_nynorsk - 35 fixed by pollux (35)
2007-06-07 12:37:27 +00:00
rubidium
b0421273f2 (svn r10054) -Codechange: make the industries cost modifier look more like the original one, so it's much easier to support industries that use this original format. 2007-06-07 09:20:04 +00:00
rubidium
740eb9d89a (svn r10053) -Fix: could not clear a level-crossing tile with tram tracks. 2007-06-07 08:58:21 +00:00
peter1138
2e9a4359f0 (svn r10052) -Codechange: Support reserve/activate stage bits of action 7/9 variable 84. 2007-06-07 07:20:44 +00:00
rubidium
ddf249b2fe (svn r10049) -Codechange: get rid of the SLE_WRITEBYTE obfuscation. 2007-06-06 23:57:21 +00:00
peter1138
a0a43b4a7e (svn r10048) -Fix (r6455): Don't use override engine type for articulated wagon parts. 2007-06-06 10:51:11 +00:00
miham
d99dd98cb9 (svn r10047) -Update: WebTranslator2 update to 2007-06-06 07:59:17
croatian   - 58 fixed by knovak (58)
czech      - 3 fixed by Hadez (3)
danish     - 28 fixed by ThomasA (28)
dutch      - 23 fixed by habell (23)
italian    - 3 fixed by lorenzodv (3)
korean     - 3 fixed by darkttd (3)
ukrainian  - 3 fixed by mad (3)
2007-06-06 05:59:32 +00:00
rubidium
b6a199461e (svn r10046) -Documentation: add some documentation in order_gui (skidd13). 2007-06-05 22:17:03 +00:00
peter1138
f20f1eb47b (svn r10045) -Codechange: Process Action 8 during GLS_RESERVATION to allow Action 7/Action 9s to work properly 2007-06-05 21:41:31 +00:00
peter1138
6c11a1f9b7 (svn r10044) -Fix: Minor NewGRF debug message fixes, and skip sprites of an unsupported Action 5 feature. 2007-06-05 20:49:32 +00:00
truelight
3c522a7451 (svn r10043) -Change: make templates of the blitters, based on zoom and mode, which makes the optimizing better, and therefor a higher blitter speed (tnx boekabart)
-Codechange: unify the MainBlitter a bit more
2007-06-05 12:01:50 +00:00
peter1138
de7e370240 (svn r10042) -Codechange: Replace hardcoded spritecache size with a configuration
option, sprite_cache_size. The default size is 2MB and the value can 
range from 1 to 64MB. If you experience slow-downs when scrolling the 
map, try increasing this setting.
2007-06-05 10:40:29 +00:00
miham
0e09964973 (svn r10041) -Update: WebTranslator2 update to 2007-06-05 08:19:09
czech      - 34 fixed by Hadez (34)
french     - 3 fixed by glx (3)
hungarian  - 4 fixed by miham (4)
ukrainian  - 4 fixed by mad (4)
2007-06-05 06:19:27 +00:00
belugas
46d4d0d989 (svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it 2007-06-05 01:49:08 +00:00
bjarni
1026c865fd (svn r10039) -Fix: [autoreplace] when trying to replace an engine that can't carry the wagons the old one carries (GRF restrictoin), then don't try to replace at all 2007-06-04 20:46:01 +00:00
peter1138
1102c157eb (svn r10038) -Fix (r8634): Sprite resulting from '?' substitution was reloaded into the cache entry for SPR_IMG_QUERY instead of the original sprite cache entry. This resulted in unaccounted missing sprite cache memory, and was exacerbated because the original missing sprite was not cached, so it did it again and again and again. Slowdowns and boom. Etc. 2007-06-04 20:42:49 +00:00
glx
a81fd98057 (svn r10037) -Fix (r10035, r10036): silence some 'may be used uninitialized' warnings 2007-06-04 20:06:54 +00:00
glx
1a7c7d768f (svn r10036) -Add: sort the strings in town names dropdown 2007-06-04 19:51:31 +00:00
glx
a5e5757656 (svn r10035) -Change: simplified network language string sorting 2007-06-04 19:49:00 +00:00
rubidium
0653d52288 (svn r10034) -Change: remove the string changed in r10033 from the translations, so it will be properly translated in all languages. 2007-06-04 19:39:16 +00:00
rubidium
ad747e3026 (svn r10033) -Feature [FS#760]: skip to the selected order in the order list when clicking on the "skip" button while pressing CTRL. 2007-06-04 19:32:45 +00:00
glx
a816369802 (svn r10032) -Add: sort the strings in server language dropdown 2007-06-04 16:07:22 +00:00
miham
65deecb2c2 (svn r10031) -Update: WebTranslator2 update to 2007-06-04 08:32:00
brazilian_portuguese - 33 fixed by tucalipe (33)
bulgarian  - 25 fixed by thetitan (25)
catalan    - 31 fixed by arnaullv (31)
czech      - 28 fixed by Hadez (28)
dutch      - 12 fixed by webfreakz (12)
french     - 25 fixed, 5 changed by glx (30)
german     - 42 fixed by Neonox (42)
hungarian  - 32 fixed by miham (32)
italian    - 25 fixed by lorenzodv (25)
japanese   - 34 fixed by ickoonite (34)
korean     - 25 fixed by darkttd (25)
norwegian_nynorsk - 63 fixed by pollux (63)
portuguese - 45 fixed by izhirahider (45)
slovak     - 39 fixed by lengyel (39)
ukrainian  - 27 fixed by znikoz (27)
2007-06-04 06:34:00 +00:00
rubidium
7d160d02ab (svn r10030) -Fix [FS#823]: one could build on (some) slopes when building on slopes was disabled. 2007-06-03 19:22:23 +00:00
rubidium
17dd40ea0f (svn r10029) -Fix (r9923): trams should not/cannot turn on roadworks. 2007-06-02 21:07:03 +00:00
peter1138
2900732931 (svn r10028) -Fix (r2270/r2951): When deleting the first engine of a train with multiple engines, only reopen the train window if the player had the original train window open. This fixes 'random' windows opening for multiple players of the same company. 2007-06-02 20:08:23 +00:00
bjarni
9f13fc2cf5 (svn r10026) -Fix: unlinking a rail vehicle didn't clear the first pointer
After r9973, this could cause some asserts as some vehicles could end up with first pointers to chains they didn't belong to
2007-06-02 17:23:31 +00:00
bjarni
07e7a80a05 (svn r10025) -Fix: [build windows] sorting planes for capacity didn't check mail capacity. Now mail capacity is used if passenger capacity is the same
The sort will still resort to EngineID if both mail and passenger capacities are the same
2007-06-02 15:47:38 +00:00
bjarni
65ff472991 (svn r10024) -Feature: [build windows] trains, road vehicles and ships can now be sorted by cargo capacity (planes already had this option) 2007-06-02 15:41:37 +00:00
maedhros
6777662286 (svn r10023) -Fix (r3218): When selling trains, if there were no wagons between multiheaded
engines the rear part could be checked despite having already been deleted,
triggering an assert.
2007-06-02 14:42:25 +00:00
maedhros
19250f91b0 (svn r10022) -Fix (r10007): Set the type of multiheaded trains before the subtype. 2007-06-02 11:15:38 +00:00
rubidium
19d7d1c9c5 (svn r10021) -Fix (r9560): memory "corruption" that could lead to a failure to load newgrfs. 2007-06-02 09:26:03 +00:00
maedhros
fb5072b824 (svn r10020) -Fix [FS#824]: GetNextVehicle() is invalid for anything that isn't a train. 2007-06-02 09:11:06 +00:00
peter1138
7660db1716 (svn r10019) -Codechange: Implement GRM for newcargos 2007-06-02 08:56:21 +00:00
glx
9113b5721a (svn r10017) -Add (FS#790): more languages flags for servers 2007-06-01 23:06:01 +00:00
rubidium
4a1b33a01f (svn r10015) -Fix: one could build (only) tram tracks when that was the last built roadtype (in a normal game). 2007-06-01 17:59:11 +00:00
rubidium
5abeb5be65 (svn r10014) -Fix: roads became automatically one way in the scenario editor. 2007-06-01 17:58:43 +00:00
miham
44c9a4dcba (svn r10013) -Update: WebTranslator2 update to 2007-06-01 19:05:03
american   - 7 fixed by WhiteRabbit (7)
catalan    - 1 fixed by arnaullv (1)
danish     - 37 fixed, 7 changed by ThomasA (44)
french     - 7 fixed, 1 changed by glx (8)
italian    - 7 fixed, 1 changed by lorenzodv (8)
korean     - 7 fixed by darkttd (7)
swedish    - 8 fixed by giddorah (8)
turkish    - 23 fixed by jnmbk (23)
ukrainian  - 1 fixed by mad (1)
2007-06-01 17:05:23 +00:00
glx
435cc84f66 (svn r10012) -Fix (r9999): crash when forcing road vehicles to turn 2007-06-01 16:06:23 +00:00
maedhros
3c7273271d (svn r10011) -Fix (r10008): Set the right svn properties on articulated_vehicles.h and correct a file comment. 2007-06-01 12:26:14 +00:00
maedhros
fa548f1a6f (svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type. 2007-06-01 12:03:10 +00:00
maedhros
2181e11c18 (svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own. 2007-06-01 11:41:02 +00:00
maedhros
abdffa410d (svn r10007) -Codechange: Add some asserts to IsFrontEngine and friends to ensure that only trains use them. 2007-06-01 11:17:30 +00:00
glx
6a4be9758c (svn r10006) -Fix (FS#362): allow different signal types on one tile 2007-05-31 21:21:04 +00:00
belugas
4c243d099c (svn r10005) -Codechange: Merge two flags (2cc and newhouses) indicating some newgrf features have been loaded, and introduce the newindustry one. 2007-05-31 19:13:41 +00:00
rubidium
4a62006c39 (svn r10004) -Fix: trams can always intersect/have junctions on one way roads (because they only work for busses and lorries). 2007-05-31 18:12:35 +00:00
rubidium
b3aa28e879 (svn r10003) -Fix (r9999): crash when vehicle had to turn on a bridge. 2007-05-31 18:11:39 +00:00
rubidium
f7f289667d (svn r10002) -Fix (r9999): don't try to get the disallowed directions from a road depot... 2007-05-31 16:47:32 +00:00
belugas
78151810d7 (svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data 2007-05-31 15:40:36 +00:00
rubidium
294a154bf7 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 2007-05-31 15:15:00 +00:00
rubidium
cca48f8e7e (svn r9998) -Fix (r9990): possible null pointer dereferences on MorphOS. 2007-05-31 14:29:19 +00:00
miham
598d6d041a (svn r9997) -Update: WebTranslator2 update to 2007-05-31 16:16:13
american   - 30 fixed by WhiteRabbit (30)
french     - 1 changed by glx (1)
2007-05-31 14:16:22 +00:00
rubidium
a4750af656 (svn r9996) -Fix: be more strict when building/upgrading roads and/or road stops. 2007-05-31 07:34:40 +00:00
peter1138
9cb7ebfccc (svn r9995) -Fix (r9962): Don't scroll the map at the start of a new game 2007-05-31 07:21:33 +00:00
belugas
311b04e87a (svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the grf file. 2007-05-31 03:35:11 +00:00
rubidium
eab80301fc (svn r9993) -Fix (r9992): smallish typos resulting in compile time errors. 2007-05-30 20:34:16 +00:00
belugas
06bc9866aa (svn r9992) -Codechange: Remove some hardcoded references to Industry IDs.
A few more to go
2007-05-30 20:20:58 +00:00
rubidium
1e371a99d2 (svn r9991) -Fix: one could build road when trams were driving on the tile and vice versa. 2007-05-30 20:13:58 +00:00
rubidium
b5915a25df (svn r9990) -Fix: MorphOS and AmigaOS do not like "//" in filenames as that means the same as "/../" in means in Unix. 2007-05-30 18:24:54 +00:00
rubidium
734a302fd1 (svn r9989) -Fix [FS#817]: trams/road vehicles did go to the closest road stop regardless whether they could actually "drive" on there. 2007-05-30 18:22:56 +00:00
rubidium
9d7be92bf4 (svn r9988) -Codechange: remove the last direct map accesses, except the ones needed for the savegame saving/loading mechanisms. 2007-05-30 13:33:19 +00:00
rubidium
fc9df2c336 (svn r9987) -Fix [FS#818]: a train under a bridge could collide with a train on the bridge. 2007-05-30 13:27:56 +00:00
rubidium
0bdd409765 (svn r9986) -Fix (r9934): flooding towns could not remove tram tracks (boekabart). 2007-05-30 13:16:45 +00:00
miham
ee9d6b2d05 (svn r9985) -Update: WebTranslator2 update to 2007-05-30 09:59:31
dutch      - 1 fixed by habell (1)
italian    - 16 fixed, 22 changed by lorenzodv (38)
korean     - 1 fixed by darkttd (1)
norwegian_bokmal - 8 fixed by jankmi (8)
ukrainian  - 30 fixed by mad (30)
2007-05-30 07:59:43 +00:00
belugas
c3f8c58157 (svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing" 2007-05-30 02:08:18 +00:00
belugas
0a3ebbbc22 (svn r9983) -Codechange: Use the "enabled" property of the industry spec. 2007-05-30 01:55:11 +00:00
bjarni
eecf582cc4 (svn r9982) -Fix (r9874): autoreplacing vehicles from a group could sometimes add the new vehicle twice to the engine (EngineID, not total count) count in the group 2007-05-29 20:52:35 +00:00
bjarni
6ce4211ad5 (svn r9981) -Fix: fixed a rare event that could cause autoreplace to run out of money and generate an error (spotted by elmex and UndernotBuilder)
This happened if the new engine was a dualheaded engine and there was money to replace and refit the front, but not the rear
  It also adds the cost of refitting the rear end of dualheaded engines to the cost animations (display only)
2007-05-29 20:06:06 +00:00
belugas
e4785e0376 (svn r9976) -Codechange: Declare a writable array of specs for industry and industry tiles.
It will be initialized by the original data upon game start.
Rename some enums to be more consistent too
2007-05-29 17:41:59 +00:00
belugas
21b4b14f79 (svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit). 2007-05-29 14:44:22 +00:00
belugas
6271144452 (svn r9974) -Codechange: Remove the enabled member of GRFFileProps, since it'snot really grf related 2007-05-29 14:32:46 +00:00
bjarni
8aaa258122 (svn r9973) -Cleanup: removed some code that kept both ends of a dualheaded engine in the same train (when moving wagons in a depot)
NormaliseTrainConsist() is called later in the same command and it will take care of this issue
2007-05-29 10:35:52 +00:00
rubidium
ed0a6a641e (svn r9972) -Fix (r9969): silence a warning. 2007-05-29 08:20:38 +00:00
rubidium
e831fb4d5e (svn r9971) -Fix (r9892, r9958): loading of post-'bridges over "everything"' messed with the railtype of bridges. 2007-05-29 08:19:37 +00:00
miham
67fec6c7a7 (svn r9970) -Update: WebTranslator2 update to 2007-05-29 09:12:20
brazilian_portuguese - 29 fixed by tucalipe (29)
catalan    - 30 fixed by arnaullv (30)
danish     - 1 fixed by ThomasA (1)
dutch      - 29 fixed, 2 changed by webfreakz (31)
french     - 30 fixed, 2 changed by glx (32)
hungarian  - 29 fixed by miham (29)
italian    - 30 fixed, 1 changed by lorenzodv (31)
japanese   - 18 fixed by ickoonite (18)
korean     - 34 fixed by darkttd (34)
portuguese - 5 fixed by izhirahider (5)
romanian   - 28 fixed, 682 changed by CrystyB (710)
swedish    - 31 fixed by giddorah (31)
traditional_chinese - 57 fixed by thomasau (57)
2007-05-29 07:12:49 +00:00
belugas
e7bbb79ff5 (svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile 2007-05-29 00:15:34 +00:00
bjarni
bcb668c2ff (svn r9967) -Fix (r9938): autoreplace would in certain conditions move dualheaded engines in a train (usually to the rear)
-Change: moving an engine in between the two ends of a dualheaded engine will now move the rear dualheaded engine to the front of the newly added engine (instead of moving the new engine to the rear of the rear dualheaded engine)
   This can make a difference if there are wagons in the train
2007-05-28 21:40:40 +00:00
rubidium
5ac10d4d2b (svn r9966) -Fix: bridges and tunnels were not always removed on bankruptcy, thus leaving tunnels/bridges with an invalid owner that would crash the game when clicking with the query tool on them. 2007-05-28 21:32:26 +00:00
rubidium
6a48a58104 (svn r9965) -Fix: the ownership of drive through road stops on town owned roads wasn't properly reset when the road stop was removed. 2007-05-28 20:46:59 +00:00
rubidium
4f9a0f750a (svn r9964) -Fix: removing of road should not be free of charge. 2007-05-28 19:26:32 +00:00
peter1138
f8120ef5a0 (svn r9963) -Fix (r9962): 'smooth_scroll' patch setting was ignored (always on) in some places. 2007-05-28 17:07:19 +00:00
peter1138
2851f58efa (svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled with patch setting 'smooth_scroll' 2007-05-28 16:46:16 +00:00
rubidium
493494a35d (svn r9961) -Fix (r7182): some file were still in iso8859-15 instead of utf8. 2007-05-28 04:15:32 +00:00
rubidium
eadc44d8cb (svn r9960) -Fix [FS#813]: road wasn't properly added when overbuilding a tram rails with normal rails to for a crossing. 2007-05-28 03:41:18 +00:00
maedhros
d07b57f9aa (svn r9959) -Fix: Only call GetNextVehicle for trains. 2007-05-27 17:27:07 +00:00
rubidium
cbcd24f562 (svn r9958) -Fix (r9892): upgrading old savegames made (road)bridges unuseable. 2007-05-27 14:42:40 +00:00
rubidium
d887c1e684 (svn r9957) -Change: replace cargo tram with freight tram for consistency. 2007-05-27 10:00:37 +00:00
peter1138
7273802f0c (svn r9956) -Codechange: Add tram livery schemes 2007-05-27 09:33:41 +00:00
maedhros
4f6ffd4e12 (svn r9955) -Codechange: Make _roadveh_enter_depot_unk0 slightly less mysterious. 2007-05-27 09:17:30 +00:00
rubidium
3b267df0af (svn r9954) -Fix [FS#811]: trolley AI crashed when trying to determine what the roadbits are. 2007-05-27 08:53:21 +00:00
maedhros
4ff33af406 (svn r9953) -Fix: Only check whether trains are multiheaded when cloning. 2007-05-27 05:32:37 +00:00
glx
5e41d3364c (svn r9952) -Fix r9951: it was not possible to build a drive-through station over a road/tram 2007-05-27 01:59:07 +00:00
glx
39463156df (svn r9951) -Fix: slope check was incomplete when building road over tram track (and vice-versa)
-Fix: you could build a drive-through station over a sloped road/tram track
2007-05-27 01:03:59 +00:00
rubidium
0be092ec71 (svn r9950) -Feature(tte): allow terraforming under bridges. 2007-05-26 23:23:22 +00:00
rubidium
fe9bf75436 (svn r9949) -Fix: (road) depots got deowned on bankrupts. 2007-05-26 23:18:42 +00:00
rubidium
9e8f500f7f (svn r9948) -Fix (r9947): building illegal roads on slopes. Why do 'fixes' always have the tendancy to backfire? 2007-05-26 22:44:09 +00:00
rubidium
5bdf6833b3 (svn r9947) -Fix [FS#807]: don't check whether roadbits may be built when they are already built for another type. 2007-05-26 22:19:04 +00:00
rubidium
ff0bf9fb1f (svn r9946) -Fix: more places that weren't correctly marked dirty... 2007-05-26 22:01:49 +00:00
rubidium
567035ebb5 (svn r9945) -Fix: bridges were not properly marked dirty when adding/removing roadtypes. 2007-05-26 21:45:16 +00:00
rubidium
fba2106536 (svn r9944) -Fix: tile selection drawn on the wrong height for some road bridges. 2007-05-26 21:34:38 +00:00
rubidium
336c9a5cc4 (svn r9943) -Fix [FS#806]: building roads/trams did take notice of the foundation of the opposite roadtype. 2007-05-26 21:00:48 +00:00
rubidium
b741bd1b1e (svn r9942) -Fix [FS#804]: crash when upgrading both ends of a bridge. 2007-05-26 20:52:23 +00:00
bjarni
ae9b3c41e0 (svn r9941) -Fix: trams could be cloned to appear in normal road depots and vice versa (spotted by Desolator) 2007-05-26 20:30:55 +00:00
rubidium
a88d005c76 (svn r9940) -Fix [FS#805]: upgrading a bridge removed roadtypes. 2007-05-26 20:30:40 +00:00
maedhros
c7897d4422 (svn r9939) -Fix (r3139): EngineHasArticPart(v) is only valid for trains. 2007-05-26 17:06:45 +00:00
bjarni
3963b48f17 (svn r9938) -Fix [FS#799]: 100 wagons train + replace engine
Replacing a unit in a train will now remove the old unit before adding the new one. This will solve issues when max train length has been reached
2007-05-26 17:00:44 +00:00
truelight
ba85ab33d6 (svn r9937) -Codechange: don't define a function that is never declared or used 2007-05-26 16:18:43 +00:00
truelight
0c13d00735 (svn r9936) -Fix: (Un)ScaleByZoom missed a minus sign in some cases 2007-05-26 15:20:13 +00:00
rubidium
235916db4c (svn r9935) -Fix: could not build a drive through station when there when you own the tram bits and the town owns the road. 2007-05-26 14:24:19 +00:00
rubidium
7e6f19ac1c (svn r9934) -Fix (r9923): towns could remove 'half' tram tracks. 2007-05-26 13:00:52 +00:00
rubidium
d21b1acbcc (svn r9933) -Fix (9925): unified a little too much. 2007-05-26 12:34:25 +00:00
truelight
98cf7f5c7b (svn r9932) -Fix: can't assume a zoom-level with MarkAllViewportsDirty, causing segfaults when trying to load savegames in dedicated server via -g (reported by peter1138) 2007-05-26 12:19:54 +00:00
rubidium
01709037c0 (svn r9931) -Fix: some glitches with catenary and bridges. 2007-05-26 10:40:34 +00:00
rubidium
76b1a66498 (svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations. 2007-05-26 09:13:59 +00:00
rubidium
1360c8c116 (svn r9929) -Fix [FS#803]: fix several drawing issues. 2007-05-26 07:58:49 +00:00
peter1138
f2dc086b30 (svn r9928) -Fix (r9805): Default display options were not set correctly. 2007-05-26 07:47:52 +00:00
rubidium
781f8cf61b (svn r9927) -Fix: assert triggered when letting a tram run into the wrong side of a depot. 2007-05-25 23:45:36 +00:00
rubidium
a6ab2f26a0 (svn r9926) -Fix (r9923): the vehicle should continue on the next tile, not 'finishing' the turn. 2007-05-25 23:32:30 +00:00
rubidium
4477734e05 (svn r9925) -Fix: wrong tooltips in station picker. 2007-05-25 23:21:32 +00:00
rubidium
7ce4b8e29c (svn r9924) -Fix: update the road vehicle speeds when stopped and/or running just behind another vehicle. 2007-05-25 22:31:34 +00:00
rubidium
a8d9b4e040 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 2007-05-25 22:07:40 +00:00
rubidium
c3993ee666 (svn r9922) -Fix (r9914): [YAPF] null pointer dereference. 2007-05-25 15:49:14 +00:00
rubidium
9fc73931f1 (svn r9921) -Fix (r9892): ownership wasn't properly propagated on owner changes. 2007-05-25 15:37:12 +00:00
miham
f9cdc944cf (svn r9920) -Update: WebTranslator2 update to 2007-05-25 14:56:27
catalan    - 34 fixed, 15 changed by arnaullv (49)
italian    - 2 fixed by lorenzodv (2)
romanian   - 12 fixed, 11 changed by CrystyB (23)
2007-05-25 12:56:41 +00:00
rubidium
ce84250249 (svn r9919) -Codechange: prepare some more places for more road types. 2007-05-25 11:01:44 +00:00
rubidium
7ec428fe7e (svn r9918) -Fix: the available roadtypes/railtypes were not updated on GRF updates. 2007-05-25 08:47:40 +00:00
rubidium
21546a66f3 (svn r9917) -Codechange: prepare some more areas for more road types. 2007-05-25 08:13:01 +00:00
peter1138
a507341089 (svn r9916) -Codechange: Free memory used by cargo translation tables 2007-05-25 06:39:12 +00:00
rubidium
821e58ac95 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 2007-05-24 22:41:50 +00:00
rubidium
ef48d1012b (svn r9912) -Fix: the AIs could build any road(station)s. 2007-05-24 21:45:54 +00:00
miham
df3a9b4052 (svn r9911) -Update: WebTranslator2 update to 2007-05-24 23:07:47
american   - 2 fixed by WhiteRabbit (2)
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian  - 30 fixed by thetitan (30)
czech      - 34 fixed by Hadez (34)
dutch      - 2 fixed by habell (2)
french     - 2 fixed, 12 changed by glx (14)
hungarian  - 2 fixed by miham (2)
japanese   - 34 fixed, 8 changed by ickoonite (42)
russian    - 42 fixed by HMage (42)
slovak     - 9 fixed by lengyel (9)
turkish    - 25 fixed by jnmbk (25)
ukrainian  - 34 fixed by mad (34)
2007-05-24 21:08:08 +00:00
rubidium
75f0cb28cd (svn r9910) -Codechange: prepare road building/removing commands for more road types. 2007-05-24 09:31:09 +00:00
maedhros
bbc0123cb6 (svn r9909) -Fix (r9897): Highlight road tunnels properly when building them. 2007-05-24 09:24:46 +00:00
rubidium
29123cf275 (svn r9908) -Codechange: prepare the station picker for more road types. 2007-05-24 08:52:28 +00:00
rubidium
d647bc7987 (svn r9907) -Codechange: prepare the road gui for more road types. 2007-05-24 08:36:11 +00:00
belugas
a4c6bca9c2 (svn r9906) -Codechange: Add common properties for both industry and industry tiles specs 2007-05-24 01:12:00 +00:00
maedhros
1242bb9a03 (svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01. 2007-05-23 17:33:03 +00:00
maedhros
cf1a3d9707 (svn r9903) -Fix (r9901): Make the demolish and level land tools work in the scenario editor again. 2007-05-23 14:43:47 +00:00
peter1138
fa72a4ebd1 (svn r9902) -Fix (r9898): Don't check group owner when adding a vehicle to the 'default' group. 2007-05-23 14:02:10 +00:00
maedhros
3b2a1c1c69 (svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted. 2007-05-23 13:52:10 +00:00
maedhros
1a9d43ff40 (svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards. 2007-05-23 12:45:56 +00:00
miham
c35b459d02 (svn r9899) -Update: WebTranslator2 update to 2007-05-22 23:52:38
american   - 32 fixed by WhiteRabbit (32)
brazilian_portuguese - 25 fixed by tucalipe (25)
bulgarian  - 6 fixed by thetitan (6)
danish     - 32 fixed, 21 changed by ThomasA (53)
dutch      - 32 fixed, 3 changed by habell (35)
french     - 32 fixed by glx (32)
german     - 17 fixed by Neonox (17)
hungarian  - 32 fixed by miham (32)
italian    - 32 fixed by lorenzodv (32)
korean     - 29 fixed by darkttd (29)
slovak     - 35 fixed by lengyel (35)
slovenian  - 10 fixed by Necrolyte (10)
spanish    - 34 fixed by eusebio (34)
swedish    - 32 fixed by giddorah (32)
2007-05-22 21:55:37 +00:00
peter1138
056253bef2 (svn r9898) -Fix (r9874): Many...
- Group protection status wasn't changed via a command.
 - Group renaming didn't check group owner (and in fact changed the owner,
   just like renaming a sign...).
 - Added owner checks to other group commands.
 - Invalidate window data after the command has been completed instead of after
   the command has been sent. This fixes gui issues in network play.
2007-05-22 19:48:11 +00:00
rubidium
33c3420ef4 (svn r9897) -Codechange: prepare the toolbar for more road types. 2007-05-21 21:58:31 +00:00
glx
bba732921f (svn r9896) -Fix (r9874): when selling an entire train, decrease the number of vehicles in the group only once 2007-05-21 17:19:01 +00:00
rubidium
7935cf7754 (svn r9895) -Fix: assertion when removing roadstop. 2007-05-21 16:58:23 +00:00
rubidium
34c3ecc80b (svn r9894) -Fix (r9892): catenary was drawn on road bridges ;) 2007-05-20 22:43:26 +00:00
rubidium
fe420111e8 (svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads. 2007-05-20 22:04:24 +00:00
rubidium
51109475a2 (svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile. 2007-05-20 19:14:08 +00:00
rubidium
78243fbd3d (svn r9891) -Fix [FS#787]: the manage list menu wasn't removed/updated when changing to another group making it able to perform "group" actions for "all vehicles", which would cause a crash. 2007-05-20 18:34:47 +00:00
peter1138
d20e06f9b6 (svn r9890) -Codechange: Don't allocate space for 0 spriteset ranges 2007-05-20 16:17:03 +00:00
peter1138
45d1c92030 (svn r9889) -Codechange: Use cargo's freight status for choosing livery scheme. 2007-05-20 10:27:43 +00:00
peter1138
ee2feef6e7 (svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and using the goods sprite if really nothing is returned. 2007-05-20 09:17:42 +00:00
peter1138
72972a1712 (svn r9887) -Fix (r9867): Industry production statistics messed up... 2007-05-20 05:53:19 +00:00
belugas
2e65d6e4e7 (svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec. 2007-05-20 00:50:06 +00:00
truelight
ecb8585bd4 (svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
2007-05-19 23:52:04 +00:00
truelight
d2c750b2c9 (svn r9884) -Feature: 2 new zoom-out levels: 8 times and 16 times
-Codechange: unified the blitter function so we have 1 function for all zoom-levels
-Codechange: make most of the label functions work with zoom-level instead of magic numbers and big switches per zoom-level
-Codechange: MakeXXXDirty() functions didn't take into account zoom-level, but just used the biggest possible value
-Codechange: simplified blitter functions to avoid code duplication
2007-05-19 22:48:04 +00:00
peter1138
6670d1c018 (svn r9883) -Fix (r4965): [NewGRF] Check for overflow and carry over when adding to the existing value. 2007-05-19 22:37:24 +00:00
rubidium
821c0acf4d (svn r9882) -Fix (r9874): the "default group" is also a valid group in some cases. 2007-05-19 21:47:14 +00:00
rubidium
6ef7915e6e (svn r9881) -Fix (FS#782, r9874): accidentally removed one condition too many causing asserts. 2007-05-19 20:15:50 +00:00
glx
1e696cc27b (svn r9880) -Add: [NewGRF] Add action 7/9 condition 0B/0C (cargo type availability) 2007-05-19 19:13:12 +00:00
rubidium
a7edb4e914 (svn r9879) -Fix (r9874): global autoreplace was little broken ;) 2007-05-19 12:46:48 +00:00
rubidium
86bb5cc2a6 (svn r9878) -Fix (9874): some vehicle count's were not properly updated on delete or autoreplace of vehicles. 2007-05-19 12:29:09 +00:00
peter1138
44b7f10db1 (svn r9877) -Revert (r9876): one file too many... 2007-05-19 11:18:22 +00:00
peter1138
d22478a22b (svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo production) 2007-05-19 11:17:30 +00:00
peter1138
da204ca17f (svn r9875) -Fix (r9828): Only set carriage capacity if the wagon has not been refitted. 2007-05-19 10:29:51 +00:00
rubidium
8f0f090c51 (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13. 2007-05-19 09:40:18 +00:00
peter1138
9a4b4ba448 (svn r9873) -Codechange: Add missing second callback parameter for houses 2007-05-19 09:13:08 +00:00
rubidium
c17c5e972b (svn r9872) -Codechange: more type strictness for vehicle types 2007-05-18 23:38:29 +00:00
peter1138
96e9044249 (svn r9871) -Fix (r8826): Some cargo costs were wrong for different climates. Multiple definitions of the same cargo type are sometimes required. 2007-05-18 21:50:32 +00:00
belugas
662bee5b12 (svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct 2007-05-18 17:55:07 +00:00
rubidium
c8d05162c2 (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness. 2007-05-18 17:31:41 +00:00
belugas
2a7442fda4 (svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment 2007-05-18 14:34:15 +00:00
belugas
c4b90f3137 (svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead. 2007-05-18 00:33:47 +00:00
rubidium
b007a3419c (svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later. 2007-05-17 20:19:55 +00:00
glx
91e638271c (svn r9865) -Fix (r9862): NOT_REACHED() and error() declarations are needed for strgen 2007-05-17 20:00:45 +00:00
rubidium
b91ef25683 (svn r9862) -Fix (9842): strgen's error() does return in contrast to OTTD's error(). 2007-05-17 13:36:00 +00:00
rubidium
c624eb04e7 (svn r9861) -Fix: null pointer derefence under MorphOS and AmigaOS. 2007-05-17 12:06:47 +00:00
rubidium
533ddeb9e6 (svn r9857) -Fix: loading of TTDP savegames with features that OTTD has. 2007-05-16 21:28:23 +00:00
rubidium
c32d38a2b7 (svn r9855) -Fix: [FS#779] do not perform any commands on MP_VOID tiles. 2007-05-16 08:20:37 +00:00
belugas
641d51a5ad (svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-15 21:36:58 +00:00
truelight
7f88f14f64 (svn r9848) -Fix r9846: how every many times you check something, of course you always switch them at the last moment... UnScaleByZoom was ScaleByZoom and visa versa... (tnx to yeti_ for noticing) 2007-05-15 17:54:46 +00:00
miham
696b1f3463 (svn r9847) -Update: WebTranslator2 update to 2007-05-15 19:41:41
estonian   - 10 fixed by kristjans (10)
japanese   - 9 fixed by ickoonite (9)
traditional_chinese - 21 changed by xbddc (21)
2007-05-15 17:41:50 +00:00
truelight
b605f68631 (svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
2007-05-15 16:08:46 +00:00
truelight
dc191785db (svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
2007-05-15 14:08:39 +00:00
rubidium
3615d2aeee (svn r9843) -Fix (r9838): tell the newgrfs that we now support proper FIFO loading. 2007-05-15 13:38:43 +00:00
rubidium
f17f17fa45 (svn r9842) -Codechange: now NOT_REACHED is also triggered when debugging is disabled. 2007-05-15 13:01:52 +00:00
rubidium
08be68e0b4 (svn r9841) -Codechange: add a little more type strictness to the vehicle types. 2007-05-15 11:28:22 +00:00
rubidium
0f81140b59 (svn r9840) -Fix (r9838): MSVC is complaining about signedness again (Belugas). 2007-05-15 06:20:16 +00:00
rubidium
394946d4bc (svn r9839) -Fix: vehicles in old savegames could leave the station because the changed loading algorithm thought it was already finished. 2007-05-14 20:17:26 +00:00
rubidium
49476d46e6 (svn r9838) -Fix: make "improved loading" a proper improved loading instead of loading one (semi-)random vehicle at a time:
- Now it is really FIFO.
 - When there is enough cargo to fill the first vehicle in the queue, the next vehicle in the queue start loading (and the next when ....).
2007-05-14 20:12:32 +00:00
peter1138
948100c260 (svn r9837) -Fix: [NewGRF] Catch occurance of division-by-zero in varaction handling. 2007-05-14 17:37:34 +00:00
rubidium
07bdd6c3cc (svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading. 2007-05-14 16:07:05 +00:00
truelight
5f0e384ac0 (svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible 2007-05-14 15:20:50 +00:00
glx
f739aedf5b (svn r9834) -Add: win9x check in win32 builds 2007-05-14 14:06:46 +00:00
rubidium
fcb5e74fbb (svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing. 2007-05-14 08:07:20 +00:00
rubidium
29ebda5b15 (svn r9832) -Fix: leave the station when manually skipping to the next order and we are currently (un)loading. 2007-05-13 22:10:04 +00:00
rubidium
5ae882a184 (svn r9831) -Codechange: more refactoring of the loading/unloading. 2007-05-13 21:24:58 +00:00
belugas
eec76d9b49 (svn r9830) -Fix(r9779) : Let the town expand and build new houses along the roads of the users, even in case of "No Road" layout (skiddl13) 2007-05-13 00:11:13 +00:00
rubidium
82ca197a10 (svn r9829) -Codechange: more refactoring of the unloading algorithm. 2007-05-12 09:09:10 +00:00
peter1138
e16ea9b758 (svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains. 2007-05-12 07:05:34 +00:00
peter1138
aae8d359e6 (svn r9827) -Codechange/Fix: [NewGRF] Text strings of 1 character are perfectly valid... (fixes dbsetxl refits again...) 2007-05-11 19:22:43 +00:00
peter1138
f7ccb6e31e (svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement. 2007-05-10 23:10:23 +00:00
maedhros
304075b389 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 2007-05-10 16:03:06 +00:00
peter1138
acf5496681 (svn r9819) -Codechange: Take account of AMED_HOLD in OTTD/TTDP state translation (bulb) 2007-05-10 09:21:22 +00:00
peter1138
fe5830c4b7 (svn r9818) -Codechange: Cache wagon override sprite set whenever consist is changed, instead of 'recalculating' it every time it is used or just tested. 2007-05-10 06:42:43 +00:00
rubidium
4500c365e1 (svn r9817) -Fix [FS#772]: an assertion that was triggered by the AI building when its rating for the town was not high enough. 2007-05-09 20:50:11 +00:00
rubidium
e6a6d7ef31 (svn r9815) -Fix (r9761) [FS#769): transfers weren't accounted in the vehicle profits. 2007-05-08 16:42:48 +00:00
maedhros
7b5e3dbb82 (svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files. 2007-05-08 14:28:55 +00:00
rubidium
7cd82bd6f5 (svn r9813) -Fix (r9799): wagons must have EC_STEAM, otherwise they don't show up in the purchase list (mart3p). 2007-05-08 08:41:16 +00:00
peter1138
70dcd881e4 (svn r9812) -Fix (r9679): Obiwan prevented proper display of last transparency button. 2007-05-07 20:25:20 +00:00
miham
93580ad713 (svn r9811) -Update: WebTranslator2 update to 2007-05-07 19:59:41
american   - 11 fixed by WhiteRabbit (11)
danish     - 11 fixed by ThomasA (11)
dutch      - 9 fixed, 2 changed by Zr40 (11)
2007-05-07 17:59:50 +00:00
peter1138
1f552686d8 (svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01) 2007-05-07 17:10:30 +00:00
peter1138
4cfef9b7f5 (svn r9809) -Codechange: [NewGRF] Add callback 36 properties to purchase lists and add running cost changing for ships. 2007-05-07 16:38:21 +00:00
rubidium
a84ca16dc4 (svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions. 2007-05-07 16:21:34 +00:00
rubidium
2813b4440b (svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station. 2007-05-07 15:58:05 +00:00
peter1138
ebe81b98ce (svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types. 2007-05-07 13:26:10 +00:00
peter1138
e4ada15d49 (svn r9805) -Codechange: Use HASBIT() et al for display options bits. 2007-05-07 11:24:23 +00:00
peter1138
152664e541 (svn r9804) -Fix (r9761): Update aircraft cached information when its 'pos' changes, as well as 'state'. (Thanks to bulb) 2007-05-06 21:10:49 +00:00
rubidium
b159fb0898 (svn r9803) -Feature(tte): support for "curvature info", Action 2 for train, variable 45 (mart3p). 2007-05-06 20:05:10 +00:00
rubidium
eecf806cfc (svn r9802) -Fix: a vehicle without visual effects isn't per definition unpowered (mart3p). 2007-05-06 20:00:36 +00:00
rubidium
6c967ddbfd (svn r9801) -Fix: do not assume that trains running on monorail/maglev cannot smoke/spark (mart3p). 2007-05-06 19:58:34 +00:00
rubidium
969366354d (svn r9800) -Codechange: play sound effects based on the engine class, not the rail type (mart3p). 2007-05-06 19:51:25 +00:00
rubidium
f47e81c900 (svn r9799) -Codechange: separate engine class and engine running cost class (mart3p). 2007-05-06 19:44:22 +00:00
peter1138
e109773636 (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 2007-05-06 18:14:33 +00:00
miham
7b65a015c8 (svn r9796) -Update: WebTranslator2 update to 2007-05-06 19:05:33
brazilian_portuguese - 10 fixed by tucalipe (10)
bulgarian  - 5 fixed by thetitan (5)
catalan    - 9 fixed by arnaullv (9)
czech      - 9 fixed by Hadez (9)
esperanto  - 11 fixed by LaPingvino (11)
finnish    - 11 fixed by habazi (11)
french     - 9 fixed by belugas (9)
german     - 9 fixed by Neonox (9)
hungarian  - 9 fixed by miham (9)
italian    - 9 fixed by lorenzodv (9)
japanese   - 2 fixed by ickoonite (2)
korean     - 9 fixed by darkttd (9)
norwegian_nynorsk - 11 fixed by pollux (11)
polish     - 8 fixed by meush (8)
portuguese - 21 fixed, 6 changed by supra90 (27)
romanian   - 11 fixed by kneekoo (11)
spanish    - 2 fixed by eusebio (2)
swedish    - 11 fixed by giddorah (11)
traditional_chinese - 11 fixed, 2 changed by xbddc (13)
turkish    - 8 fixed by jnmbk (8)
ukrainian  - 11 fixed by mad (11)
2007-05-06 17:06:10 +00:00
rubidium
425923c8d2 (svn r9795) -Codechange: enumify the EngineClass. 2007-05-06 15:01:44 +00:00
rubidium
9a893ebe20 (svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle. 2007-05-06 14:59:01 +00:00
maedhros
b219b7b53a (svn r9793) -Fix (r9701): Action D 'TTDPatch variable' 0x0B should be the starting year, not the current year. 2007-05-06 09:12:58 +00:00
maedhros
755f2327d3 (svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor. 2007-05-06 08:50:03 +00:00
glx
c67f068a84 (svn r9791) -Fix (r9779, FS#766): add TownLayoutByte to correctly save town layout value 2007-05-05 23:21:49 +00:00
peter1138
9adf583122 (svn r9790) -Codechange: [NewGRF] Skip action 1 sprites in all stages except activation. This also cleans up some special-case handling of the sprites. Actions 1 and 2 are now not considered unsafe, as an Action 3 (which is unsafe) is required for them. 2007-05-05 10:47:35 +00:00
rubidium
d52b515de8 (svn r9789) -Fix (r9770): vehicles didn't get unloaded when 'full load' was specified and the vehicle was already full when it entered. 2007-05-05 09:51:26 +00:00
glx
4b4fb32e8a (svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players 2007-05-04 22:45:37 +00:00
rubidium
bc1901a6e4 (svn r9784) -Codechange: remove unused variable. 2007-05-04 22:38:36 +00:00
peter1138
93793eb89a (svn r9780) -Codechange: [NewGRF] Add support for variable vehicle weight for trains (callback 36, property 16) 2007-05-04 19:24:01 +00:00
belugas
b559b8f9ff (svn r9779) -Feature: Add the possiblity to choose different road patterns for towns to use.
Possible patterns are : 
No Road (not available in scenario editor)
Original (for the nostalgics)
Better Roads (same as original, but based on distance of 2 tiles instead of one)
2x2 grids
3x3 grids
Patch by skiddl13
2007-05-04 16:27:13 +00:00
peter1138
cef3e9bde1 (svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings. 2007-05-04 07:08:35 +00:00
miham
9809facd13 (svn r9774) -Update: WebTranslator2 update to 2007-05-03 22:30:56
brazilian_portuguese - 1 fixed by tucalipe (1)
bulgarian  - 2 fixed by thetitan (2)
catalan    - 2 fixed by arnaullv (2)
czech      - 2 fixed by Hadez (2)
dutch      - 2 fixed by habell (2)
estonian   - 1 fixed, 1 changed by kristjans (2)
french     - 2 fixed by belugas (2)
german     - 3 fixed by Neonox (3)
hungarian  - 2 fixed by miham (2)
italian    - 2 fixed by lorenzodv (2)
korean     - 2 fixed by leejaeuk5 (1), darkttd (1)
norwegian_nynorsk - 19 fixed, 3 changed by pollux (22)
russian    - 1 fixed, 33 changed by HMage (34)
slovak     - 1 fixed, 15 changed by lengyel (16)
slovenian  - 1 fixed by Necrolyte (1)
2007-05-03 20:31:25 +00:00
glx
2b05a306e2 (svn r9773) -Fix r9772: MSVC warning 2007-05-03 17:07:51 +00:00
rubidium
e11e91b02c (svn r9772) -Fix [r9770,FS#761]: under some circumstances loading/unloading didn't work (correctly). 2007-05-03 11:02:37 +00:00
peter1138
15aaaf3c6f (svn r9771) -Feature: (-tte) Add password protected status to 'players' (network server) console command. (mostly dihedral) 2007-05-02 19:00:59 +00:00
rubidium
cc9d811f53 (svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station. 2007-05-02 18:29:11 +00:00
belugas
8165fac424 (svn r9769) [newGRF] -Feature: Add translation support for Esperanto, Bulgarian, Japanese and Korean 2007-05-02 15:20:48 +00:00
rubidium
0297ce53a8 (svn r9765) -Codechange: constify some class functions. 2007-05-02 09:39:11 +00:00
rubidium
5e4c9ad875 (svn r9764) -Codechange: replace some lookup tables by functions. 2007-05-02 09:29:41 +00:00
rubidium
dfe7c5cd66 (svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either. 2007-05-01 18:17:52 +00:00
belugas
7de20df379 (svn r9762) -Feature: Two new difficulty settings : Very low number of towns and very low number of industries
Based on FS#289, by pitt2
2007-05-01 17:16:51 +00:00
rubidium
53485da02c (svn r9761) -Codechange: refactor cargo payment out of LoadUnloadVehicle. 2007-05-01 16:45:03 +00:00
rubidium
5a46c763f0 (svn r9760) -Codechange: remove the need for saving some vehicle variables. 2007-05-01 16:35:14 +00:00
truelight
fa244119b9 (svn r9759) -Add: added threading code for MorphOS (tokai) 2007-05-01 15:25:00 +00:00
peter1138
b2a7a49adc (svn r9758) -Fix (FS#756): Ignore bit 1 (axis) of station tile layouts 2007-05-01 06:43:18 +00:00
rubidium
6f24a1ca7a (svn r9757) -Fix [FS#1244842]: when you have closed the "Load game"/"New game" windows accessible from the "New Server" window, any creation of new game/loading from the intro menu should not start a server. 2007-04-30 20:05:31 +00:00
rubidium
84c27fc773 (svn r9756) -Fix [FS#755]: LeaveStation wasn't always called when a station was left. 2007-04-29 22:51:12 +00:00
rubidium
df59f5cd15 (svn r9755) -Codechange: refactor some more of the begin loading stuff. 2007-04-29 22:33:51 +00:00