Age | Commit message (Collapse) | Author |
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
|
|
openttd.cpp to viewport.cpp/window.cpp.
|
|
window_gui.h/window.cpp because they belong there.
|
|
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
|
|
|
|
|
Window constructors.
|
|
WindowEvent.
|
|
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
|
|
|
|
|
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
|
|
functions/enums/variables as they are not used anymore.
|
|
would be closed (on a parent closure) instead of all children.
|
|
pointer with the WE_CREATE message because nothing uses it anymore.
|
|
|
|
object is bound to cause errors.
|
|
instead of a global one as it should only be used from window.cpp.
|
|
that the pointer you are allocating to is NULL. Patch by Alberth.
|
|
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.
|
|
same thing.
|
|
|
|
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
|
|
move it to there.
|
|
Window.
|
|
a Window constructor.
|
|
event, we should not send a click event to the now non-existant Window as that causes segfaults.
|
|
|
|
|
|
declarations.
|
|
when it's certain that w != NULL.
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
Window deletion causing the reading invalid/freed data which could cause crashes.
|
|
|
|
|
|
window. Patch by Alberth.
|
|
|
|
by Alberth.
|
|
place to a single location.
|
|
have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
|
|
resizes unless they would go behind the toolbar.
|
|
a patch by Alberth.
|
|
windows.
|
|
stuff. Based on a patch by Albert.
|
|
|
|
Patch by Alberth.
|
|
after resizing the screen
|
|
when Ctrl is pressed
|