Port 2V0 UI Python bindings and app module link surface

This commit is contained in:
shen
2026-09-22 19:57:35 -07:00
parent a0ad587f78
commit b221a9eaf5
74 changed files with 18320 additions and 9 deletions
+19
View File
@@ -8,6 +8,24 @@
// (docs/PORT-PLAN.md 批次 2V0-2V3).
#include "../ScriptLib/StdAfx.h"
#include "../GameLib/StdAfx.h" // 40250 PCH order: GameLib types precede UserInterface/GameType.h.
#include "../GameLib/RaceData.h"
#include "../EterPythonLib/StdAfx.h"
#include "GameType.h" // 40250's UserInterface precompiled header supplies these item types.
#include "Locale.h"
#include "../EterBase/tea.h"
#include <dinput.h>
// 40250's Windows PCH also includes DirectShow. The macOS UI adapter owns the video backend;
// these opaque interfaces are only pointer members in PythonApplication.h.
#ifndef _WIN32
struct IBaseFilter;
struct ISampleGrabber;
struct IMediaControl;
struct IMediaEventEx;
struct IVideoWindow;
struct IBasicVideo;
#endif
#define APP_NAME "Metin 2"
@@ -25,3 +43,4 @@ enum
// The Python module initializers RunMainScript calls, each defined in its own Python*Module.cpp.
// Listed here as 40250 lists them; only the ported ones are defined.
void initpack();
void initapp();