forked from macroquest/eqlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExceptionsDisabled.cpp
More file actions
73 lines (59 loc) · 2.79 KB
/
Copy pathExceptionsDisabled.cpp
File metadata and controls
73 lines (59 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
* MacroQuest: The extension platform for EverQuest
* Copyright (C) 2002-present MacroQuest Authors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
// this file exists specifically to define the naked functions that error out when exceptions
// are enabled. We don't actually need exceptions for these functions because EQ will implement
// the necessary exception handling mechanisms -- we just need to call into its functions.
#if !defined(_M_AMD64)
// C++ exception handler used, but unwind semantics are not enabled.
#pragma warning(disable : 4530)
#include "UI.h"
#include "EQClasses.h"
#include "Globals.h"
namespace eqlib {
// CListWnd
#ifdef CListWnd__AddColumn1_x
/* FUNCTION_AT_ADDRESS(int, CListWnd::AddColumn(const CXStr& Label, CTextureAnimation* pTA, int Width, uint32_t Flags,
* CXStr Tooltip, uint32_t Type, CTextureAnimation* pTASelected, CTextureAnimation* pTAMouseOver, bool bResizeable,
* CXSize TextureSize, CXPoint TextureOffset), CListWnd__AddColumn1);
*/
FUNCTION_AT_ADDRESS(int, CListWnd::AddColumn(const CXStr& Label, CTextureAnimation* pTA, int Width, uint32_t Flags, CXStr Tooltip, uint32_t Type, CTextureAnimation* pTASelected, CTextureAnimation* pTAMouseOver, bool bResizeable, CXSize TextureSize, CXPoint TextureOffset), CListWnd__AddColumn1);
#endif
// CEditWnd
#ifdef CEditWnd__ReplaceSelection_x
FUNCTION_AT_ADDRESS(bool, CEditWnd::ReplaceSelection(CXStr, bool), CEditWnd__ReplaceSelection);
#endif
// CStmlWnd
#ifdef CStmlWnd__AppendSTML_x
FUNCTION_AT_ADDRESS(CXSize, CStmlWnd::AppendSTML(CXStr), CStmlWnd__AppendSTML);
#endif
#ifdef CStmlWnd__GetVisibleText_x
FUNCTION_AT_ADDRESS(CXStr, CStmlWnd::GetVisibleText(CXStr, const CXRect&) const, CStmlWnd__GetVisibleText);
#endif
#ifdef CStmlWnd__SetSTMLText_x
FUNCTION_AT_ADDRESS(void, CStmlWnd::SetSTMLText(CXStr, bool, SLinkInfo*), CStmlWnd__SetSTMLText);
#endif
// CChatWindow
#ifdef CChatWindow__AddHistory_x
FUNCTION_AT_ADDRESS(void, CChatWindow::AddHistory(CXStr), CChatWindow__AddHistory);
#endif
// CHelpWnd
#ifdef CHelpWnd__SetFile_x
FUNCTION_AT_ADDRESS(void, CHelpWnd::SetFile(CXStr), CHelpWnd__SetFile);
#endif
// CLargeDinalogWnd
#ifdef CLargeDialogWnd__Open_x
FUNCTION_AT_ADDRESS(void, CLargeDialogWnd::Open(bool bYesNoEnabled, CXStr DialogText, unsigned long closeTimer/*0 means never*/, CXStr DialogTitle, bool bShowVolumeControls, CXStr YesText, CXStr NoText), CLargeDialogWnd__Open);
#endif
} // namespace eqlib
#endif // !defined(_M_AMD64)