diff options
author | dominik <dominik@openttd.org> | 2004-08-24 08:34:28 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2004-08-24 08:34:28 +0000 |
commit | e2f627a22ed2a38542b63ac65a73499a2d9f32aa (patch) | |
tree | 92d0709632554e6421d9d731ecdb6e8bf9bdc631 /window.c | |
parent | 7efcc84512bd2161f4c68fdbdd06b8d1519137df (diff) | |
download | openttd-e2f627a22ed2a38542b63ac65a73499a2d9f32aa.tar.xz |
(svn r127) New feature: ingame console. (sign_de)
Press tab to open the console, more info in docs/console.txt
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2,7 +2,8 @@ #include "ttd.h" #include "window.h" #include "gfx.h" -#include "viewport.h" +#include "viewport.h"
+#include "console.h" void HandleButtonClick(Window *w, byte widget) { @@ -1204,7 +1205,9 @@ void RelocateAllWindows(int neww, int newh) vp->virtual_width = neww << vp->zoom; vp->virtual_height = newh << vp->zoom; continue; // don't modify top,left - } + }
+
+ IConsoleResize(); if (w->window_class == WC_MAIN_TOOLBAR) { top = w->top; |