Commit a saner help system--still improvable in terms of direct access to topic pages
This commit is contained in:
parent
b351ce60b6
commit
9920fb4b72
|
@ -13,6 +13,7 @@ debuggersp.cpp
|
|||
directories.cpp
|
||||
gui.cpp
|
||||
guiconfig.cpp
|
||||
help.cpp
|
||||
input.cpp
|
||||
joystick.cpp
|
||||
keyboard.cpp
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue