Commit Graph

9639 Commits

Author SHA1 Message Date
smatz
bd5067b5a0 (svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places 2008-06-10 21:59:22 +00:00
belugas
f4153bcbde (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
8123d4de11 (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
0900f3388a (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
bb7e9ee138 (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
54e7a3b196 (svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house. 2008-06-10 00:42:19 +00:00
smatz
bf8afb4c38 (svn r13434) -Fix (r13317): news window with invalid news item could be shown 2008-06-09 12:20:00 +00:00
rubidium
657bbf305e (svn r13433) -Codechange: remove a now useless global variable.
-Fix: MP advertising was not advertising.
2008-06-09 12:17:01 +00:00
rubidium
2f59734909 (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
e43d050730 (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
eac3301b63 (svn r13413) -Codechange: remove some enums that haven't been used for years. 2008-06-08 12:28:23 +00:00
truebrain
b95042b05c (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
96d7f87cc9 (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
b1dc705492 (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
d083afea90 (svn r13408) -Codechange: some stricter checking. 2008-06-08 08:44:19 +00:00
miham
04e31cae5a (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
77ff05a5f1 (svn r13397) -Fix: Do not crash when resolving vehicle sprite groups with zero sprites. 2008-06-07 00:06:36 +00:00
glx
a43c7af33b (svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs) 2008-06-06 19:27:09 +00:00
glx
ee256e770a (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
5176319dd5 (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
261018fc8c (svn r13388) -Codechange: Remove "my invented flag for something that is a wagon" 2008-06-05 12:08:20 +00:00
rubidium
94718ae0de (svn r13387) -Fix: industry directory sorting not working correctly (= != ==) 2008-06-05 11:34:26 +00:00
rubidium
9e811a2f8b (svn r13386) -Fix: global currency/units setting being overriden when loading a savegame. 2008-06-05 11:26:38 +00:00
peter1138
9b971dab60 (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
c217a11bbd (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
4f3eb7f3cd (svn r13383) -Codechange: Put the cost of house removal in a class member 2008-06-05 01:43:03 +00:00
glx
dc22170c99 (svn r13380) -Fix (r13327): MSVC signed/unsigned warning 2008-06-04 22:30:44 +00:00
glx
0c1d792d5e (svn r13379) -Fix (r13255): drive side can't be changed in intro 2008-06-04 22:03:22 +00:00
smatz
ce692c16ee (svn r13378) -Fix (r13375): compilation without network support was broken 2008-06-04 11:21:36 +00:00
peter1138
f78ea7c6bf (svn r13377) -Codechange: Let 'long format' build year work in vehicle purchase list. 2008-06-04 06:40:07 +00:00
belugas
2550f353e9 (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
c7a9637834 (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
d58f055876 (svn r13374) -Fix (r13364): Some common compilers do not yet support 9 year old specifications. 2008-06-03 12:11:16 +00:00
smatz
7ec0a9ec3f (svn r13373) -Fix (r10210): loading of very old savegames was broken 2008-06-03 11:39:15 +00:00
peter1138
722f48a1d6 (svn r13372) -Cleanup: Excessive whitespace 2008-06-03 10:22:42 +00:00
peter1138
7b75cee876 (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
1ddfdda02c (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
abf2b0efc3 (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
4b4e73c1dd (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
b0ada3fbbf (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
00851610e1 (svn r13366) -Fix: clicking in the Subsidies window was broken 2008-06-03 00:23:54 +00:00
rubidium
def3177d3a (svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting. 2008-06-02 23:01:57 +00:00
peter1138
7b66180d78 (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
86ab690ec5 (svn r13363) -Codechange: Code duplication tidy up 2008-06-02 19:35:30 +00:00
smatz
2e8b9a70ec (svn r13362) -Fix: make the town authority window a bit less glitchy 2008-06-02 14:34:23 +00:00
glx
014cb33bb9 (svn r13361) -Fix (r13360): regexp failed 2008-06-02 14:30:55 +00:00
skidd13
11cdcf875c (svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc() 2008-06-02 14:27:58 +00:00
skidd13
8a40ca49c6 (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
fd0be850fe (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
3efece1284 (svn r13357) -Codechange: add constness to YAPF. 2008-06-02 06:44:06 +00:00