summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-07(svn r7095) -Codechange: Move MaxZoomIn function to viewport.h and change it ↵Darkvater
to MaxZoomInOut with a zoom parameter and a pointer to the window which's viewport we want to zoom.
2006-11-07(svn r7094) -Codechange: Get rid of the window-specific code in ↵Darkvater
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(svn r7093) -Codechange: Move DoZoomInOutWindow declaration to viewport.h ↵Darkvater
and rewrite the function a bit more sensibly.
2006-11-07(svn r7092) -Codechange: Add function to send a window message to a whole ↵Darkvater
class of windows, SendWindowMessageClass().
2006-11-07(svn r7091) Make some code a) shorter b) simpler c) not leak memorytron
2006-11-06(svn r7086) -Featurette: Add additional positioning for long dropdown lists: ↵peter1138
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(svn r7084) WebTranslator2 update to 2006-11-06 22:12:45miham
danish - 5 fixed, 25 changed by ThomasA (30) italian - 5 changed by sidew (5) turkish - 13 fixed by jnmbk (13)
2006-11-06(svn r7083) -Fix 6631: Protect out of boundaries widget testingbelugas
2006-11-06(svn r7080) -Codechange: Remove negative array indexes, and only add ", " ↵peter1138
when needed, when building station acceptance lists.
2006-11-06(svn r7079) -Codechange: Move an array to the only place it is used.peter1138
2006-11-06(svn r7078) -Codechange: Make the zoom in/out buttons of the extra viewport ↵Darkvater
into proper push-buttons.
2006-11-06(svn r7077) -Codechange: Send proper message to network window, and handle ↵Darkvater
selection control in there instead of calling function.
2006-11-06(svn r7076) -Codechange: Prefer includes instead of using extern. Move ↵Darkvater
UpdateNetworkGameWindow declaration to network.h, and remove stale externs of NetworkPopulateCompanyInfo
2006-11-06(svn r7075) -Codechange: Remove stale code. Please clean up after yourself!! ↵Darkvater
(r5549)
2006-11-05(svn r7074) -Fix (r7073): stupid debugspeter1138
2006-11-05(svn r7073) -Feature: Add cargo refit support to both AIs for road vehiclespeter1138
2006-11-05(svn r7072) -Fix (r7070): Go up, not down, through the engines. And replace ↵peter1138
the comment too...
2006-11-05(svn r7070) -Codechange: Make the AI choose road vehicles based on a rating ↵peter1138
(currently max speed * capacity) instead of either the cost or the index of the vheicle.
2006-11-05(svn r7069) -Fix: AI tried to build road from the back or side of road ↵KUDr
stop/depot (peter1138)
2006-11-05(svn r7068) if () cascades -> switch ()tron
2006-11-05(svn r7067) Remove the unused parameter params_3 from AddStringToDraw()tron
2006-11-05(svn r7066) -Codechange: Factorise common codetron
2006-11-05(svn r7065) Use simple assignment instead of memcpy()tron
2006-11-05(svn r7064) statictron
2006-11-05(svn r7063) statictron
2006-11-05(svn r7062) -[win32] Codechange: Remove unneeded WM_MOUSEENTER event, and ↵Darkvater
change mouse behaviour a bit so that any specific windows inside (eg IME compositor) will have a cursor.
2006-11-05(svn r7061) -[win32] Feature: Remember the window size between restarts when ↵Darkvater
quit in fullscreen mode.
2006-11-05(svn r7060) -Fix (r5874): Restore of window maximized state not always ↵Darkvater
working (Mart3p) . Remember maximize state even between switching fullscreen/windowed mode.
2006-11-04(svn r7059) -Fix [FS#384]: Tunnel YAPF Penalty Incorrect. The penalty for ↵KUDr
upward slope was incorrectly applied on tunnel entrances. (Danny)
2006-11-03(svn r7058) -Codechange: Truncate text in window captionspeter1138
2006-11-03(svn r7057) -Codechange: Remove hardcoded lists of road vehicles for each ↵peter1138
cargo type in favour of just checking the cargo type of each vehicle.
2006-11-03(svn r7048) -Cleanup: DEBUG doesn't need a newline character, use DEBUG ↵Darkvater
instead of printf and the verb is build/built/built not build/*/build or build/*/builded.
2006-11-03(svn r7047) -Fix [FS#317]: Zooming out near map-borders would previously ↵Darkvater
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-02(svn r7046) -Fix [FS#311]: 'Goto' button in orders window got depressed ↵Darkvater
along with all other buttons when an existing order was modified (GrimRC)
2006-11-01(svn r7032) - Fix (r1704): Sprite index wasn't updated with correct image ↵peter1138
number if custom image lookup fails.
2006-11-01(svn r7031) -Codechange: Use _skip_sprites to skip the rest of the NewGRF ↵peter1138
when disabled by GRM, and add a shortcut so that the rest of the file isn't scanned.
2006-11-01(svn r7030) WebTranslator2 update to 2006-11-01 17:19:54miham
german - 1 fixed, 1 changed by Neonox (2) hungarian - 5 fixed by miham (5) norwegian - 5 fixed by brygge_2 (5)
2006-10-31(svn r7028) -Fix [FS#200]: Scenario bridges/tunnels cannot be demolished; ↵Darkvater
now it's possible to delete tunnels/bridges owned by nobody.
2006-10-31(svn r7027) - Codechange: Replace NewGRF loading stage masks with separate ↵peter1138
function lists. This will allow us to call different handlers depending on the current stage. Also enum-ize the stage.
2006-10-31(svn r7026) WebTranslator2 update to 2006-10-31 23:21:44miham
norwegian - 4 fixed by brygge_2 (4) portuguese - 7 fixed by izhirahider (7) spanish - 2 fixed by eusebio (2)
2006-10-31(svn r7023) -Fix: Pressing F1 in scenario editor did not work because the ↵Darkvater
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(svn r7022) -Fix [FS#292]: Properly guard against viewing company-sensitive ↵Darkvater
information from invalid players (eg spectators) which could lead to crashes.
2006-10-31(svn r7020) -Fix r6047: AI tries to delete stations that are 'in use' ↵glx
because FOR_ALL_STATIONS skips invalid stations
2006-10-31(svn r7016) Revert the revert, since I didn't request that, Tron must've ↵miham
misunderstood me :-(
2006-10-31(svn r7015) Revert r7014. Requested by MiHaMiXtron
2006-10-31(svn r7014) Make use of the interpunct in the catalan translation: Change ↵tron
l.l to l·l
2006-10-31(svn r7013) Add glyphs for the interpunct. This is mainly useful for the ↵tron
catalan translation
2006-10-31(svn r7009) - Fix (r1323, r1326): In the replace vehicle window, the left ↵peter1138
vehicle list was not drawn when an engine was not selected.
2006-10-31(svn r7008) -Fix [FS#369]: Crash at game end when server company is bankruptDarkvater
2006-10-29(svn r7005) WebTranslator2 update to 2006-10-29 19:53:34miham
brazilian_portuguese - 1 fixed by tucalipe (1)