Commit Graph

5060 Commits

Author SHA1 Message Date
Darkvater
b8b41f4c15 (svn r7028) -Fix [FS#200]: Scenario bridges/tunnels cannot be demolished; now it's possible to
delete tunnels/bridges owned by nobody.
2006-10-31 23:04:47 +00:00
peter1138
07a4828457 (svn r7027) - Codechange: Replace NewGRF loading stage masks with separate function lists. This will allow us to call different handlers depending on the current stage. Also enum-ize the stage. 2006-10-31 22:54:57 +00:00
miham
15dd725b8e (svn r7026) WebTranslator2 update to 2006-10-31 23:21:44
norwegian  - 4 fixed by brygge_2 (4)
portuguese - 7 fixed by izhirahider (7)
spanish    - 2 fixed by eusebio (2)
2006-10-31 22:22:17 +00:00
Darkvater
86271fffb3 (svn r7023) -Fix: Pressing F1 in scenario editor did not work because the keypress event was sent
twice. due to e->we.keypress.cont not being set to false. Also indent the switch
 statements for some coding style bonus points.
2006-10-31 21:46:21 +00:00
Darkvater
0e1485f55e (svn r7022) -Fix [FS#292]: Properly guard against viewing company-sensitive information from
invalid players (eg spectators) which could lead to crashes.
2006-10-31 21:15:56 +00:00
glx
b2c7a408ed (svn r7020) -Fix r6047: AI tries to delete stations that are 'in use' because FOR_ALL_STATIONS skips invalid stations 2006-10-31 17:13:12 +00:00
miham
c3ddd81dea (svn r7016) Revert the revert, since I didn't request that, Tron must've misunderstood me :-( 2006-10-31 14:23:53 +00:00
tron
e6747653a8 (svn r7015) Revert r7014. Requested by MiHaMiX 2006-10-31 14:17:48 +00:00
tron
9575a4081c (svn r7014) Make use of the interpunct in the catalan translation: Change l.l to l·l 2006-10-31 13:56:47 +00:00
tron
9463052e9f (svn r7013) Add glyphs for the interpunct. This is mainly useful for the catalan translation 2006-10-31 13:55:38 +00:00
peter1138
5a67373093 (svn r7009) - Fix (r1323, r1326): In the replace vehicle window, the left vehicle list was not drawn when an engine was not selected. 2006-10-31 08:13:15 +00:00
Darkvater
0fb59806c5 (svn r7008) -Fix [FS#369]: Crash at game end when server company is bankrupt 2006-10-31 01:45:41 +00:00
miham
1cf4e97ac4 (svn r7005) WebTranslator2 update to 2006-10-29 19:53:34
brazilian_portuguese - 1 fixed by tucalipe (1)
2006-10-29 18:54:05 +00:00
KUDr
1f9448cf46 (svn r7003) -Fix: only the appropriate train owner can now see the "Train is lost" message (peter1138) 2006-10-29 13:50:39 +00:00
belugas
6e92606428 (svn r7001) -Codechange: _build_industry_trypes is now only used by industry_gui.c. Move it there.
-Codechange: _industry_type_cost is not defined, remove its declaration
2006-10-29 00:39:41 +00:00
Darkvater
d26de4ffa9 (svn r7000) -Fix: Incorrect use of e->we.click when the event is a 'place'. This didn't cause any
bugs so far because the 'click' element was at the same position in the union for both
 events.
2006-10-28 23:47:00 +00:00
peter1138
a12805ab17 (svn r6996) - Codechange: Pretend to be the current version of TTDPatch. This value doesn't anything to us as we don't follow TTDPatch's development timeline... 2006-10-28 18:49:28 +00:00
peter1138
e39643ca17 (svn r6995) - Codechange: NewGRF; strip bit 7 of the language ID earlier and handle handle a language ID of 0x7F as the preferred default language. 2006-10-28 18:42:57 +00:00
tron
a8809d7de8 (svn r6994) -Regression (r6291): When sending an aircrafts to a hangar the wrong bit gets tested to determine if a aircraft should stop there or just get serviced
Also remove a stale comment
Both spotted and fixed by Mart3p
2006-10-28 14:37:33 +00:00
tron
b88cd60e85 (svn r6993) -Regression (r5833): Rails/roads on steep slopes incorrectly show a foundation edge if the NE/NW adjacent tile is a steep tile 2006-10-28 14:06:40 +00:00
tron
9c219888ba (svn r6992) Make a const_cast<> obsolete by properly propagating the type 2006-10-28 12:43:15 +00:00
tron
0bd9e333a1 (svn r6991) Remove an unnecessary const_cast<> and incorrect comment (There is a difference between const FOO* and FOO* const) 2006-10-28 12:32:55 +00:00
tron
bdf255ed2b (svn r6990) Remove stuff forgotten in r6980 2006-10-28 12:12:20 +00:00
tron
45bef5f742 (svn r6989) Remove the unused GetItemFromPool() function 2006-10-28 12:10:11 +00:00
tron
59c709a686 (svn r6988) Remove a layer of indirection when using the Savegame pool 2006-10-28 12:07:32 +00:00
tron
821c97b747 (svn r6987) Use the pool macros for the Waypoint pool 2006-10-28 11:59:10 +00:00
tron
7a984c44cc (svn r6986) Use the pool macros for the Town pool 2006-10-28 11:55:29 +00:00
tron
fdec51879f (svn r6985) Remove stuff forgotten in r6984 2006-10-28 11:54:53 +00:00
tron
16d8c2fe90 (svn r6984) Use the pool macros for the RoadStop pool 2006-10-28 11:51:38 +00:00
tron
f5b45492d3 (svn r6983) Use the pool macros for the Station pool 2006-10-28 11:48:21 +00:00
tron
3592db713f (svn r6982) Use the pool macros for the Sign pool 2006-10-28 11:43:56 +00:00
tron
3b4ff2c2b7 (svn r6981) Use the pool macros for the Savegame pool 2006-10-28 11:40:47 +00:00
tron
ad055327fc (svn r6980) Use the pool macros for the Order pool 2006-10-28 11:37:26 +00:00
tron
d00a58ad69 (svn r6979) Use the pool macros for the Industry pool 2006-10-28 11:32:45 +00:00
tron
0adc282c3c (svn r6978) Use the pool macros for the SoundInternal pool 2006-10-28 11:32:12 +00:00
tron
160f126d00 (svn r6977) Use the pool macros for the EngineRenew pool 2006-10-28 11:08:52 +00:00
tron
ed9d744e41 (svn r6976) Use the pool macros for the Depot pool 2006-10-28 11:02:37 +00:00
tron
fd9e71999b (svn r6975) Use the pool macros for the Vehicle pool 2006-10-28 10:55:59 +00:00
tron
bb6818aa5c (svn r6974) use the pool macros for the SpriteGroup pool 2006-10-28 10:55:26 +00:00
tron
a770b49cf9 (svn r6973) Add macros to easily create a pool with less code duplication and more opportunities for constant expression evaluation 2006-10-28 10:54:20 +00:00
peter1138
d01335bac1 (svn r6972) - Codechange: Allow standard ini-file style comments 2006-10-28 08:48:31 +00:00
glx
0ca0d8cc5c (svn r6971) -Fix r6961: WWT_NODISTXTBTN buttons were normal buttons not push buttons 2006-10-27 20:39:58 +00:00
miham
e9e06ee636 (svn r6969) WebTranslator2 update to 2006-10-27 19:12:49
american   - 1 fixed by WhiteRabbit (1)
italian    - 4 changed by sidew (4)
polish     - 1 fixed, 1 changed by meush (2)
slovak     - 4 fixed by lengyel (4)
2006-10-27 17:13:22 +00:00
belugas
aa11448c4b (svn r6966) -Fix(6965): Little typo while making the comment doxygen friendly 2006-10-27 16:18:47 +00:00
belugas
2cdb58d906 (svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec.
Removed a loop that used the array _build_industry_types for that purpose.
2006-10-27 15:54:24 +00:00
peter1138
250b9b0436 (svn r6963) - Fix (r6960): signed/unsigned complaints from MSVC 2006-10-27 14:05:42 +00:00
Darkvater
5aab661a7d (svn r6962) -Fix r6961: spacing... 2006-10-27 13:58:58 +00:00
Darkvater
cfb361ad08 (svn r6961) -Codechange: Remove relic from r212 WWT_NODISTXTBTN which was originally used to not
to allow clicking if a button was disabled. This has been superseded in r212 with
 general code that doesn't allow any click events for disabled buttons.
2006-10-27 13:48:56 +00:00
peter1138
334313e483 (svn r6960) - Feature: NewGRF: Implement some support for GRF Resource Management (GRM) 2006-10-27 13:15:21 +00:00
Darkvater
33873e3579 (svn r6959) -Codechange: Move GfxFillRect() out of the chat-message drawing loop since we already
know how many lines we are going to draw. On certain architectures this results in a
 minor penalty of local function performance if only 1 line is drawn. But starting from
 2 and more you'll get a net gain.
2006-10-27 11:49:51 +00:00