forked from macroquest/eqlib
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGraphicsEngine.cpp
40 lines (31 loc) · 1.05 KB
/
GraphicsEngine.cpp
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
/*
* MacroQuest: The extension platform for EverQuest
* Copyright (C) 2002-2022 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.
*/
#include "pch.h"
#include "GraphicsEngine.h"
#include "Globals.h"
namespace eqlib {
//============================================================================
// CDisplay
//============================================================================
int* CDisplay::cameraType = nullptr;
const ScreenWndManager::ScreenRecord* ScreenWndManager::FindScreenRecordByScreenName(const CXStr& name)
{
int* value = screensHash.FindFirst(name);
if (value)
{
return &screens[*value];
}
return nullptr;
}
} // namespace eqlib