Commit Graph

163 Commits

Author SHA1 Message Date
frosch 5cb174c6b8 (svn r25412) -Codechange: Make use of Window::OnHotkey 2013-06-15 15:30:44 +00:00
frosch 1b8b1f3f6c (svn r25410) -Codechange: Put all hotkeys of a window into a static HotkeyList member. 2013-06-15 15:28:09 +00:00
frosch d9e9710cb3 (svn r25408) -Codechange: Simplify hotkeys by removing unused stuff. 2013-06-15 15:27:33 +00:00
frosch bb308c5e30 (svn r25401) -Fix-ish: Add missing includes with prototypes to functions declared in the cpp file. 2013-06-15 15:05:54 +00:00
frosch 8157a8afd8 (svn r25290) -Add: Assign string names to notable windows. 2013-05-26 19:25:01 +00:00
frosch 56e4a8c4d6 (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction. 2013-05-26 19:23:42 +00:00
frosch 3ce8d2ce70 (svn r24846) -Add: Advanced settings to disable certain sound effects. 2012-12-23 21:09:09 +00:00
frosch 03736af2ae (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 2012-11-11 16:10:43 +00:00
frosch b998cbdff1 (svn r24697) -Codechange: Use WDF_UNCLICK_BUTTONS instead of duplicating the same functionality. 2012-11-11 16:07:46 +00:00
frosch 971b3b5fa5 (svn r24171) -Fix [FS#4967, FS#5120]: Hide object specs/classes from the GUI, if they will never be available to the user. 2012-04-22 16:28:37 +00:00
frosch c841a78f69 (svn r24167) -Codechange: Rename NewGRFClass::GetCount() to NewGRFClass::GetClassCount() 2012-04-22 16:28:19 +00:00
truebrain e2726ca3f1 (svn r23547) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 18:21:13 +00:00
truebrain 2aa774e831 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
rubidium 1a515e6344 (svn r22405) -Document: some more "random-ish" tidbits 2011-05-01 19:14:12 +00:00
rubidium bc3ce1e53b (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 2011-02-07 22:37:22 +00:00
frosch 915e339d0f (svn r21975) -Add: console command to reset the engine pool. It removes the traces of engines which are no longer associated to a NewGRF, and can be used to e.g. 'fix' scenarios which were screwed up by the author. You can only use it when there are no vehicles in the game though. 2011-02-05 16:07:23 +00:00
planetmaker df8c4bdbfa (svn r21929) -Fix [FS#4554]: The town window would not be invalidated in the scenario editor if the ground changed and thus the required cargos for town growth 2011-01-30 19:14:48 +00:00
alberth 852e647bcc (svn r21627) -Codechange: Remove _place_proc global variable. 2010-12-24 15:08:19 +00:00
alberth 9a5cce382f (svn r21626) -Codechange: Remove more small static functions. 2010-12-24 15:06:58 +00:00
alberth 62f2771edd (svn r21625) -Codechange: Record last started highlight action, and use it in the callback methods. 2010-12-24 15:06:18 +00:00
alberth d28d469b7a (svn r21624) -Codechange: Remove many small static functions. 2010-12-24 15:04:33 +00:00
alberth d9405a0bcc (svn r21623) -Codechange: Remove _terraform_button_proc and _editor_terraform_button_proc arrays. 2010-12-24 15:03:19 +00:00
alberth 90780fd25b (svn r21608) -Codechange: Move diagnonal rectangle dragging detection completely to tile highlighting. 2010-12-23 14:24:34 +00:00
alberth 8626954fc3 (svn r21539) -Fix [FS#4315]: Show 'plant trees' button lowering of terraform toolbar. 2010-12-19 13:44:09 +00:00
rubidium 20364bcefa (svn r21501) -Fix (rnotlongago): guess what was complaining this time? 2010-12-13 15:34:30 +00:00
rubidium 6892cc8a60 (svn r21500) -Feature [FS#730]: diagonal tile clearing and terraforming. Based on patch by fonsinchen 2010-12-13 15:15:02 +00:00
rubidium 959308a243 (svn r21497) -Codechange: prepare the viewport selection mechanism for selecting diagonally 2010-12-13 15:09:59 +00:00
rubidium b448b7c98d (svn r21493) -Codechange: don't use the full 32 bits of the level land command to tell whether to raise, lower or keep the level of the first selected tile 2010-12-13 11:21:53 +00:00
rubidium 02451d8af6 (svn r21484) -Codechange: use TILE_AREA_LOOP in CommonRaiseLowerBigLand 2010-12-12 18:05:34 +00:00
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
rubidium c862ab42c9 (svn r20671) -Add: feature F (not action F as written mistakenly in the previous message) support for the scenario editor 2010-08-28 19:45:56 +00:00
rubidium 7b16c7650b (svn r20670) -Add: support for action F
-Add: a window to select (NewGRF) objects
2010-08-28 19:43:41 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium 3da3d131c6 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 2010-08-08 10:59:30 +00:00
rubidium 49cee72fa4 (svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command 2010-08-02 22:10:05 +00:00
terkhen 80c43f52e8 (svn r20289) -Codechange: Unify fall through coding style. 2010-08-01 20:52:11 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium 4871baf44d (svn r20282) -Codechange: add some spaces where they should've been 2010-08-01 19:01:09 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
frosch 397d1186d7 (svn r20071) -Codechange: Consistently return the toolbar window for ShowBuildXxxToolbar(). 2010-07-04 09:27:15 +00:00
yexo 26be68ae98 (svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
2010-07-03 21:43:44 +00:00
yexo fda69b2be3 (svn r20057) -Feature: customizable hotkeys for the terraform toolbar in scenario editor 2010-07-03 13:29:01 +00:00
yexo 44a49ac849 (svn r20056) -Feature: customizable hotkeys for the terraform toolbar 2010-07-03 13:28:48 +00:00
terkhen 92a6710cb7 (svn r19696) -Fix [FS#3781]: Avoid showing building toolbars behind the main toolbar when the "Link landscape toolbar" setting is active. 2010-04-22 19:41:36 +00:00
frosch af7051178d (svn r19671) -Fix (r19670): RoundDiv() needs to deal with signed numerators. 2010-04-18 17:13:01 +00:00
frosch 2e90f7f8b9 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 2010-04-18 14:56:05 +00:00
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00