Commit Graph

6982 Commits

Author SHA1 Message Date
rubidium 5607a610d7 (svn r17403) -Fix [Squirrel]: guard against squirrel stack overflows; if assert is enabled assert (catch possible overflow bugs in nightlies/RCs), otherwise just increase the stack's size (don't get into invalid reads/writes in releases) 2009-09-03 11:48:08 +00:00
Yexo 48e1a5a350 (svn r17402) -Fix (r16425): During every save a few slots on the squirrel stack were leaked 2009-09-03 11:32:16 +00:00
rubidium 75aad2a186 (svn r17401) -Fix [FS#3171] (r17384): order deletion didn't (correctly) update the order window 2009-09-03 10:58:26 +00:00
rubidium b294497f2a (svn r17400) -Fix [FS#3172] (r17380): total line of performance rating was calculated wrong 2009-09-03 10:50:14 +00:00
rubidium d81a3ba2da (svn r17399) -Fix (r17365): if scrollbar has more capacity than elements clicking on the "scroll down" button asserted (esminis) 2009-09-03 09:07:14 +00:00
alberth 5fd5ae125a (svn r17398) -Codechange: Fill normal news item window with widgets. 2009-09-02 20:59:30 +00:00
alberth 0f9da2d636 (svn r17397) -Codechange: Add new vehicle news window. 2009-09-02 20:55:55 +00:00
alberth c0b9a6a9bc (svn r17396) -Codechange: Add company news window. 2009-09-02 20:54:27 +00:00
alberth c518d8c0d9 (svn r17395) -Codechange: Fill thin window with widgets. 2009-09-02 20:52:58 +00:00
alberth 96617e804c (svn r17394) -Codechange: Add news flags for viewport settings. 2009-09-02 20:49:25 +00:00
alberth 92321eb204 (svn r17393) -Codechange: Fill small window with widgets. 2009-09-02 20:46:42 +00:00
alberth a536a15459 (svn r17392) -Codechange: Use 'default' for reacting on click. 2009-09-02 20:44:36 +00:00
alberth a3ddb8a235 (svn r17391) -Codechange: Add string box calculation routine for multi-line strings. 2009-09-02 20:40:56 +00:00
alberth 3375627552 (svn r17390) -Codechange: Switch news item windows to nested widgets. 2009-09-02 20:39:40 +00:00
alberth 0847b338c6 (svn r17389) -Codechange: Add support for shaded viewports. 2009-09-02 20:28:41 +00:00
alberth 4bbb023463 (svn r17388) -Codechange: Paint the background of background widgets before painting its children. 2009-09-02 20:25:56 +00:00
alberth 417ad163c0 (svn r17387) -Codechange: Add news-item window description to NewsSubtypeData. 2009-09-02 20:21:30 +00:00
yexo 668da9e900 (svn r17386) -Fix (r17011): AIBaseStation::IsValidBaseStation() returned false for stations with OWNER_NONE 2009-09-02 20:03:56 +00:00
alberth 284b92f3e9 (svn r17385) -Codechange: Removed some unneeded parentheses. 2009-09-02 19:57:22 +00:00
rubidium a8d768cf6e (svn r17384) -Fix [FS#2859]: remove all order window state changes out of the drawing routine and call them immediately when changes happen instead of on the next OnPaint. This prevents pressing buttons when they should've been already disabled. 2009-09-02 17:54:40 +00:00
translators 1f5268a1d2 (svn r17383) -Update from WebTranslator v3.0:
german - 2 changes by Roujin
indonesian - 2 changes by prof
italian - 2 changes by lorenzodv
latvian - 46 changes by dzhins
serbian - 10 changes by etran
2009-09-02 17:45:20 +00:00
yexo 7d25a4014f (svn r17382) -Cleanup: don't set load_unload_time_rem when an aircraft turns in the air as it's not used 2009-09-02 15:13:33 +00:00
yexo 070118c5c3 (svn r17381) -Codechange: music track selection window uses nested widgets 2009-09-02 14:09:51 +00:00
rubidium d8b782365b (svn r17380) -Codechange: move drawing the performance detail data to DrawWidget 2009-09-02 13:39:46 +00:00
rubidium efff517449 (svn r17379) -Codechange: make the performance rating window nested, although it still needs some improvements 2009-09-02 13:24:36 +00:00
yexo 05433adb6d (svn r17378) -Fix [NoAI]: Several AITile::* functions didn't check whether their parameters were valid 2009-09-02 12:48:23 +00:00
yexo b7f7dd77bf (svn r17377) -Fix (r17365): MSVC complains about struct<>class difference 2009-09-02 12:02:55 +00:00
rubidium 9ceee42430 (svn r17376) -Fix: also draw the white "I've just opened" line for nested windows 2009-09-02 11:31:11 +00:00
rubidium 5cb22df0f5 (svn r17375) -Codechange: remove last direct usage of scrollbar variables 2009-09-02 08:58:20 +00:00
rubidium 900aedf270 (svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers 2009-09-02 08:48:29 +00:00
rubidium 7aa9f8e3fb (svn r17373) -Codechange: make the timetable, station and subsidy GUIs use scrollbar wrappers 2009-09-02 08:40:31 +00:00
rubidium 1dfa38bb1f (svn r17372) -Codechange: make the settings, rail and sign GUIs use the scrollbar wrappers 2009-09-02 08:28:50 +00:00
rubidium 7aeaa4f132 (svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers 2009-09-02 08:18:54 +00:00
rubidium 59ac4f6b21 (svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers 2009-09-02 08:08:30 +00:00
rubidium 78c9827000 (svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers 2009-09-02 07:36:39 +00:00
rubidium 1c94d98bb9 (svn r17368) -Codechange: remove pointless passing of 'this' as parameter 2009-09-02 07:22:09 +00:00
rubidium e69e3378b0 (svn r17367) -Codechange: make the autoreplace, bridge and build vehicle GUIs use the scrollbar wrappers 2009-09-02 07:17:15 +00:00
rubidium 4b9b858127 (svn r17366) -Codechange: make the AI GUIs use the scrollbar wrappers 2009-09-02 07:01:25 +00:00
rubidium b06e026f97 (svn r17365) -Codechange: introduce wrapper functions to update the position, capacity and count of scroll bars. This to (eventually) prevent the scrollbar overflowing outside of the window 2009-09-02 06:34:40 +00:00
rubidium b13eccb105 (svn r17364) -Fix (r17356): off by one when selecting a subsidy 2009-09-01 22:38:18 +00:00
rubidium 6b2ff71e2c (svn r17363) -Fix [FS#3163] (r16717): feed autoreplace the front of vehicles, otherwise it gets distracted and bails out 2009-09-01 21:54:59 +00:00
yexo ef5a0a3ae4 (svn r17362) -Fix (r17360): alignment in afrikaans.txt was wrong 2009-09-01 21:43:38 +00:00
yexo e78da26f3c (svn r17361) -Fix (r17360): committed a bit too much 2009-09-01 21:35:28 +00:00
yexo f3d2be7581 (svn r17360) -Fix (r17329): the 'track' and 'title' texts were lost in the conversion to nested widgets 2009-09-01 21:30:14 +00:00
smatz 2db855e00c (svn r17359) -Fix: put static before cv qualifier, some compilers complain about that 2009-09-01 21:27:33 +00:00
smatz 94988a79f3 (svn r17358) -Fix: compilation was broken for gcc older than 3.4 2009-09-01 20:59:44 +00:00
smatz bc3bdb03fd (svn r17357) -Codechange: some compilers complain about implicit conversion from NULL to bool 2009-09-01 20:51:45 +00:00
rubidium a4af668986 (svn r17356) -Fix: actually implement scrolling for the subsidy list instead of 'just' showing a scroll bar. 2009-09-01 20:42:12 +00:00
rubidium c96733d191 (svn r17355) -Codechange: determine the minimum size of the subsidy gui based on (some) of the content 2009-09-01 20:06:10 +00:00
rubidium af818b6c09 (svn r17354) -Codechange: make the subsidy gui nested 2009-09-01 19:29:16 +00:00