游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1977|回复: 1

[原创]仙剑98系统调用函数列表

[复制链接]

1

主题

1

帖子

0

积分

新手上路

Rank: 1

积分
0
发表于 2005-10-8 12:34:00 | 显示全部楼层 |阅读模式

[原创]仙剑98系统调用函数列表

近日闲来无聊,研究了一下仙剑98的一些文件,结果公布于此,仅供抛砖引玉,高手就不要看了
引用请注明出处:  http://www.czvc.com

更详细信息请到我的主页如下网页观看:
http://www.czvc.com/bbs/showthread.asp?threadid=2394

仙剑98系统调用函数列表:

DDRAW.dll:
DirectDrawCreate

DSOUND.dll:
DirectSoundCreate

DINPUT.dll:   
DirectInputCreateA   

WINMM.dll:
mciSendStringA  timeSetEvent  timeKillEvent  

GDI32.dll:
CreateFontA DeleteObject  TextOutA  SetTextColor  SetBkMode SelectObject  

USER32.dll:
DefWindowProcA  SetWindowLongA  DispatchMessageA  TranslateMessage  GetMessageA
GetLastActivePopup  GetActiveWindow MessageBoxA

KERNEL32.dll:[绝大多数系统调用来自此DLL]
_lclose _lread  _llseek _lopen  
GetDriveTypeA HeapFree  HeapAlloc GetCommandLineA GetProcAddress  GetModuleHandleA  
GetVersion  HeapCreate  HeapDestroy LoadLibraryA  ExitProcess SetHandleCount
GetFileType GetStdHandle  GetStartupInfoA GetModuleFileNameA  GetCPInfo GetACP  GetOEMCP  
FreeEnvironmentStringsA MultiByteToWideChar GetEnvironmentStrings FreeEnvironmentStringsW
GetEnvironmentStringsW  WideCharToMultiByte DisableThreadLibraryCalls WriteFile
GetLastError  SetFilePointer  SetStdHandle  GetStringTypeA  GetStringTypeW  
CMapStringA  CMapStringW  FlushFileBuffers  CloseHandle   

IsTNT GetCurrentThread   SetThreadAffinityMask   GetCurrentProcess  GetProcessAffinityMask      

GetTypeInfoCount GetTypeInfo GetIDsOfNames Invoke QueryInterface AddRef Release
GetKeyDefine StopApp GetActiveWindow cvlong PlayAvi CKey ReadKey ShutDownInput InitCD InitInput
delay1 wtime killtimer settimer DrawString DrawString rngput popscr6a popscr6 adpic adpic0 rblk
rripafreeze rripa nipwseg nipwb nipwa putipna clripna extf rhrff vmap exmyll cleartre ntre

addtre
ffxy exmap exbb exrij exgm2 exgm1 exgop corpate fupate cvpate expate intpate getbin pushscr

popscr
popscrb putp vwindow arrayptr clsmen copymen copymen copymen paksize unpak FlushDSound

PlayDSound
LoadDSound ShutdownDSound InitDSound ClrScr ResetMode SetMode ShowCursor mciSendStringA _hwrite
_hread _lclose _llseek _lcreat _lopen GetCurrentDirectoryA

仙剑98主引擎pal.exe文件版本信息:
T Y P E L I B  V S _ V E R S I O N _ I N F O
V a r F i l e I n f o  T r a n s l a t i o n
S t r i n g F i l e I n f o
C o m p a n y N a m e     D y s i n   I n f o r m a t i o n   C o r p .
P r o d u c t N a m e     s d f F i l e V e r s i o n     1 . 0 0
P r o d u c t V e r s i o n   1 . 0 0     
I n t e r n a l N a m e   p a l
O r i g i n a l F i l e n a m e   p a l . e x e

PAL.dll导出函数列表
从函数名称我们可以猜想一下他们的功能喔:)如果你想写出仙剑98那样的游戏,不妨研究下这个.

CKey ClrScr DrawString FlushDSound GetKeyDefine InitCD InitDSound InitInput
LoadDSound PlayAvi PlayDSound ReadKey ResetMode SetMode ShutDownInput ShutdownDSound
StopApp TimerProc delay1 intpate killtimer paksize settimer wtime addtre adpic adpic0
arrayptr cleartre clripna clsmen copymen corpate cvlong cvpate exbb exgm1 exgm2 exgop
exmap exmyll expate exrij extf ffxy fupate getbin nipwa nipwb nipwseg ntre popscr popscr6
popscr6a popscrb pushscr putipna putp rblk rhrff rngput rripa rripafreeze unpak vmap vwindow

2万

主题

2万

帖子

6万

积分

论坛元老

Rank: 8Rank: 8

积分
66489
QQ
发表于 2005-10-8 14:08:00 | 显示全部楼层

Re:[原创]仙剑98系统调用函数列表

完全的浪费精神!

由于仙剑DOS版是MASM+Microsoft Basic,所以仙剑98是 Visual C/C++写的底层,Visual Basic写的上层!

98版的仙剑在这方面根本就没有程序学习价值,除非你是想用Visual Basic写游戏,研究混编还是可以的。当然原因是指98版程序写的烂引起的。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-28 01:28

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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