Debian Codegraph @

common/main/fwd-inferno.h

raw
1 /*
2 * Portions of this file are copyright Rebirth contributors and licensed as
3 * described in COPYING.txt.
4 * Portions of this file are copyright Parallax Software and licensed
5 * according to the Parallax license below.
6 * See COPYING.txt for license details.
7
8 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
9 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
10 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
11 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
12 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
13 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
14 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
15 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
16 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
17 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
18 */
19
20 #pragma once
21
22 #include <cstdint>
23 #include <type_traits>
24 #include "fwd-event.h"
25
26 namespace dcx {
27
28 // the maximum length of a filename
29 constexpr std::integral_constant<std::size_t, 13> FILENAME_LEN{};
30
31 struct d_fname;
32 struct d_interface_unique_state;
33 struct d_game_view_unique_state;
34
35 // Default event handler for everything except the editor
36 window_event_result standard_handler(const d_event &event);
37
38 extern d_interface_unique_state InterfaceUniqueState;
39 extern d_game_view_unique_state GameViewUniqueState;
40
41 }