DXライブラリ+vimを使っている人へ。補完用の辞書がここにあります

WatasukeRoom vim

お久しぶりです、TwitterでVim嫌いといった一週間後にはもう快適に使える環境がそろってきたわたすけです。

Vim+DXライブラリという組み合わせってなかなか見ないと思いませんか?「Vim DxLib」とかで検索してもそれらしきサイトは二、三件くらい。←一件しか見当たりませんでした\(^o^)/ DXライブラリがマイナーだからでしょうか。

それはさておき、上のような環境なのもあり、辞書がないため補完ができないという重大な問題にあたりました。 DXライブラリをVimで使うことはできないのだろうか。。。と思ってましたが、もう辞書作ってしまいましたので公開します。好きに使ってください。

ライン下よりコピペして、vim.exeがあるフォルダにDxLib.dicとかいう名前で保存して、Vimrcに「set dictionary=DxLib.dic」とか書いておけばおkです。

(補完の仕方ーCtrl+X押した後、Ctrl+Kを押す。間違ってもvimrcに「imap <C-I>:<C-X> <C-K>とか書かないように。きちんと補完できません。 ←[追記]「imap <C-I> <C-X><C-K>」で行けました。スペースとか:とかは要らないそうです。)


長いので折りたたみ
DxLib_Init
DxLib_End
ProcessMessage
DrawLine
DrawLineAA
DrawBox
DrawBoxAA
DrawCircle
DrawCircleAA
DrawOval
DrawOvalAA
DrawTriangle
DrawTriangleAA
DrawPixel
GetPixel
LoadGraphScreen
LoadGraph
LoadDivGraph
MakeGraph
MakeScreen
SetCreateDrawValidGraphMultiSample
SetCreateGraphColorBitDepth
SetDrawValidFloatTypeGraphCreateFlag
SetCreateDrawValidGraphChannelNum
SetUsePremulAlphaConvertLoad
DrawGraph
DrawTurnGraph
DrawExtendGraph
DrawRotaGraph
DrawRotaGraph2
DrawRotaGraph3
DrawModiGraph
DrawRectGraph
DerivationGraph
GetDrawScreenGraph
GetGraphSize
InitGraph
DeleteGraph
SetDrawMode
SetDrawBlendMode
SetDrawBright
SetTransColor
LoadBlendGraph
DrawBlendGraph
GraphFilter
GraphFilterBlt
GraphFilterRectBlt
GraphBlend
GraphBlendBlt
GraphBlendRectBlt
DrawString
DrawFormatString
GetDrawStringWidth
GetDrawFormatStringWidth
SetFontSize
SetFontThickness
ChangeFont
ChangeFontType
CreateFontToHandle
LoadFontDataToHandle
DeleteFontToHandle
SetFontCacheUsePremulAlphaFlag
DrawStringToHandle
DrawFormatStringToHandle
GetDrawStringWidthToHandle
GetDrawFormatStringWidthToHandle
GetFontStateToHandle
InitFontToHandle
printfDx
clsDx
SetGraphMode
SetFullScreenResolutionMode
SetFullScreenScalingMode
GetScreenState
SetDrawArea
ClearDrawScreen
SetBackgroundColor
GetColor
SetDrawScreen
ScreenFlip
SetFullSceneAntiAliasingMode
PlayMovie
PlayMovieToGraph
PauseMovieToGraph
SeekMovieToGraph
TellMovieToGraph
GetMovieStateToGraph
CreateMaskScreen
DeleteMaskScree
LoadMask
LoadDivMask
DrawMask
DrawFillMask
DeleteMask
InitMask
FillMaskScreen
SetUseMaskScreenFlag
MakeMask
GetMaskSize
SetDataToMask
DrawMaskToDirectData
DrawFillMaskToDirectData
GetJoypadNum
GetJoypadInputState
GetJoypadAnalogInput
GetJoypadDirectInputState
GetJoypadXInputState
SetJoypadDeadZone
StartJoypadVibration
StopJoypadVibration
SetMouseDispFlag
GetMousePoint
SetMousePoint
GetMouseInput
GetMouseInputLog2
GetMouseWheelRotVol
GetTouchInputNum
GetTouchInput
CheckHitKeyAll
CheckHitKey
GetHitKeyStateAll
GetInputChar
GetInputCharWait
ClearInputCharBuf
KeyInputString
KeyInputSingleCharString
KeyInputNumber
SetKeyInputStringColor
MakeKeyInput
DeleteKeyInput
InitKeyInput
SetActiveKeyInput
CheckKeyInput
DrawKeyInputString
DrawKeyInputModeString
SetKeyInputString
SetKeyInputNumber
GetKeyInputString
GetKeyInputNumber
PlaySoundFile
CheckSoundFile
StopSoundFile
LoadSoundMem
PlaySoundMem
CheckSoundMem
StopSoundMem
DeleteSoundMem
InitSoundMem
ChangePanSoundMem
ChangeVolumeSoundMem
ChangeNextPlayPanSoundMem
ChangeNextPlayVolumeSoundMem
SetFrequencySoundMem
SetLoopPosSoundMem
SetLoopSamplePosSoundMem
SetCurrentPositionSoundMem
DuplicateSoundMem
SetCreateSoundPitchRate
SetCreateSoundTimeStretchRate
Set3DPositionSoundMem
Set3DRadiusSoundMem
Set3DVelocitySoundMem
SetNextPlay3DPositionSoundMem
SetNextPlay3DRadiusSoundMem
SetNextPlay3DVelocitySoundMem
Set3DReverbParamSoundMem
Set3DPresetReverbParamSoundMem
Get3DPresetReverbParamSoundMem
Set3DReverbParamSoundMemAll
Set3DPresetReverbParamSoundMemAll
SetCreate3DSoundFlag
SetEnableXAudioFlag
Set3DSoundOneMetre
Set3DSoundListenerPosAndFrontPos_UpVecY
Set3DSoundListenerPosAndFrontPosAndUpVec
Set3DSoundListenerVelocity
PlayMusic
CheckMusic
StopMusic
SetVolumeMusic
WaitTimer
WaitVSync
WaitKey
GetNowCount
GetNowHiPerformanceCount
GetDateTime
GetRand
SRand
ChangeWindowMode
SetMainWindowText
SetWindowIconID
SetWindowSizeChangeEnableFlag
SetWindowSizeExtendRate
ConnectNetWork
CloseNetWork
PreparationListenNetWork
StopListenNetWork
NetWorkSend
GetNetWorkDataLength
GetNetWorkSendDataLength
NetWorkRecv
NetWorkRecvToPeek
GetNewAcceptNetWork
GetLostNetWork
GetNetWorkAcceptState
GetNetWorkIP
MakeUDPSocket
DeleteUDPSocket
NetWorkSendUDP
NetWorkRecvUDP
CheckNetWorkRecvUDP
FileRead_open
FileRead_size
FileRead_close
FileRead_tell
FileRead_seek
FileRead_read
FileRead_eof
FileRead_gets
FileRead_getc
FileRead_scanf
LoadSoftImage
LoadSoftImageToMem
MakeARGB8ColorSoftImage
MakeXRGB8ColorSoftImage
MakePAL8ColorSoftImage
DeleteSoftImage
InitSoftImage
GetSoftImageSize
FillSoftImage
SetPaletteSoftImage
GetPaletteSoftImage
DrawPixelPalCodeSoftImage
GetPixelPalCodeSoftImage
DrawPixelSoftImage
GetPixelSoftImage
BltSoftImage
DrawSoftImage
CreateGraphFromSoftImage
CreateDivGraphFromSoftImage
SetUseASyncLoadFlag
CheckHandleASyncLoad
GetASyncLoadNum
SetUseCharCodeFormat
GetCharBytes
SetAlwaysRunFlag
SetOutApplicationLogValidFlag
SetUseDXArchiveFlag
SetDXArchiveExtension
SetDXArchiveKeyString
SetEmulation320x240
SetUse3DFlag
SetWaitVSyncFlag
SetUseDivGraphFlag
LoadPauseGraph
ScreenCopy
GetColorBitDepth
SaveDrawScreen
EnumFontName
DrawVString
DrawVStringToHandle
CreateGraphFromMem
ReCreateGraphFromMem
ReloadFileGraphAll
SetRestoreGraphCallback
SetCreateSoundDataType
LoadSoundMemByMemImage
SelectMidiMode

うわ、長い

それでは快適なVimライフを!

コメント

タイトルとURLをコピーしました