Commit Graph

5059 Commits (76736281616fdac9f2017f9054b5b5ca6d26bb9c)
 

Author SHA1 Message Date
tron 7673628161 (svn r7111) After checking p1 in CmdBuildSingleRail() assign it to a variable railtype instead of using p1 in the function. Also assign p2 to track only after it has been checked for validity 18 years ago
peter1138 f07ad4eda7 (svn r7110) -Fix: Do not let ships enter partial water tiles under bridges; they will travel up land... 18 years ago
belugas 5f139b74e5 (svn r7109) -Codechange: use map accessor IsClearWaterTile 18 years ago
Darkvater 8786045eab (svn r7108) -Fix (r7106): signed/unsigned comparison warning 18 years ago
peter1138 32c1de3be0 (svn r7106) -Feature: Allow over-building of compatible railtypes, i.e. normal and
electrified rail. If building electrified rail, normal rail is upgraded 
for you (for the normal cost).
18 years ago
miham 47e63297a1 (svn r7104) WebTranslator2 update to 2006-11-07 19:41:56
german     - 1 changed by Neonox (1)
portuguese - 5 fixed by izhirahider (5)
turkish    - 8 fixed, 4 changed by jnmbk (12)
18 years ago
peter1138 37294114c3 (svn r7102) -Codechange: Remove and hardcode unnecessary patch setting progress_update_interval 18 years ago
tron dd29f9d964 (svn r7101) Evaluate the necessary flags for libpng once per make run, not every time the CFLAGS/LIBS variables are used 18 years ago
tron b92ccb7a98 (svn r7100) Evaluate the necessary flags for SDL once per make run, not every time the CFLAGS/LIBS variables are used 18 years ago
peter1138 c6b4834e10 (svn r7099) -Fix (r4768): When changing the selected newstation type, ensure the station size chosen is permitted. If not, pick the first valid sizes. 18 years ago
Darkvater a254a5ea65 (svn r7098) -Regression (r7094): Zoom buttons were not properly updated with a new/loaded game. The
good thing is, we got rid of even more magic code (tm)
18 years ago
peter1138 c5439f8437 (svn r7096) -Fix (r6995 (sort-of)): Don't set bit 6 when convert grf ver 6 language ids to use ver 7 format 18 years ago
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.
18 years ago
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.
18 years ago
Darkvater 501fcb3465 (svn r7093) -Codechange: Move DoZoomInOutWindow declaration to viewport.h and rewrite the function
a bit more sensibly.
18 years ago
Darkvater 1f45f5ffb3 (svn r7092) -Codechange: Add function to send a window message to a whole class of windows,
SendWindowMessageClass().
18 years ago
tron b7d4409df7 (svn r7091) Make some code a) shorter b) simpler c) not leak memory 18 years ago
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. 18 years ago
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)
18 years ago
belugas 8e93b2e729 (svn r7083) -Fix 6631: Protect out of boundaries widget testing 18 years ago
peter1138 bc92e4ee9b (svn r7080) -Codechange: Remove negative array indexes, and only add ", " when needed, when building station acceptance lists. 18 years ago
peter1138 db7d474b0f (svn r7079) -Codechange: Move an array to the only place it is used. 18 years ago
Darkvater 56b4a2ad7b (svn r7078) -Codechange: Make the zoom in/out buttons of the extra viewport into proper push-buttons. 18 years ago
Darkvater d1a31a56b9 (svn r7077) -Codechange: Send proper message to network window, and handle selection control in
there instead of calling function.
18 years ago
Darkvater 771df2df51 (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 2fccb9f4e0 (svn r7075) -Codechange: Remove stale code. Please clean up after yourself!! (r5549) 18 years ago
peter1138 35e9ca52aa (svn r7074) -Fix (r7073): stupid debugs 18 years ago
peter1138 a387b09fc9 (svn r7073) -Feature: Add cargo refit support to both AIs for road vehicles 18 years ago
peter1138 6f1550b652 (svn r7072) -Fix (r7070): Go up, not down, through the engines. And replace the comment too... 18 years ago
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. 18 years ago
KUDr d7a56088a5 (svn r7069) -Fix: AI tried to build road from the back or side of road stop/depot (peter1138) 18 years ago
tron 03124c1df5 (svn r7068) if () cascades -> switch () 18 years ago
tron 2b5577bfd7 (svn r7067) Remove the unused parameter params_3 from AddStringToDraw() 18 years ago
tron f86b8b9d6c (svn r7066) -Codechange: Factorise common code 18 years ago
tron 88b78bb5e8 (svn r7065) Use simple assignment instead of memcpy() 18 years ago
tron d008c45b4b (svn r7064) static 18 years ago
tron c7905817c1 (svn r7063) static 18 years ago
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.
18 years ago
Darkvater e922f05723 (svn r7061) -[win32] Feature: Remember the window size between restarts when quit in fullscreen mode. 18 years ago
Darkvater 7e8576bfaf (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 915906aebf (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 22f82e397d (svn r7058) -Codechange: Truncate text in window captions 18 years ago
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. 18 years ago
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.
18 years ago
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)
18 years ago
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)
18 years ago
peter1138 cd6f86c4bf (svn r7032) - Fix (r1704): Sprite index wasn't updated with correct image number if
custom image lookup fails.
18 years ago
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. 18 years ago
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)
18 years ago
Darkvater b8b41f4c15 (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