Commit Graph

957 Commits

Author SHA1 Message Date
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
KUDr 3df2656633 (svn r9694) -Fix [YAPF][FS#736]: the guessed path (when PF stopped on max. # of nodes passed) was ignored for ships (desolator) 2007-04-20 19:19:23 +00:00
KUDr 4728765870 (svn r9693) -Codechange [YAPF]: GetBestNode() now returns pointer to node instead of reference 2007-04-20 19:13:35 +00:00
rubidium 17dc1c6336 (svn r9692) -Fix (r9683): don't try to remove vehicles from the queue of a non-existing station. 2007-04-20 17:52:28 +00:00
peter1138 98fe82da66 (svn r9691) -Fix (r9683): Forgotten savegame bump... 2007-04-20 17:26:10 +00:00
peter1138 8e457248a7 (svn r9690) -Codechange: Update another couple of NewGRF TTDPatch flags 2007-04-20 17:23:33 +00:00
bjarni aa0e97e3ce (svn r9689) -Fix: Clone vehicles will no longer refit for free 2007-04-20 17:08:55 +00:00
bjarni 73875647b5 (svn r9688) -Codechange: Created a function to get default cargo type for a cargo type 2007-04-20 16:56:55 +00:00
miham afea22e013 (svn r9687) -Update: WebTranslator2 update to 2007-04-20 17:51:25
romanian   - 2 fixed by kneekoo (2)
simplified_chinese - 9 fixed by Fishingsnow (9)
slovak     - 2 fixed by lengyel (2)
slovenian  - 2 fixed by Necrolyte (2)
traditional_chinese - 2 changed by xbddc (2)
2007-04-20 15:52:07 +00:00
peter1138 67529d2e63 (svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags 2007-04-20 15:03:58 +00:00
maedhros 034f3591cf (svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station is sent to a depot. 2007-04-20 11:39:01 +00:00
maedhros 8b65349d86 (svn r9684) -Fix (r9683): Remove vehicles from the station loading list instead of adding
them again when they leave, and add a v->LeaveStation() call for aircraft.
2007-04-20 11:05:56 +00:00
rubidium fdf86bb4a2 (svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains. 2007-04-20 08:00:30 +00:00