You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.0 KiB
37 lines
1.0 KiB
/** |
|
* @file init.h |
|
* |
|
* Interface of routines for initializing the environment, disable screen saver, load MPQ. |
|
*/ |
|
#pragma once |
|
|
|
#include "miniwin/miniwin.h" |
|
#include "mpq/mpq_reader.hpp" |
|
|
|
namespace devilution { |
|
|
|
extern bool gbActive; |
|
extern std::optional<MpqArchive> hellfire_mpq; |
|
extern WNDPROC CurrentProc; |
|
extern std::optional<MpqArchive> spawn_mpq; |
|
extern std::optional<MpqArchive> diabdat_mpq; |
|
extern bool gbIsSpawn; |
|
extern bool gbIsHellfire; |
|
extern bool gbVanilla; |
|
extern bool forceHellfire; |
|
extern std::optional<MpqArchive> hfmonk_mpq; |
|
extern std::optional<MpqArchive> hfbard_mpq; |
|
extern std::optional<MpqArchive> hfbarb_mpq; |
|
extern std::optional<MpqArchive> hfmusic_mpq; |
|
extern std::optional<MpqArchive> hfvoice_mpq; |
|
extern std::optional<MpqArchive> font_mpq; |
|
extern std::optional<MpqArchive> lang_mpq; |
|
extern std::optional<MpqArchive> devilutionx_mpq; |
|
|
|
void init_cleanup(); |
|
void init_archives(); |
|
void init_create_window(); |
|
void MainWndProc(uint32_t Msg); |
|
WNDPROC SetWindowProc(WNDPROC NewProc); |
|
|
|
} // namespace devilution
|
|
|