-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDebug.h
More file actions
66 lines (57 loc) · 1.64 KB
/
Copy pathDebug.h
File metadata and controls
66 lines (57 loc) · 1.64 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
/*
Copyright (c) 2024-2025 Toksisitee. All rights reserved.
This work is licensed under the terms of the MIT license.
For a copy, refer to license.md or https://opensource.org/licenses/MIT
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
*/
#pragma once
#include "imgui.h"
#include "imgui_impl_dx9.h"
#include "imgui_impl_win32.h"
#include "imgui_internal.h"
#include "imgui_freetype.h"
#include "Editor.h"
#include "SkyWnd.h"
#include "GhostWnd.h"
#include "FadeWnd.h"
#include "BigFadeWnd.h"
#include "CliffWnd.h"
#include "AlphaWnd.h"
#include "DispWnd.h"
#include "BlocksWnd.h"
#include "LevelWnd.h"
namespace Debug
{
extern CSkyWnd g_SkyWnd;
extern CGhostWnd g_GhostWnd;
extern CGhostWnd g_GhostWnd2;
extern CFadeWnd g_FadeWnd;
extern CFadeWnd g_FadeWnd2;
extern CBigFadeWnd g_BigFadeWnd;
extern CCliffWnd g_CliffWnd;
extern CCliffWnd g_CliffWnd2;
extern CAlphaWnd g_AlphaWnd;
extern CDispWnd g_DispWnd;
extern CDispWnd g_DispWnd2;
extern CBlocksWnd g_BlocksWnd;
extern CLevelWnd g_LevelWnd;
extern CLevelWnd g_LevelWnd2;
extern void InitializeWindows( LPDIRECT3DDEVICE9 pDevice );
extern void RenderWindows();
#if EDITOR_DEBUG_FONTS
enum FontBuildMode { FontBuildMode_FreeType, FontBuildMode_Stb };
class CFreeTypeTest
{
public:
bool PreNewFrame();
void ShowFontsOptionsWindow();
private:
FontBuildMode BuildMode = FontBuildMode_FreeType;
bool WantRebuild = true;
float RasterizerMultiply = 1.0f;
unsigned int FreeTypeBuilderFlags = 0;
};
#endif
}