Commit Graph

9479 Commits

Author SHA1 Message Date
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
smatz
d67416088e (svn r13373) -Fix (r10210): loading of very old savegames was broken 2008-06-03 11:39:15 +00:00
peter1138
c0d206f505 (svn r13372) -Cleanup: Excessive whitespace 2008-06-03 10:22:42 +00:00
peter1138
76bae9f8dd (svn r13371) -Fix (r4510 ... r12924): Engine array size is not related to the ID used when setting a vehicle's name (it is vehicle type specific). Instead just test for a generic string. 2008-06-03 09:58:13 +00:00
rubidium
a315054443 (svn r13370) -Codechange: move the VARDEF stuff from openttd.h to variables.h so one doesn't need to include openttd.h before variables.h. 2008-06-03 08:06:58 +00:00
rubidium
994779e9e2 (svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
2008-06-03 08:04:35 +00:00
belugas
0cf79d70d0 (svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date 2008-06-03 03:06:16 +00:00
belugas
f7b79916e8 (svn r13367) -Codechange: Allow CircularTileSearch function to return the tile where search has been successful, or INVALID_TILE if it has not 2008-06-03 02:20:27 +00:00
smatz
e40c7f66d8 (svn r13366) -Fix: clicking in the Subsidies window was broken 2008-06-03 00:23:54 +00:00
rubidium
678f2baf76 (svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting. 2008-06-02 23:01:57 +00:00
peter1138
64410681db (svn r13364) -Codechange: Refactor action 3 mapping to use grf_load_*() instead of direct byte array access. 2008-06-02 19:52:41 +00:00
peter1138
93f8ff955c (svn r13363) -Codechange: Code duplication tidy up 2008-06-02 19:35:30 +00:00
smatz
c1619d1321 (svn r13362) -Fix: make the town authority window a bit less glitchy 2008-06-02 14:34:23 +00:00
glx
679ca6af52 (svn r13361) -Fix (r13360): regexp failed 2008-06-02 14:30:55 +00:00
skidd13
8b3db22075 (svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc() 2008-06-02 14:27:58 +00:00
skidd13
f1c954e842 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
2008-06-02 14:19:27 +00:00
rubidium
8cb2f63851 (svn r13358) -Codechange: split next order determination and conditional order processing functionality from the order handling. Patch based on work by michi_cc. 2008-06-02 08:33:38 +00:00
rubidium
5189877e3d (svn r13357) -Codechange: add constness to YAPF. 2008-06-02 06:44:06 +00:00
peter1138
24562da11b (svn r13356) -Codechange: Incorrect documentation and variable type for inflation rates 2008-06-02 06:42:27 +00:00
smatz
9cf0c8c96d (svn r13354) -Codechange: make 8bpp_optimized blitter ~25% faster in encoding and ~15% faster in drawing (depends on architecture) 2008-06-01 19:36:55 +00:00
smatz
69ebefe1ac (svn r13351) -Codechange: disable warnings about unused variable for builds without asserts 2008-06-01 15:08:14 +00:00
glx
4623846515 (svn r13350) -Fix: wrong tooltip for waypoint picker scrollbar 2008-06-01 13:23:40 +00:00
rubidium
f0f4e9d6ec (svn r13349) -Codechange: remove a pointless flag; the flag is set before calling a function and is then reset in the function without ever reading it. Patch by Cirdan. 2008-06-01 10:11:31 +00:00
rubidium
723792cf08 (svn r13348) -Fix: an industry does not always need foundations; in the case of NewGRFs an industry can be built on a steep slope, however when 'querying' the foundation type of an industry we neglected the fact that these steep slope tiles do not have a foundation. As a result of this when one built a structure requiring foundations on a tile SW or SE of a steep slope industry tile it would try to apply the foundation on the steep slope to determine whether to draw the wall of the foundation and trigger an assert. 2008-05-31 22:43:42 +00:00
glx
fa81f5412f (svn r13347) -Fix (r12396): ottdres.rc.in was forgotten 2008-05-31 22:12:53 +00:00
rubidium
224ca68fb5 (svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed. 2008-05-30 21:06:43 +00:00
rubidium
20228809f0 (svn r13345) -Codechange: only one of all the NewsItem's instance duration variable, so move it so there is only once instance of that variable. Patch by Cirdan. 2008-05-30 20:57:19 +00:00
rubidium
387f4cfbe1 (svn r13344) -Codechange: remove some code duplication. 2008-05-30 20:08:32 +00:00