(svn r127) New feature: ingame console. (sign_de)

Press tab to open the console, more info in docs/console.txt
This commit is contained in:
dominik
2004-08-24 08:34:28 +00:00
parent 7efcc84512
commit e2f627a22e
11 changed files with 992 additions and 19 deletions

View File

@@ -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;