Commit Graph

5025 Commits

Author SHA1 Message Date
tron
88b78bb5e8 (svn r7065) Use simple assignment instead of memcpy() 2006-11-05 08:24:52 +00:00
tron
d008c45b4b (svn r7064) static 2006-11-05 08:24:09 +00:00
tron
c7905817c1 (svn r7063) static 2006-11-05 08:01:47 +00:00
Darkvater
3aa12e1cd0 (svn r7062) -[win32] Codechange: Remove unneeded WM_MOUSEENTER event, and change mouse behaviour
a bit so that any specific windows inside (eg IME compositor) will have a cursor.
2006-11-05 01:53:12 +00:00
Darkvater
e922f05723 (svn r7061) -[win32] Feature: Remember the window size between restarts when quit in fullscreen mode. 2006-11-05 01:13:08 +00:00
Darkvater
7e8576bfaf (svn r7060) -Fix (r5874): Restore of window maximized state not always working (Mart3p) . Remember
maximize state even between switching fullscreen/windowed mode.
2006-11-05 01:09:57 +00:00
KUDr
915906aebf (svn r7059) -Fix [FS#384]: Tunnel YAPF Penalty Incorrect. The penalty for upward slope was incorrectly applied on tunnel entrances. (Danny) 2006-11-04 11:44:19 +00:00
peter1138
22f82e397d (svn r7058) -Codechange: Truncate text in window captions 2006-11-03 23:29:24 +00:00
peter1138
e10ba5fdc5 (svn r7057) -Codechange: Remove hardcoded lists of road vehicles for each cargo type in favour of just checking the cargo type of each vehicle. 2006-11-03 23:06:54 +00:00
Darkvater
6b44b88e9f (svn r7048) -Cleanup: DEBUG doesn't need a newline character, use DEBUG instead of printf and the
verb is build/built/built not build/*/build or build/*/builded.
2006-11-03 01:18:40 +00:00
Darkvater
2fb0bf317e (svn r7047) -Fix [FS#317]: Zooming out near map-borders would previously fail because the new centre
would be outside the map. Change behaviour so that a reasonable approximation is
 returned so that zooming (out) still works (GrimRC)
2006-11-03 00:48:03 +00:00
Darkvater
9f917a7f9f (svn r7046) -Fix [FS#311]: 'Goto' button in orders window got depressed along with all other
buttons when an existing order was modified (GrimRC)
2006-11-02 23:51:05 +00:00
peter1138
cd6f86c4bf (svn r7032) - Fix (r1704): Sprite index wasn't updated with correct image number if
custom image lookup fails.
2006-11-01 22:27:16 +00:00
peter1138
2073980e82 (svn r7031) -Codechange: Use _skip_sprites to skip the rest of the NewGRF when disabled by GRM, and add a shortcut so that the rest of the file isn't scanned. 2006-11-01 17:42:34 +00:00
miham
5dc56b3f9e (svn r7030) WebTranslator2 update to 2006-11-01 17:19:54
german     - 1 fixed, 1 changed by Neonox (2)
hungarian  - 5 fixed by miham (5)
norwegian  - 5 fixed by brygge_2 (5)
2006-11-01 16:20:32 +00:00
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