Commit Graph

5262 Commits

Author SHA1 Message Date
peter1138
2c17c649af (svn r7114) -Codechange: [NewStations] Free up custom station layouts 2006-11-08 12:28:57 +00:00
peter1138
0aa8c0123a (svn r7113) -Codechange: [NewStations] Add support for copying custom station layouts 2006-11-08 12:17:14 +00:00
peter1138
c73578aae6 (svn r7112) -Codechange (r7106): Improve the test for determining if the rail type should be converted 2006-11-08 10:09:46 +00:00
tron
2ebd07ecfc (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 2006-11-08 09:18:27 +00:00
peter1138
d830874c12 (svn r7110) -Fix: Do not let ships enter partial water tiles under bridges; they will travel up land... 2006-11-08 08:41:54 +00:00
belugas
cfd69f21ff (svn r7109) -Codechange: use map accessor IsClearWaterTile 2006-11-08 05:05:35 +00:00
Darkvater
cb34a5ad34 (svn r7108) -Fix (r7106): signed/unsigned comparison warning 2006-11-07 23:25:27 +00:00
peter1138
f03125c656 (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).
2006-11-07 22:34:59 +00:00
miham
0b733ac28a (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)
2006-11-07 18:42:31 +00:00
peter1138
c281cf028f (svn r7102) -Codechange: Remove and hardcode unnecessary patch setting progress_update_interval 2006-11-07 16:07:31 +00:00
tron
e37b5d13bd (svn r7101) Evaluate the necessary flags for libpng once per make run, not every time the CFLAGS/LIBS variables are used 2006-11-07 15:58:54 +00:00
tron
1dd5dfd3b3 (svn r7100) Evaluate the necessary flags for SDL once per make run, not every time the CFLAGS/LIBS variables are used 2006-11-07 15:53:20 +00:00
peter1138
9dfc42bb84 (svn r7099) -Fix (r4768): When changing the selected newstation type, ensure the station size chosen is permitted. If not, pick the first valid sizes. 2006-11-07 15:25:07 +00:00
Darkvater
c4e4fa98fd (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)
2006-11-07 14:41:53 +00:00
peter1138
745a5b8cc3 (svn r7096) -Fix (r6995 (sort-of)): Don't set bit 6 when convert grf ver 6 language ids to use ver 7 format 2006-11-07 13:09:44 +00:00
Darkvater
293a89dd71 (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
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.
2006-11-07 13:06:02 +00:00
Darkvater
e90bc1681f (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
45366b4372 (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
db98136bed (svn r7091) Make some code a) shorter b) simpler c) not leak memory 2006-11-07 12:03:34 +00:00
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. 2006-11-06 22:06:29 +00:00
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)
2006-11-06 21:13:18 +00:00
belugas
54b0726d58 (svn r7083) -Fix 6631: Protect out of boundaries widget testing 2006-11-06 19:59:19 +00:00
peter1138
701c47fb4a (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
3da04ab1b5 (svn r7079) -Codechange: Move an array to the only place it is used. 2006-11-06 10:11:03 +00:00
Darkvater
8371325a10 (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
c94db0a929 (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
d327ffb0f4 (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
c9a19c29fe (svn r7075) -Codechange: Remove stale code. Please clean up after yourself!! (r5549) 2006-11-06 00:10:47 +00:00
peter1138
62fc499370 (svn r7074) -Fix (r7073): stupid debugs 2006-11-05 22:50:59 +00:00
peter1138
6ebac79c45 (svn r7073) -Feature: Add cargo refit support to both AIs for road vehicles 2006-11-05 22:49:34 +00:00
peter1138
7ab311cd69 (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
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. 2006-11-05 21:50:08 +00:00
KUDr
fd361b104d (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
a763e7e52e (svn r7068) if () cascades -> switch () 2006-11-05 12:22:46 +00:00
tron
f9fa8437eb (svn r7067) Remove the unused parameter params_3 from AddStringToDraw() 2006-11-05 11:52:19 +00:00
tron
24cce7bfa1 (svn r7066) -Codechange: Factorise common code 2006-11-05 11:17:33 +00:00
tron
2a53bcf2b0 (svn r7065) Use simple assignment instead of memcpy() 2006-11-05 08:24:52 +00:00
tron
60ea083b28 (svn r7064) static 2006-11-05 08:24:09 +00:00
tron
fb878e9345 (svn r7063) static 2006-11-05 08:01:47 +00:00
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.
2006-11-05 01:53:12 +00:00
Darkvater
96f40aacb4 (svn r7061) -[win32] Feature: Remember the window size between restarts when quit in fullscreen mode. 2006-11-05 01:13:08 +00:00
Darkvater
20da2356a9 (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
605e6d75af (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
5f4118c638 (svn r7058) -Codechange: Truncate text in window captions 2006-11-03 23:29:24 +00:00
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. 2006-11-03 23:06:54 +00:00
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.
2006-11-03 01:18:40 +00:00
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)
2006-11-03 00:48:03 +00:00
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)
2006-11-02 23:51:05 +00:00
peter1138
ee3e0cf5e4 (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