updated a few things in the plugin system

This commit is contained in:
Christian Hammacher 2005-12-11 17:55:35 +00:00
parent 3f36b51f6c
commit 9d480b05af
4 changed files with 48 additions and 48 deletions

View File

@ -115,7 +115,7 @@ AutoIncBuild=1
MajorVer=1 MajorVer=1
MinorVer=4 MinorVer=4
Release=0 Release=0
Build=4 Build=5
Debug=0 Debug=0
PreRelease=0 PreRelease=0
Special=0 Special=0
@ -126,7 +126,7 @@ CodePage=1252
[Version Info Keys] [Version Info Keys]
CompanyName=AMX Mod X Dev Team CompanyName=AMX Mod X Dev Team
FileDescription= FileDescription=
FileVersion=1.4.0.4 FileVersion=1.4.0.5
InternalName=gaben InternalName=gaben
LegalCopyright=AMX Mod X Dev Team LegalCopyright=AMX Mod X Dev Team
LegalTrademarks= LegalTrademarks=

Binary file not shown.

Binary file not shown.

View File

@ -39,30 +39,30 @@ type TLoadInfo = record
sPluginName: PChar; sPluginName: PChar;
sPluginDescription: PChar; sPluginDescription: PChar;
{ Form Handles } { Form Handles }
hAllFilesForm: HWND; hAllFilesForm: PHandle;
hAutoIndent: HWND; hAutoIndent: PHandle;
hClose: HWND; hClose: PHandle;
hConnGen: HWND; hConnGen: PHandle;
hGoToLine: HWND; hGoToLine: PHandle;
hHTMLPreview: HWND; hHTMLPreview: PHandle;
hHudMsgGenerator: HWND; hHudMsgGenerator: PHandle;
hInfo: HWND; hInfo: PHandle;
hIRCPaster: HWND; hIRCPaster: PHandle;
hMainForm: HWND; hMainForm: PHandle;
hMenuGenerator: HWND; hMenuGenerator: PHandle;
hMOTDGen: HWND; hMOTDGen: PHandle;
hPluginsIniEditor: HWND; hPluginsIniEditor: PHandle;
hReplace: HWND; hReplace: PHandle;
hSearch: HWND; hSearch: PHandle;
hSelectColor: HWND; hSelectColor: PHandle;
hSettings: HWND; hSettings: PHandle;
hSocketsTerminal: HWND; hSocketsTerminal: PHandle;
hParamEdit: HWND; hParamEdit: PHandle;
{ Important Control Handles } { Important Control Handles }
hOutput: HWND; hOutput: PHandle;
hCodeExplorer: HWND; hCodeExplorer: PHandle;
hCodeInspector: HWND; // even if it won't be useful hCodeInspector: PHandle; // even if it won't be useful
hNotes: HWND; hNotes: PHandle;
{ Other } { Other }
pApplication: Pointer; // this is only useful for Delphi developers pApplication: Pointer; // this is only useful for Delphi developers
end; end;
@ -264,30 +264,30 @@ begin
sPluginName := 'Untitled'; sPluginName := 'Untitled';
sPluginDescription := 'No description'; sPluginDescription := 'No description';
{ Handles } { Handles }
hAllFilesForm := frmAllFilesForm.Handle; hAllFilesForm := PHandle(frmAllFilesForm.Handle);
hAutoIndent := frmAutoIndent.Handle; hAutoIndent := PHandle(frmAutoIndent.Handle);
hClose := frmClose.Handle; hClose := PHandle(frmClose.Handle);
hConnGen := frmConnGen.Handle; hConnGen := PHandle(frmConnGen.Handle);
hGoToLine := frmGoToLine.Handle; hGoToLine := PHandle(frmGoToLine.Handle);
hHTMLPreview := frmHTMLPreview.Handle; hHTMLPreview := PHandle(frmHTMLPreview.Handle);
hHudMsgGenerator := frmHudMsgGenerator.Handle; hHudMsgGenerator := PHandle(frmHudMsgGenerator.Handle);
hInfo := frmInfo.Handle; hInfo := PHandle(frmInfo.Handle);
hIRCPaster := frmIRCPaster.Handle; hIRCPaster := PHandle(frmIRCPaster.Handle);
hMainForm := frmMain.Handle; hMainForm := PHandle(frmMain.Handle);
hMenuGenerator := frmMenuGenerator.Handle; hMenuGenerator := PHandle(frmMenuGenerator.Handle);
hMOTDGen := frmMOTDGen.Handle; hMOTDGen := PHandle(frmMOTDGen.Handle);
hPluginsIniEditor := frmPluginsIniEditor.Handle; hPluginsIniEditor := PHandle(frmPluginsIniEditor.Handle);
hReplace := frmReplace.Handle; hReplace := PHandle(frmReplace.Handle);
hSearch := frmSearch.Handle; hSearch := PHandle(frmSearch.Handle);
hSelectColor := frmSelectColor.Handle; hSelectColor := PHandle(frmSelectColor.Handle);
hSettings := frmSettings.Handle; hSettings := PHandle(frmSettings.Handle);
hSocketsTerminal := frmSocketsTerminal.Handle; hSocketsTerminal := PHandle(frmSocketsTerminal.Handle);
hParamEdit := frmParamEdit.Handle; hParamEdit := PHandle(frmParamEdit.Handle);
{ Important Control Handles } { Important Control Handles }
hOutput := frmMain.lstOutput.Handle; hOutput := PHandle(frmMain.lstOutput.Handle);
hCodeExplorer := frmMain.trvExplorer.Handle; hCodeExplorer := PHandle(frmMain.trvExplorer.Handle);
hCodeInspector := frmMain.jviCode.Handle; // even if it won't be useful hCodeInspector := PHandle(frmMain.jviCode.Handle); // even if it won't be useful
hNotes := frmMain.rtfNotes.Handle; hNotes := PHandle(frmMain.rtfNotes.Handle);
{ Other } { Other }
pApplication := @Application; // this is only useful for Delphi developers pApplication := @Application; // this is only useful for Delphi developers
end; end;