- Bugfix: Console now works in VS 2008 (by SpaceViking and The_Bob)

- Bugfix: Reset the ALT + \ keys after opening the console in the SGP

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2991 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2009-06-09 09:31:43 +00:00
parent fd947789f2
commit 5291e3b127
3 changed files with 14 additions and 3 deletions
+3 -2
View File
@@ -1,13 +1,14 @@
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#include "res\resource.h"
#define APSTUDIO_READONLY_SYMBOLS
#define IDC_STATIC 00
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
#include "windows.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
+7 -1
View File
@@ -43,7 +43,7 @@
#include "VFS/Location/vfs_slf_library.h"
#include "Text.h"
#define USE_CONSOLE 0
#define USE_CONSOLE 1
#include <iostream>
@@ -54,6 +54,7 @@
#include "Console.h"
#include "Lua Interpreter.h"
#include "connect.h"
#include "english.h"
#ifdef JA2
#include "BuildDefines.h"
@@ -527,6 +528,11 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP
#endif
}
}
// Reset the pressed keys
gfKeyState[ ALT ] = FALSE;
gfKeyState[ CTRL ] = FALSE;
gfKeyState[ 219 ] = FALSE; // "\"
}
break;
+4
View File
@@ -531,6 +531,10 @@
<Filter
Name="Resource Files"
>
<File
RelativePath=".\Console\Console.rc"
>
</File>
<File
RelativePath="Res\ja2.rc"
>