Commit Graph

5196 Commits (04773f5eb43f4f28b66e7983c2643c63dbf6bba9)
 

Author SHA1 Message Date
Darkvater 65e051fe93 (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.
18 years ago
Darkvater e90bc1681f (svn r7093) -Codechange: Move DoZoomInOutWindow declaration to viewport.h and rewrite the function
a bit more sensibly.
18 years ago
Darkvater 45366b4372 (svn r7092) -Codechange: Add function to send a window message to a whole class of windows,
SendWindowMessageClass().
18 years ago
tron db98136bed (svn r7091) Make some code a) shorter b) simpler c) not leak memory 18 years ago
peter1138 ca8605ebc5 (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. 18 years ago
miham 35e53249ed (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)
18 years ago
belugas 54b0726d58 (svn r7083) -Fix 6631: Protect out of boundaries widget testing 18 years ago
peter1138 701c47fb4a (svn r7080) -Codechange: Remove negative array indexes, and only add ", " when needed, when building station acceptance lists. 18 years ago
peter1138 3da04ab1b5 (svn r7079) -Codechange: Move an array to the only place it is used. 18 years ago
Darkvater 8371325a10 (svn r7078) -Codechange: Make the zoom in/out buttons of the extra viewport into proper push-buttons. 18 years ago
Darkvater c94db0a929 (svn r7077) -Codechange: Send proper message to network window, and handle selection control in
there instead of calling function.
18 years ago
Darkvater d327ffb0f4 (svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow
declaration to network.h, and remove stale externs of NetworkPopulateCompanyInfo
18 years ago
Darkvater c9a19c29fe (svn r7075) -Codechange: Remove stale code. Please clean up after yourself!! (r5549) 18 years ago
peter1138 62fc499370 (svn r7074) -Fix (r7073): stupid debugs 18 years ago
peter1138 6ebac79c45 (svn r7073) -Feature: Add cargo refit support to both AIs for road vehicles 18 years ago
peter1138 7ab311cd69 (svn r7072) -Fix (r7070): Go up, not down, through the engines. And replace the comment too... 18 years ago
peter1138 6f290da200 (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. 18 years ago
KUDr fd361b104d (svn r7069) -Fix: AI tried to build road from the back or side of road stop/depot (peter1138) 18 years ago
tron a763e7e52e (svn r7068) if () cascades -> switch () 18 years ago
tron f9fa8437eb (svn r7067) Remove the unused parameter params_3 from AddStringToDraw() 18 years ago
tron 24cce7bfa1 (svn r7066) -Codechange: Factorise common code 18 years ago
tron 2a53bcf2b0 (svn r7065) Use simple assignment instead of memcpy() 18 years ago
tron 60ea083b28 (svn r7064) static 18 years ago
tron fb878e9345 (svn r7063) static 18 years ago
Darkvater e496c5a37c (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.
18 years ago
Darkvater 96f40aacb4 (svn r7061) -[win32] Feature: Remember the window size between restarts when quit in fullscreen mode. 18 years ago
Darkvater 20da2356a9 (svn r7060) -Fix (r5874): Restore of window maximized state not always working (Mart3p) . Remember
maximize state even between switching fullscreen/windowed mode.
18 years ago
KUDr 605e6d75af (svn r7059) -Fix [FS#384]: Tunnel YAPF Penalty Incorrect. The penalty for upward slope was incorrectly applied on tunnel entrances. (Danny) 18 years ago
peter1138 5f4118c638 (svn r7058) -Codechange: Truncate text in window captions 18 years ago
peter1138 8cfe4d6a67 (svn r7057) -Codechange: Remove hardcoded lists of road vehicles for each cargo type in favour of just checking the cargo type of each vehicle. 18 years ago
Darkvater ac2b6f39b1 (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.
18 years ago
Darkvater a9fa6fd506 (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)
18 years ago
Darkvater 7977bd51a4 (svn r7046) -Fix [FS#311]: 'Goto' button in orders window got depressed along with all other
buttons when an existing order was modified (GrimRC)
18 years ago
peter1138 ee3e0cf5e4 (svn r7032) - Fix (r1704): Sprite index wasn't updated with correct image number if
custom image lookup fails.
18 years ago
peter1138 03ba02aef8 (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. 18 years ago
miham d04846c26b (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)
18 years ago
Darkvater 5535e370c5 (svn r7028) -Fix [FS#200]: Scenario bridges/tunnels cannot be demolished; now it's possible to
delete tunnels/bridges owned by nobody.
18 years ago
peter1138 ed3c75f532 (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. 18 years ago
miham cddde8422d (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)
18 years ago
Darkvater 6c76a89c20 (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.
18 years ago
Darkvater eadf788cc5 (svn r7022) -Fix [FS#292]: Properly guard against viewing company-sensitive information from
invalid players (eg spectators) which could lead to crashes.
18 years ago
glx 993cb13c8d (svn r7020) -Fix r6047: AI tries to delete stations that are 'in use' because FOR_ALL_STATIONS skips invalid stations 18 years ago
miham 6f74ef3a53 (svn r7016) Revert the revert, since I didn't request that, Tron must've misunderstood me :-( 18 years ago
tron a058dd7ed7 (svn r7015) Revert r7014. Requested by MiHaMiX 18 years ago
tron e89e799b6f (svn r7014) Make use of the interpunct in the catalan translation: Change l.l to l·l 18 years ago
tron 4832b0fdff (svn r7013) Add glyphs for the interpunct. This is mainly useful for the catalan translation 18 years ago
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. 18 years ago
Darkvater 8b12e25468 (svn r7008) -Fix [FS#369]: Crash at game end when server company is bankrupt 18 years ago
miham ae5eac42de (svn r7005) WebTranslator2 update to 2006-10-29 19:53:34
brazilian_portuguese - 1 fixed by tucalipe (1)
18 years ago
KUDr b2eece5b53 (svn r7003) -Fix: only the appropriate train owner can now see the "Train is lost" message (peter1138) 18 years ago