Commit Graph

9506 Commits

Author SHA1 Message Date
rubidium
c97a045f57 (svn r13489) -Fix: first determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good. 2008-06-12 14:41:29 +00:00
smatz
fe6f09e66e (svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile 2008-06-12 13:40:07 +00:00
rubidium
e2bcbd5c50 (svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles. 2008-06-12 11:15:43 +00:00
peter1138
1c79b92989 (svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles 2008-06-12 09:25:04 +00:00
smatz
ea4c46da99 (svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker) 2008-06-11 21:37:36 +00:00
rubidium
8e7f5072ce (svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies. 2008-06-11 19:57:45 +00:00
smatz
52e1ca3ba3 (svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often 2008-06-11 17:35:55 +00:00
smatz
a3e0078ef2 (svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts 2008-06-11 17:10:36 +00:00
smatz
c009a253dc (svn r13477) -Fix (r13464): correct tile type in the Query tile info window 2008-06-11 16:24:00 +00:00
rubidium
e4675ed05e (svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct. 2008-06-11 16:22:07 +00:00
smatz
6d4474d819 (svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt 2008-06-11 15:56:55 +00:00
glx
7b8b5f9a8d (svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value) 2008-06-11 15:08:52 +00:00
rubidium
7ccf05ff35 (svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future. 2008-06-11 14:55:02 +00:00
rubidium
6f550fc4ca (svn r13468) -Fix: make aqueducts a little more expensive than normal bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either. 2008-06-11 14:51:31 +00:00
rubidium
137f2c072a (svn r13466) -Fix (r13464): slope checking got lost during development... 2008-06-11 14:13:07 +00:00
rubidium
ee843728bf (svn r13464) -Codechange: support NewGRF Action 0x05, type 12. 2008-06-11 13:54:01 +00:00
smatz
2475d0010b (svn r13462) -Codechange: move DriverFactoryBase destructor definition from header file (saves ~16kB) 2008-06-11 12:46:28 +00:00
smatz
506cde94b6 (svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places 2008-06-10 21:59:22 +00:00
belugas
0e78f51801 (svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch) 2008-06-10 17:47:55 +00:00
smatz
4ce73a679c (svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in drawing (depends on architecture and compiler) 2008-06-10 17:28:37 +00:00
rubidium
199b3d7886 (svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now. 2008-06-10 16:46:11 +00:00
belugas
ff419b7182 (svn r13443) -Feature[newGRF]: Add var 0x69 for industries, long format construction date.
Same as var B0, but base year is now 0, instead of 1920
2008-06-10 16:10:54 +00:00
belugas
03e2d30a33 (svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house. 2008-06-10 00:42:19 +00:00
smatz
e1d2cd6983 (svn r13434) -Fix (r13317): news window with invalid news item could be shown 2008-06-09 12:20:00 +00:00
rubidium
35f3284a60 (svn r13433) -Codechange: remove a now useless global variable.
-Fix: MP advertising was not advertising.
2008-06-09 12:17:01 +00:00
rubidium
b9eea93237 (svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened. 2008-06-08 19:18:01 +00:00
rubidium
f80d8dbe0c (svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes. 2008-06-08 15:27:57 +00:00
rubidium
b830e6c714 (svn r13413) -Codechange: remove some enums that haven't been used for years. 2008-06-08 12:28:23 +00:00
truebrain
e767b4f778 (svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations) 2008-06-08 12:06:27 +00:00
rubidium
4657ae97fc (svn r13411) -Codechange: remove the return value from the thread procs because it is never used. 2008-06-08 10:51:36 +00:00
rubidium
d49a86cf48 (svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order. 2008-06-08 09:14:30 +00:00
rubidium
e2adaf59b2 (svn r13408) -Codechange: some stricter checking. 2008-06-08 08:44:19 +00:00
miham
f8c6872d45 (svn r13400) -Update: WebTranslator2 update to 2008-06-07 18:14:28
korean     - 8 fixed, 16 changed by leejaeuk5 (24)
romanian   - 5 fixed, 185 changed by CrystyB (190)
russian    - 1 changed by Smoky555 (1)
2008-06-07 16:15:20 +00:00
frosch
5dd1387508 (svn r13397) -Fix: Do not crash when resolving vehicle sprite groups with zero sprites. 2008-06-07 00:06:36 +00:00
glx
6d3f35af8f (svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs) 2008-06-06 19:27:09 +00:00
glx
b60a1326bf (svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror(). 2008-06-05 20:54:52 +00:00
rubidium
bb758700a8 (svn r13389) -Codechange: remove NM_CALLBACK because that information could be gathered from the fact that a callback has been specified. Patch by Cirdan. 2008-06-05 16:55:00 +00:00
peter1138
0a41936df8 (svn r13388) -Codechange: Remove "my invented flag for something that is a wagon" 2008-06-05 12:08:20 +00:00
rubidium
5990a92bca (svn r13387) -Fix: industry directory sorting not working correctly (= != ==) 2008-06-05 11:34:26 +00:00
rubidium
e8767f730a (svn r13386) -Fix: global currency/units setting being overriden when loading a savegame. 2008-06-05 11:26:38 +00:00
peter1138
ecfac35ccc (svn r13385) -Fix (r12137): In the purchase list, CB36 for capacity was not called for the first part of rail and road vehicles. 2008-06-05 07:38:22 +00:00
miham
9096f8ac55 (svn r13384) -Update: WebTranslator2 update to 2008-06-05 08:15:43
brazilian_portuguese - 9 fixed, 6 changed by tucalipe (15)
catalan    - 9 fixed by arnaullv (9)
croatian   - 13 fixed by knovak (13)
czech      - 33 fixed by Hadez (33)
danish     - 47 fixed by ThomasA (47)
dutch      - 9 fixed by habell (9)
estonian   - 42 fixed, 5 changed by kristjans (47)
finnish    - 5 fixed, 1 changed by kerba (6)
french     - 9 fixed, 2 changed by glx (8), belugas (3)
icelandic  - 75 fixed by scrooge (75)
italian    - 9 fixed, 12 changed by lorenzodv (21)
korean     - 76 fixed, 15 changed by leejaeuk5 (91)
portuguese - 7 fixed by izhirahider (7)
romanian   - 97 fixed, 302 changed by CrystyB (399)
russian    - 12 fixed by Smoky555 (12)
spanish    - 12 fixed by eusebio (12)
swedish    - 13 fixed by ChrillDeVille (6), daishan (7)
turkish    - 39 fixed, 1 changed by jnmbk (40)
ukrainian  - 10 fixed by mad (10)
2008-06-05 06:17:04 +00:00
belugas
c39997508e (svn r13383) -Codechange: Put the cost of house removal in a class member 2008-06-05 01:43:03 +00:00
glx
f4b1d4b48b (svn r13380) -Fix (r13327): MSVC signed/unsigned warning 2008-06-04 22:30:44 +00:00
glx
d74eac6211 (svn r13379) -Fix (r13255): drive side can't be changed in intro 2008-06-04 22:03:22 +00:00
smatz
1f1eea4873 (svn r13378) -Fix (r13375): compilation without network support was broken 2008-06-04 11:21:36 +00:00
peter1138
d4bf483ecd (svn r13377) -Codechange: Let 'long format' build year work in vehicle purchase list. 2008-06-04 06:40:07 +00:00
belugas
840db9bcf0 (svn r13376) -Feature: Add access to current long year and date from Action 7/9/D and VarAction2 (23/24 or A3/A4)
Add access to (long format) building year, in Variational Action2 Variable 49 for Vehicles
2008-06-04 00:17:48 +00:00
smatz
1f55797fe3 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 2008-06-03 18:35:58 +00:00
peter1138
1b7fcf0171 (svn r13374) -Fix (r13364): Some common compilers do not yet support 9 year old specifications. 2008-06-03 12:11:16 +00:00