getic_qmap_plug.cpp

来自「一个类似QUAKE的CSG关卡编辑器」· C++ 代码 · 共 39 行

CPP
39
字号
// **************************************************************************************
// Copyright (c) 2000-2005 Zalsoft Inc
// www.zalsoft.com
// sales@zalsoft.com
// You are licensed to use this file on a single computer only. 
// **************************************************************************************

#include "stdafx.h"
#include "PQmapLoader.h"

//----------------------------------------------------------------------------------
BOOL APIENTRY DllMain( HANDLE hModule, 
                       DWORD  ul_reason_for_call, 
                       LPVOID lpReserved)
{
    return TRUE;
}

//----------------------------------------------------------------------------------
extern "C"
{
    EX_IN IGeticPlug*	CreateInstance()
    {
	    return new PqmapLoader(); 
    }

    EX_IN  void	DestroyInstance(IGeticPlug* pr)
    {
	    delete pr;
    }

    const char* GetCatName(void)
    {
        return "getic plugin, map";
    }

};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?