truelight
d7b4fb80d0
(svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible
2007-05-14 15:20:50 +00:00
glx
62fe9c2e42
(svn r9834) -Add: win9x check in win32 builds
2007-05-14 14:06:46 +00:00
rubidium
42f920964b
(svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing.
2007-05-14 08:07:20 +00:00
rubidium
e72ab0fdf5
(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
d78651f7b1
(svn r9831) -Codechange: more refactoring of the loading/unloading.
2007-05-13 21:24:58 +00:00
belugas
2ccc060b4a
(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
c46a00aba7
(svn r9829) -Codechange: more refactoring of the unloading algorithm.
2007-05-12 09:09:10 +00:00
peter1138
1d5135830a
(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
5e00e688f8
(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
c9018d3e7c
(svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement.
2007-05-10 23:10:23 +00:00
maedhros
3cc31aae86
(svn r9823) -Feature: Add support for house property 1F - minimum life span.
2007-05-10 16:03:06 +00:00
peter1138
9643fd7638
(svn r9819) -Codechange: Take account of AMED_HOLD in OTTD/TTDP state translation (bulb)
2007-05-10 09:21:22 +00:00
peter1138
dc2073b96e
(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
f24f9d5a2e
(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
2d86e87a3d
(svn r9815) -Fix (r9761) [FS#769): transfers weren't accounted in the vehicle profits.
2007-05-08 16:42:48 +00:00
maedhros
d098e88035
(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
5869384530
(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
e0a276c1a2
(svn r9812) -Fix (r9679): Obiwan prevented proper display of last transparency button.
2007-05-07 20:25:20 +00:00
miham
e52a953e99
(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
e643aeaed2
(svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01)
2007-05-07 17:10:30 +00:00
peter1138
bc7d762196
(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
2efecd34c4
(svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions.
2007-05-07 16:21:34 +00:00
rubidium
161786e222
(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
4591fb5b0d
(svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types.
2007-05-07 13:26:10 +00:00
peter1138
0de85b7eb0
(svn r9805) -Codechange: Use HASBIT() et al for display options bits.
2007-05-07 11:24:23 +00:00
peter1138
76ee6d1c82
(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
b46e37774d
(svn r9803) -Feature(tte): support for "curvature info", Action 2 for train, variable 45 (mart3p).
2007-05-06 20:05:10 +00:00
rubidium
feadd86819
(svn r9802) -Fix: a vehicle without visual effects isn't per definition unpowered (mart3p).
2007-05-06 20:00:36 +00:00
rubidium
411985b13a
(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
208e40a839
(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
fe1306ce65
(svn r9799) -Codechange: separate engine class and engine running cost class (mart3p).
2007-05-06 19:44:22 +00:00
peter1138
37a873e03c
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
2007-05-06 18:14:33 +00:00
miham
b0e3c0d40a
(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
5c0a52149d
(svn r9795) -Codechange: enumify the EngineClass.
2007-05-06 15:01:44 +00:00
rubidium
abbaa1691e
(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
cf927a9792
(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
b81a390d47
(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
41bbc5c990
(svn r9791) -Fix (r9779, FS#766): add TownLayoutByte to correctly save town layout value
2007-05-05 23:21:49 +00:00
peter1138
74bf87dd82
(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
438d55d576
(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
79637ef7b8
(svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players
2007-05-04 22:45:37 +00:00
rubidium
b76cc8c96b
(svn r9784) -Codechange: remove unused variable.
2007-05-04 22:38:36 +00:00
peter1138
e81906c62d
(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
aff49954bf
(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
449e76c05a
(svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings.
2007-05-04 07:08:35 +00:00
miham
574013a920
(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
a7c39f7325
(svn r9773) -Fix r9772: MSVC warning
2007-05-03 17:07:51 +00:00
rubidium
9194d5ab9e
(svn r9772) -Fix [r9770,FS#761]: under some circumstances loading/unloading didn't work (correctly).
2007-05-03 11:02:37 +00:00
peter1138
c584b7a401
(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
981bf52bdd
(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
e4dc1f460b
(svn r9769) [newGRF] -Feature: Add translation support for Esperanto, Bulgarian, Japanese and Korean
2007-05-02 15:20:48 +00:00
rubidium
951c74806f
(svn r9765) -Codechange: constify some class functions.
2007-05-02 09:39:11 +00:00
rubidium
dce7dcb664
(svn r9764) -Codechange: replace some lookup tables by functions.
2007-05-02 09:29:41 +00:00
rubidium
1bea3b55a6
(svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either.
2007-05-01 18:17:52 +00:00
belugas
9b7a615887
(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
f25a168c98
(svn r9761) -Codechange: refactor cargo payment out of LoadUnloadVehicle.
2007-05-01 16:45:03 +00:00
rubidium
a4e045a3fb
(svn r9760) -Codechange: remove the need for saving some vehicle variables.
2007-05-01 16:35:14 +00:00
truelight
2ccee752fd
(svn r9759) -Add: added threading code for MorphOS (tokai)
2007-05-01 15:25:00 +00:00
peter1138
7ce17c9577
(svn r9758) -Fix (FS#756): Ignore bit 1 (axis) of station tile layouts
2007-05-01 06:43:18 +00:00
rubidium
0aad91f43b
(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
cbd9a1bf0d
(svn r9756) -Fix [FS#755]: LeaveStation wasn't always called when a station was left.
2007-04-29 22:51:12 +00:00
rubidium
ec9ac99d01
(svn r9755) -Codechange: refactor some more of the begin loading stuff.
2007-04-29 22:33:51 +00:00
rubidium
202009522c
(svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches.
2007-04-29 21:24:08 +00:00
bjarni
95e48eacac
(svn r9753) -Fix [FS#732]: trains are lost after autorenewal/autoreplace
...
v->dest_tile is now copied when replacing the front engine
2007-04-29 20:16:58 +00:00
rubidium
6440440f12
(svn r9752) -Codechange: remove some duplication related to BeginLoading.
2007-04-29 18:21:24 +00:00
KUDr
bf04c88eca
(svn r9746) -Codechange [YAPF]: added DEBUGs level 0 if the current train order is OT_GOTO_WAYPOINT and waypoint is invalid or v->dest_tile is wrong
2007-04-29 10:14:42 +00:00
KUDr
027597f485
(svn r9745) -Codechange [YAPF}: if destination is a waypoint then YAPF gets destination tile from that waypoint->xy instead of from v->dest_tile
2007-04-29 09:55:32 +00:00
maedhros
469c04478a
(svn r9743) -Fix [FS#598]: Stop flooded towns from building roads on water.
2007-04-29 09:18:52 +00:00
maedhros
02e770ff2c
(svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, hopefully for good this time.
2007-04-29 08:43:00 +00:00
rubidium
ccf4ddc06f
(svn r9741) -Fix [FS#672]: station signs were not resized when the language changed, causing overflows in the coloured sign background.
2007-04-29 07:24:48 +00:00
truelight
347bfc7f9f
(svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment
2007-04-28 22:23:10 +00:00
maedhros
6ebe60fc17
(svn r9734) -Feature: Add an option to automatically pause when starting a new game.
2007-04-28 15:06:32 +00:00
truelight
57ad2dd0fb
(svn r9731) -Fix [FS#677]: in news history, newlines weren't replaced with spaces, making it look ugly from time to time
2007-04-28 10:41:00 +00:00
maedhros
889f2ab48c
(svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles.
2007-04-27 21:35:02 +00:00
rubidium
e1057864d8
(svn r9729) -Documentation: add some documentation in various places
2007-04-27 21:29:36 +00:00
glx
75ba8f4489
(svn r9728) -Fix r9086: [win32] For some keyboard layout the 'console' key is a dead-key. It needs to be pressed twice to have an effect but the console is then opened and closed on the 'same' keypress (2 WM_CHAR events). So skip the first WM_CHAR generated to restore the 'console' key functionality.
2007-04-27 21:27:02 +00:00
peter1138
b02623901a
(svn r9727) -Fix (r8546): Company password field in network player info was inverted.
2007-04-27 20:50:49 +00:00
rubidium
6b37ea7b47
(svn r9726) -Fix [FS#738]: crash when destroying bridge with train partially one it.
2007-04-27 20:01:25 +00:00
rubidium
49cd2374bb
(svn r9725) -Fix [FS#743]: plane made a 270 degree turn instead of a 90 degree turn on take off from the southern runway.
2007-04-27 19:47:39 +00:00
miham
9c741dd325
(svn r9724) -Update: WebTranslator2 update to 2007-04-27 20:28:02
...
american - 2 fixed by WhiteRabbit (2)
brazilian_portuguese - 2 fixed by fukumori (2)
russian - 10 changed by HMage (10)
ukrainian - 1 changed by mad (1)
2007-04-27 18:28:44 +00:00
belugas
436cb70988
(svn r9722) -Documentation: Document some functions of town_cmd.cpp. Loosely based on work from TheJosh
...
More to come.
2007-04-27 02:27:44 +00:00
belugas
5912b08890
(svn r9721) -Codechange: -Codechange: Cleanup of industry_cmd (Step-12). Dynamically build the legends (name and color) for industries in the smallmap_gui.
...
All the tiny fonts industry names should be removed from language files soon.
2007-04-26 20:20:12 +00:00
peter1138
5577d5c86c
(svn r9720) -Codechange: Remove global var and gotos from window autoplacement
2007-04-26 17:32:54 +00:00
rubidium
b469c443e9
(svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255.
2007-04-26 07:41:24 +00:00
peter1138
4d0483b650
(svn r9718) -Fix: Don't allow building of rail vehicles whose railtype isn't available yet. This also affects the rail purchase window.
2007-04-26 07:24:19 +00:00
peter1138
5b5598b2a6
(svn r9717) -Codechange: (NewGRF) Skip Action 5 & A sprites in all loading stages except activation.
2007-04-26 06:49:32 +00:00
glx
c1b898392e
(svn r9716) -Add: server_lang in [network] section of openttd.cfg, so dedicated servers can have the little lang flag.
2007-04-25 17:40:06 +00:00
miham
78e542a62e
(svn r9715) -Update: WebTranslator2 update to 2007-04-24 21:45:15
...
italian - 2 changed by lorenzodv (2)
portuguese - 9 fixed by izhirahider (9)
russian - 3 fixed, 328 changed by HMage (331)
simplified_chinese - 7 fixed by Fishingsnow (7)
traditional_chinese - 1 changed by xbddc (1)
2007-04-24 19:45:59 +00:00
peter1138
1164c275af
(svn r9714) -Fix (r8110): Remove invalid assertion triggered by overly long trains being reversed while loading.
2007-04-24 19:05:16 +00:00
peter1138
fa180a15cc
(svn r9712) -Codechange: Implement accepted cargo types and cargo acceptance (there is a difference) callbacks for newhouses.
2007-04-21 20:23:20 +00:00
truelight
a5b77fad87
(svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD
2007-04-21 13:20:20 +00:00
maedhros
ac0c371d5a
(svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index.
2007-04-21 08:51:42 +00:00
peter1138
e5a314399a
(svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary storage array.
2007-04-21 07:27:16 +00:00
peter1138
01ae38e3d7
(svn r9706) -Codechange: Support NewGRF town var 40 'largertowns' variable properly.
2007-04-21 07:17:14 +00:00
belugas
3a1e7679d8
(svn r9705) -Codechange: Merge some data arrays together, making a bit more logical units.
...
Calculate with a macro (for _industry_anim_offs_toys) the value of x, instead of doing it at run time.
And give some more descriptive names too...
2007-04-21 02:47:33 +00:00
belugas
803b073c59
(svn r9704) -Documentation: Add comments on industry data macro
2007-04-21 02:42:51 +00:00
peter1138
1052b0e8f1
(svn r9703) -Codechange: support callback 36 in vehicle purchase lists
2007-04-20 21:42:06 +00:00
peter1138
15bfaba259
(svn r9702) -Codechange: Add livery support to newgrf vehicle var 43
2007-04-20 21:21:47 +00:00
peter1138
a4b3066433
(svn r9701) -Codechange: Add support for returning 'ttdpatch variables' - http://wiki.ttdpatch.net/tiki-index.php?page=ActionDSpecialVariables
2007-04-20 21:19:28 +00:00
KUDr
d0de381c30
(svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx)
2007-04-20 19:43:06 +00:00