rubidium
|
e7bb5c63a4
|
(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation.
|
2008-10-14 19:27:08 +00:00 |
|
rubidium
|
e589c7e580
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
2008-09-30 20:51:04 +00:00 |
|
rubidium
|
f56e630e5c
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
2008-09-30 20:39:50 +00:00 |
|
smatz
|
a000de8418
|
(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open
-Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
|
2008-09-24 16:40:06 +00:00 |
|
rubidium
|
f49d5057ee
|
(svn r14390) -Codechange: replace magic constants with symbolic constants.
|
2008-09-23 15:24:15 +00:00 |
|
rubidium
|
31d69a49e8
|
(svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
|
2008-08-11 22:45:11 +00:00 |
|
rubidium
|
b14d884a0a
|
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
|
2008-06-12 19:06:30 +00:00 |
|
rubidium
|
224ca68fb5
|
(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed.
|
2008-05-30 21:06:43 +00:00 |
|
rubidium
|
6efcd64912
|
(svn r13338) -Doc: add documentation about the window placement. Patch by Alberth.
|
2008-05-29 22:22:02 +00:00 |
|
rubidium
|
e7a501100a
|
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
2008-05-29 15:13:28 +00:00 |
|
rubidium
|
4151d68480
|
(svn r13322) -Codechange: _no_scroll belongs more with the window code.
|
2008-05-29 11:13:11 +00:00 |
|
rubidium
|
4a3dd37582
|
(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
|
3716f4814d
|
(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
|
dc77647ea4
|
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
2008-05-25 19:17:03 +00:00 |
|
rubidium
|
bf3b61cfa3
|
(svn r13228) -Codechange: split console.h.
|
2008-05-24 10:15:06 +00:00 |
|
rubidium
|
162e2e074b
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
2008-05-19 09:48:47 +00:00 |
|
rubidium
|
a21d3fc63b
|
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
|
2008-05-18 20:40:30 +00:00 |
|
rubidium
|
4d5b9e38d6
|
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
|
2008-05-18 12:40:38 +00:00 |
|
rubidium
|
d284ba2283
|
(svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
2008-05-17 23:11:06 +00:00 |
|
rubidium
|
ac8f0fdc7b
|
(svn r13141) -Codechange: remove an unused variable from Window.
|
2008-05-17 13:04:30 +00:00 |
|
rubidium
|
7f6ccdc624
|
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
|
2008-05-17 12:26:00 +00:00 |
|
belugas
|
835a5fcf43
|
(svn r13133) -Codechange: Add a base class (descending from Window) for all new windows that are going to require a ResetObjectToPlace to be performed on closing.
This will allow to free the said window only once, and not twice otherwise
|
2008-05-17 03:29:16 +00:00 |
|
rubidium
|
758f4a358d
|
(svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper functions/enums/variables as they are not used anymore.
|
2008-05-16 23:30:10 +00:00 |
|
rubidium
|
c709b8a711
|
(svn r13099) -Fix [FS#2014]: when a window had children only one of them would be closed (on a parent closure) instead of all children.
|
2008-05-15 11:17:56 +00:00 |
|
rubidium
|
a7db265bb6
|
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
|
2008-05-13 14:43:33 +00:00 |
|
glx
|
dacd2c5de8
|
(svn r13047) -Codechange: remove vp_d
|
2008-05-11 15:08:44 +00:00 |
|
rubidium
|
29ad1d442a
|
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
|
2008-05-11 11:41:18 +00:00 |
|
rubidium
|
9410be7b70
|
(svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp.
|
2008-05-10 13:54:20 +00:00 |
|
rubidium
|
24c2d9ff5c
|
(svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth.
|
2008-05-10 13:53:11 +00:00 |
|
rubidium
|
2ac412375c
|
(svn r13029) -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.
|
2008-05-10 13:46:36 +00:00 |
|
rubidium
|
f710876037
|
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
|
2008-05-10 12:30:27 +00:00 |
|
rubidium
|
8d0a7f4634
|
(svn r13025) -Codechange: remove the need for two WindowEvents.
|
2008-05-09 15:27:00 +00:00 |
|
rubidium
|
0f7d925121
|
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
|
2008-05-09 09:29:27 +00:00 |
|
rubidium
|
f3d184aee4
|
(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there.
|
2008-05-08 12:59:47 +00:00 |
|
rubidium
|
92aac531c2
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
2008-05-08 11:50:34 +00:00 |
|
rubidium
|
51cda2252c
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
2008-05-08 11:31:41 +00:00 |
|
rubidium
|
054552a30b
|
(svn r12999) -Fix [FS#1995]: when a Window got deleted on a double click event, we should not send a click event to the now non-existant Window as that causes segfaults.
|
2008-05-07 21:45:27 +00:00 |
|
rubidium
|
c28ce39e3c
|
(svn r12987) -Codechange: split viewport and tile selection.
|
2008-05-07 13:10:15 +00:00 |
|
rubidium
|
43328ced46
|
(svn r12984) -Codechange: some coding style in window.cpp.
|
2008-05-07 08:27:55 +00:00 |
|
rubidium
|
c27f3cfa62
|
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
|
2008-05-06 22:17:12 +00:00 |
|
rubidium
|
9db77e3808
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
2008-05-06 22:08:18 +00:00 |
|
rubidium
|
8796331d83
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
2008-05-06 21:28:30 +00:00 |
|
rubidium
|
1ce0b03bf0
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
2008-05-06 15:11:33 +00:00 |
|
rubidium
|
4acb8f3a5e
|
(svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes.
|
2008-05-04 21:36:37 +00:00 |
|
rubidium
|
0083ce9e1b
|
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
|
2008-05-04 10:05:50 +00:00 |
|
rubidium
|
ec931ba5c6
|
(svn r12938) -Codechange: coding style fixes. Patch by Alberth.
|
2008-05-04 08:56:59 +00:00 |
|
rubidium
|
7c93f3bab8
|
(svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth.
|
2008-05-04 08:49:57 +00:00 |
|
rubidium
|
a9775dfcc9
|
(svn r12790) -Codechange: code style fixes. Patch by Alberth.
|
2008-04-19 13:28:48 +00:00 |
|
rubidium
|
081f627018
|
(svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth.
|
2008-04-19 13:05:05 +00:00 |
|
rubidium
|
18e64b28e2
|
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
|
2008-04-17 21:21:01 +00:00 |
|