幻想森林

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 3172|回复: 3

[3D工具&引擎] 请问GS的C++的Dll接口在哪下呢?

[复制链接]

31

主题

90

帖子

926

积分

⑤进阶

积分
926
发表于 2007-9-5 21:30:41 | 显示全部楼层 |阅读模式
请问GS的C++接口在哪下呢?
3DGS专题站,有时间就捧捧场吧 www.3dgamesengineer.com
回复

使用道具 举报

6

主题

199

帖子

18

积分

版主

Rank: 7Rank: 7Rank: 7

积分
18
发表于 2007-9-9 09:15:56 | 显示全部楼层
不用下,c++ sdk的文件在sdk_engine這個資料夾。

afuncs.h, atypes.h, avars.h, adll.h - header files
acknex.cpp - source code of acknex.exe
acknex.lib - library for using acknex.dll
複製到c++ project的文件夾,
//main.cpp
#define WIN32_LEAN_AND_MEAN        
#include <windows.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include "adll.h"
int APIENTRY WinMain(HINSTANCE hInstance,    // application instance handle
                     HINSTANCE hPrevInstance, // always zero
                     LPTSTR    lpCmdLine,    // application command line
                     int       nCmdShow)    // window flags
{

    engine_open("arena.wmb");
    while (engine_frame());
    engine_close();
    return 0;
}
//compile source
最後在command prompt到wed的路徑執行wed.exe,使用指令WED -p path\\executable.exe建立一個acknex.dll到c++ project。

使用sdk挺麻煩的,每次編譯出exe麵要bind一個新的acknex.dll,測試運行非常麻煩。
回复 支持 反对

使用道具 举报

31

主题

90

帖子

926

积分

⑤进阶

积分
926
 楼主| 发表于 2007-9-15 19:29:19 | 显示全部楼层
确实是挺麻烦的,其他接口也得这样吗?(比如说Delphi)
3DGS专题站,有时间就捧捧场吧 www.3dgamesengineer.com
回复 支持 反对

使用道具 举报

37

主题

361

帖子

10

积分

版主

Turn around...I'm rig

Rank: 7Rank: 7Rank: 7

积分
10
QQ
发表于 2007-9-30 19:06:11 | 显示全部楼层
我记得有一个gsdelphi.dll

ps:ultranet is that really you????
3dmax+3drad=本人(3dmad) http://gdev.uu1001.com(游戏制作丛林)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|幻想森林

GMT+8, 2024-4-26 19:37 , Processed in 0.022188 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表