Darkvater
7c59305e96
(svn r7095) -Codechange: Move MaxZoomIn function to viewport.h and change it to MaxZoomInOut
...
with a zoom parameter and a pointer to the window which's viewport we want to zoom.
2006-11-07 13:08:42 +00:00
Darkvater
3a2c773411
(svn r7094) -Codechange: Get rid of the window-specific code in DoZoomInOutWindow (enable, disable
...
buttons depending on calling window, game-mode); handle it by broadcasting messages
to the calling window, because that knows how and what buttons to set.
2006-11-07 13:06:02 +00:00
Darkvater
501fcb3465
(svn r7093) -Codechange: Move DoZoomInOutWindow declaration to viewport.h and rewrite the function
...
a bit more sensibly.
2006-11-07 13:01:36 +00:00
Darkvater
1f45f5ffb3
(svn r7092) -Codechange: Add function to send a window message to a whole class of windows,
...
SendWindowMessageClass().
2006-11-07 12:51:34 +00:00
tron
b7d4409df7
(svn r7091) Make some code a) shorter b) simpler c) not leak memory
2006-11-07 12:03:34 +00:00
peter1138
59555cbfce
(svn r7086) -Featurette: Add additional positioning for long dropdown lists: first, try to fit the dropdown below the calling widget, as before; second, try to fit it wholly above the calling widget; and lastly, fit the list below the widget and add a scrollbar.
2006-11-06 22:06:29 +00:00
miham
ce20e74022
(svn r7084) WebTranslator2 update to 2006-11-06 22:12:45
...
danish - 5 fixed, 25 changed by ThomasA (30)
italian - 5 changed by sidew (5)
turkish - 13 fixed by jnmbk (13)
2006-11-06 21:13:18 +00:00
belugas
8e93b2e729
(svn r7083) -Fix 6631: Protect out of boundaries widget testing
2006-11-06 19:59:19 +00:00
peter1138
bc92e4ee9b
(svn r7080) -Codechange: Remove negative array indexes, and only add ", " when needed, when building station acceptance lists.
2006-11-06 15:25:02 +00:00
peter1138
db7d474b0f
(svn r7079) -Codechange: Move an array to the only place it is used.
2006-11-06 10:11:03 +00:00
Darkvater
56b4a2ad7b
(svn r7078) -Codechange: Make the zoom in/out buttons of the extra viewport into proper push-buttons.
2006-11-06 00:17:32 +00:00
Darkvater
d1a31a56b9
(svn r7077) -Codechange: Send proper message to network window, and handle selection control in
...
there instead of calling function.
2006-11-06 00:14:36 +00:00
Darkvater
771df2df51
(svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow
...
declaration to network.h, and remove stale externs of NetworkPopulateCompanyInfo
2006-11-06 00:12:55 +00:00
Darkvater
2fccb9f4e0
(svn r7075) -Codechange: Remove stale code. Please clean up after yourself!! (r5549)
2006-11-06 00:10:47 +00:00
peter1138
35e9ca52aa
(svn r7074) -Fix (r7073): stupid debugs
2006-11-05 22:50:59 +00:00
peter1138
a387b09fc9
(svn r7073) -Feature: Add cargo refit support to both AIs for road vehicles
2006-11-05 22:49:34 +00:00
peter1138
6f1550b652
(svn r7072) -Fix (r7070): Go up, not down, through the engines. And replace the comment too...
2006-11-05 22:11:12 +00:00
peter1138
6aa0c247c8
(svn r7070) -Codechange: Make the AI choose road vehicles based on a rating (currently max speed * capacity) instead of either the cost or the index of the vheicle.
2006-11-05 21:50:08 +00:00
KUDr
d7a56088a5
(svn r7069) -Fix: AI tried to build road from the back or side of road stop/depot (peter1138)
2006-11-05 18:42:25 +00:00
tron
03124c1df5
(svn r7068) if () cascades -> switch ()
2006-11-05 12:22:46 +00:00
tron
2b5577bfd7
(svn r7067) Remove the unused parameter params_3 from AddStringToDraw()
2006-11-05 11:52:19 +00:00
tron
f86b8b9d6c
(svn r7066) -Codechange: Factorise common code
2006-11-05 11:17:33 +00:00
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