Commit Graph

5305 Commits

Author SHA1 Message Date
glx 993cb13c8d (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 6f74ef3a53 (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 a058dd7ed7 (svn r7015) Revert r7014. Requested by MiHaMiX 2006-10-31 14:17:48 +00:00
tron e89e799b6f (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 4832b0fdff (svn r7013) Add glyphs for the interpunct. This is mainly useful for the catalan translation 2006-10-31 13:55:38 +00:00
peter1138 2d8708bde1 (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 8b12e25468 (svn r7008) -Fix [FS#369]: Crash at game end when server company is bankrupt 2006-10-31 01:45:41 +00:00
miham ae5eac42de (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 b2eece5b53 (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 56c81cc978 (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 fce44a1ce7 (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 1d0ebb9cc3 (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 dc58fb87ab (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 8908ea67d5 (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 377b178c11 (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 30ceecc1af (svn r6992) Make a const_cast<> obsolete by properly propagating the type 2006-10-28 12:43:15 +00:00
tron 93f1f8ee53 (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 cb4918d06b (svn r6990) Remove stuff forgotten in r6980 2006-10-28 12:12:20 +00:00
tron bd562bc38b (svn r6989) Remove the unused GetItemFromPool() function 2006-10-28 12:10:11 +00:00
tron 24cc7d4656 (svn r6988) Remove a layer of indirection when using the Savegame pool 2006-10-28 12:07:32 +00:00
tron 97cc0fcdd4 (svn r6987) Use the pool macros for the Waypoint pool 2006-10-28 11:59:10 +00:00
tron e397b721cd (svn r6986) Use the pool macros for the Town pool 2006-10-28 11:55:29 +00:00
tron 02ae75b380 (svn r6985) Remove stuff forgotten in r6984 2006-10-28 11:54:53 +00:00
tron f0836260e8 (svn r6984) Use the pool macros for the RoadStop pool 2006-10-28 11:51:38 +00:00
tron f51d2a3311 (svn r6983) Use the pool macros for the Station pool 2006-10-28 11:48:21 +00:00
tron 470a054c06 (svn r6982) Use the pool macros for the Sign pool 2006-10-28 11:43:56 +00:00
tron 18e56bea7f (svn r6981) Use the pool macros for the Savegame pool 2006-10-28 11:40:47 +00:00
tron c61e0963e0 (svn r6980) Use the pool macros for the Order pool 2006-10-28 11:37:26 +00:00
tron 4cb479e083 (svn r6979) Use the pool macros for the Industry pool 2006-10-28 11:32:45 +00:00
tron a97f75e439 (svn r6978) Use the pool macros for the SoundInternal pool 2006-10-28 11:32:12 +00:00
tron 1a4a7984a7 (svn r6977) Use the pool macros for the EngineRenew pool 2006-10-28 11:08:52 +00:00
tron da500bc3e6 (svn r6976) Use the pool macros for the Depot pool 2006-10-28 11:02:37 +00:00
tron 953344fdcc (svn r6975) Use the pool macros for the Vehicle pool 2006-10-28 10:55:59 +00:00
tron ef862a2973 (svn r6974) use the pool macros for the SpriteGroup pool 2006-10-28 10:55:26 +00:00
tron 41e34a1c16 (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 5cdeab55f0 (svn r6972) - Codechange: Allow standard ini-file style comments 2006-10-28 08:48:31 +00:00
glx bdd86c7da2 (svn r6971) -Fix r6961: WWT_NODISTXTBTN buttons were normal buttons not push buttons 2006-10-27 20:39:58 +00:00
miham 390e1ba914 (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 283f7c065d (svn r6966) -Fix(6965): Little typo while making the comment doxygen friendly 2006-10-27 16:18:47 +00:00
belugas 7effb8fd50 (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 6d69e03e4f (svn r6963) - Fix (r6960): signed/unsigned complaints from MSVC 2006-10-27 14:05:42 +00:00
Darkvater b3050afc94 (svn r6962) -Fix r6961: spacing... 2006-10-27 13:58:58 +00:00
Darkvater 64a2205517 (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 940acf4e4d (svn r6960) - Feature: NewGRF: Implement some support for GRF Resource Management (GRM) 2006-10-27 13:15:21 +00:00
Darkvater eb45bf6340 (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
Darkvater e205c693e1 (svn r6958) -Fix (r6956): GCC warning (thx Tron) and a coding style forgotten in r6957 2006-10-27 11:17:38 +00:00
Darkvater bc3c56ffeb (svn r6957) -Cleanup: comments, coding style 2006-10-27 11:09:24 +00:00
Darkvater 2543ab6b27 (svn r6956) -Feature: Increase the chatbuffer of chat messages. Messages longer than the allocated
graphical box will be wrapped to a new line.
2006-10-27 11:08:17 +00:00
Darkvater 596da29170 (svn r6955) -Codechange: Change some variable names for _textmessage_box, and replace 5 different
global variables with a single struct.
2006-10-27 10:27:38 +00:00
Darkvater 98a98ab15e (svn r6954) -Feature: Constrain the drawing of a string inside an editbox to the dimensions of
the widget it is in. This allows for typing longer text into an editbox (if maxwidth
 allows of course) and scroll around properly.
2006-10-27 10:12:57 +00:00