Commit a saner help system--still improvable in terms of direct access to topic pages

This commit is contained in:
jeblanchard 2008-06-01 16:57:37 +00:00
parent b351ce60b6
commit 9920fb4b72
5 changed files with 13 additions and 5 deletions

View File

@ -13,6 +13,7 @@ debuggersp.cpp
directories.cpp
gui.cpp
guiconfig.cpp
help.cpp
input.cpp
joystick.cpp
keyboard.cpp

View File

@ -119,6 +119,7 @@ double winsizemulx = 1, winsizemuly = 1;
int genie = 0;
int pal_emulation = 0;
int ntsccol = 0, ntsctint, ntschue;
char BaseDirectory[2048];
// Contains the names of the overridden standard directories

View File

@ -90,7 +90,7 @@ static int changerecursive=0;
/**
* Contains the base directory of FCE
**/
static char BaseDirectory[2048];
extern char BaseDirectory[2048];
extern int soundo;
extern int eoptions;

View File

@ -53,8 +53,7 @@
#include "palette.h"
#include "directories.h"
#include "gui.h"
#include <htmlhelp.h>
#include "help.h"
// Extern variables
@ -1120,8 +1119,7 @@ LRESULT FAR PASCAL AppWndProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam)
case MENU_HELP:
// Help Menu is selected
//HtmlHelp(GetDesktopWindow(), "drivers/win/fceux.chm::/{7EEBAD0B-2126-4A8A-864F-61D603111A68}.htm", HH_DISPLAY_TOPIC, (DWORD)NULL);
HtmlHelp(GetDesktopWindow(), "C:/fceux.chm::/{7EEBAD0B-2126-4A8A-864F-61D603111A68}.htm", HH_DISPLAY_TOPIC, (DWORD)NULL);
OpenHelpWindow();
break;
case MENU_MSGLOG:

View File

@ -859,6 +859,14 @@
RelativePath="..\src\drivers\win\guiconfig.h"
>
</File>
<File
RelativePath="..\src\drivers\win\help.cpp"
>
</File>
<File
RelativePath="..\src\drivers\win\help.h"
>
</File>
<File
RelativePath="..\src\drivers\win\input.cpp"
>