Commit Graph

9413 Commits

Author SHA1 Message Date
peter1138 2a816fb685 (svn r13323) -Codechange: scrollbars are not refresh counters 2008-05-29 11:47:56 +00:00
rubidium 22d7b25296 (svn r13322) -Codechange: _no_scroll belongs more with the window code. 2008-05-29 11:13:11 +00:00
rubidium f2869bb7db (svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp. 2008-05-29 10:16:59 +00:00
rubidium 34e2d8f1e1 (svn r13320) -Codechange: move some enums from openttd.h to more logical locations. 2008-05-29 09:54:47 +00:00
peter1138 8ea996e246 (svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list 2008-05-29 07:34:40 +00:00
rubidium 27bca407de (svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there. 2008-05-29 06:49:56 +00:00
rubidium 7f8f5fa52c (svn r13317) -Codechange: make news messages use a linked list instead of a moving circular buffer. This makes it possible to store more news messages in the history. Based on a patch by Cirdan.
-Codechange: the number of news messages is reduced by removing every news message that is a configurable amount older than when it would not be shown in the newspaper popup/ticker, which is e.g. a month for industry production changes and half a year for subsidy offers. As a result the more important messages will stay longer in the message history (if longer than 30 messages).
2008-05-28 21:36:16 +00:00
rubidium b4e431bf7c (svn r13316) -Codechange: move some functions around to make them grouped more logically. 2008-05-28 20:13:28 +00:00
peter1138 53aebc84c6 (svn r13315) -Fix (r13314): Assert if no engines or wagons available 2008-05-28 20:06:00 +00:00
peter1138 f954a93ee0 (svn r13314) -Codechange: Switch EngineList from std::vector to GUIList 2008-05-28 17:29:27 +00:00
peter1138 f44a2c38f8 (svn r13313) -Fix-ish (r13306): List was copied in another place the autoreplace gui... 2008-05-28 17:08:45 +00:00
skidd13 6e334d10bb (svn r13312) -Update: apply english.txt changes from r13311 to other languages 2008-05-28 16:50:05 +00:00
skidd13 b80425fdf9 (svn r13311) -Codechange: Use GUIList for the industry directory window
-Codechange: Replaced the four sort buttons by a dropdown
-Codechange: Reduced the default window size
2008-05-28 16:45:00 +00:00
smatz f7233786d2 (svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard) 2008-05-28 15:28:27 +00:00
rubidium 17ccd5ec65 (svn r13309) -Fix: the difficulty settings from the savegame would be reset by the ones of the intro game. 2008-05-28 14:36:06 +00:00
peter1138 9e863e1dbb (svn r13308) -Fix (r13307): projects/generate... 2008-05-28 11:56:44 +00:00
peter1138 f9fc53f98a (svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h 2008-05-28 11:56:21 +00:00
peter1138 bb00206736 (svn r13306) -Fix (r8362): Pass engine list by pointer instead of making a copy of it. 2008-05-28 10:29:48 +00:00
peter1138 504d0d1ae5 (svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers instead of just yes. 2008-05-28 06:30:55 +00:00
smatz e15863fa77 (svn r13304) -Fix (r13042): possible double free (showed up in r13092) 2008-05-27 23:40:36 +00:00
smatz 8aa797603c (svn r13303) -Fix (r13301): 64bit gcc compilation was broken 2008-05-27 23:10:42 +00:00
rubidium 14d8aacebb (svn r13302) -Fix (r13301): GCC doesn't necessarily like what MSVC likes... 2008-05-27 22:02:26 +00:00
rubidium 5c5ee7eb57 (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 2008-05-27 21:41:00 +00:00
skidd13 49a0bd7f90 (svn r13299) -Fix (r13286): Stations sort type isn't updated correctly 2008-05-27 20:33:44 +00:00
smatz 437d5d9798 (svn r13298) -Codechange: remove unused _total_signs 2008-05-27 20:25:28 +00:00
peter1138 cfb962c7f1 (svn r13297) -Codechange: Use GUIList for the town directory window 2008-05-27 20:05:36 +00:00
smatz ee9a9503ce (svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset 2008-05-27 19:58:32 +00:00
smatz ee904e1df5 (svn r13295) -Codechange: remove now redundant check 2008-05-27 19:03:06 +00:00
skidd13 83c442cc57 (svn r13294) -Codechange: convert the inheritance of GUIList in IndustryDirectoryWindow to a member object 2008-05-27 18:50:31 +00:00
smatz 9c7d4ffd4c (svn r13293) -Fix (r13226): airport far from a town generated too much noise 2008-05-27 18:20:14 +00:00
glx 20f2bc3138 (svn r13292) -Fix (r13285): MSVC warnings 2008-05-27 16:56:58 +00:00
peter1138 0ce9343fb6 (svn r13291) -Fix (r13266): qsort passed wrong sizeof data 2008-05-27 15:30:51 +00:00
peter1138 f7a9c4f522 (svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp 2008-05-27 12:24:23 +00:00
skidd13 6d46851b61 (svn r13286) -Codechange: GUIList Sort returns now if the list sequence has been altered 2008-05-27 10:27:30 +00:00
skidd13 e42690b381 (svn r13285) -Codechange: station sorting uses GUILists Sort() now 2008-05-27 09:57:29 +00:00
skidd13 825f8266e2 (svn r13283) -Codechange: convert the inheritance of GUIList in PlayerStationsWindow to a member object 2008-05-27 09:24:45 +00:00
smatz e424367938 (svn r13280) -Fix (r13276): MSVC compilation was broken 2008-05-27 00:13:51 +00:00
smatz a7761332f6 (svn r13279) -Codechange: simplify condition for terminating loop when reversing list order 2008-05-26 21:45:57 +00:00
peter1138 88f2ef652e (svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists 2008-05-26 21:40:52 +00:00
rubidium 495ca8fdb9 (svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing the NewGRF settings window. 2008-05-26 21:38:17 +00:00
smatz a0b14f02c8 (svn r13276) -Codechange: use qsort() for initial sorting of a list for better performance (credits go to skidd13 and peter1138) 2008-05-26 21:27:06 +00:00
smatz a509746288 (svn r13275) -Fix: sort lists with 2 items, too
-Fix: reset VL_RESORT and resort timer even when no sort was needed
2008-05-26 21:08:03 +00:00
glx 6e6014918e (svn r13273) -Fix [FS#2042]: MSVC warnings (again) 2008-05-26 20:20:38 +00:00
skidd13 0972b3dd15 (svn r13271) -Codechange: groups sorting uses GUILists Sort() now 2008-05-26 18:30:58 +00:00
peter1138 4c69d11f5e (svn r13270) -Codechange: There is no need to clear lists in the window constructor 2008-05-26 18:25:27 +00:00
skidd13 515e0fa22d (svn r13269) -Codechange: build bridge window uses GUILists Sort() now
-Cleanup: make some globals part of the build bridge window
2008-05-26 17:53:37 +00:00
skidd13 18acb21d65 (svn r13267) -Codechange: extend GUIList with a GnomeSort 2008-05-26 16:44:48 +00:00
peter1138 02b5ffa13f (svn r13266) -Codechange: Use SmallVector in GUIList 2008-05-26 16:23:23 +00:00
rubidium 5a0fb3ca97 (svn r13264) -Fix: yapf_settings.h was not removed from the project files. 2008-05-26 13:50:00 +00:00
smatz e4be8c6e70 (svn r13260) -Fix: linked terraform toolbar wasn't marked dirty after moving 2008-05-26 10:41:30 +00:00