-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathIniControler.decls
40 lines (36 loc) · 2.17 KB
/
IniControler.decls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
; IniControler - BlitzToolBox的一部分
; Blitz3D的ini文件读写工具。收容失效汉化计划的定制unordered map版本。
; v1.06 2022.11.12
; v1.06.2 2023.9.10
; https://github.com/ZiYueCommentary/BlitzToolbox/tree/ziyue
.lib "IniControler.dll"
IniClearBuffer(path$):"_IniClearBuffer@4"
IniClearAllBuffer():"_IniClearAllBuffer@0"
IniSetBufferValue(path$, section$, key$, value$):"_IniSetBufferValue@16"
IniBufferSectionExist%(path$, section$):"_IniBufferSectionExist@8"
IniGetBuffer%(path$):"_IniGetBuffer@4"
IniGetAllBuffer%():"_IniGetAllBuffer@0"
IniSetBuffer(path$, buffer%):"_IniSetBuffer@8"
IniSetAllBuffer(buffer%):"_IniSetAllBuffer@4"
IniBufferKeyExist%(path$, section$, key$):"_IniBufferKeyExist@12"
IniCreateSection(path$, section$):"_IniCreateSection@8"
IniRemoveBufferKey(path$, section$, key$):"_IniRemoveBufferKey@12"
IniRemoveBufferSection(path$, section$):"_IniRemoveBufferSection@8"
IniSetExportBufferValue(buffer%, section$, key$, value$):"_IniSetExportBufferValue@16"
; Custom for scpcb-ue.
FindSCP294Drink_$(file$, drink$):"_FindSCP294Drink@8"
; they have default parameters so you need include "IniControler.bb"
IniWriteBuffer_(path$, clearPrevious%):"_IniWriteBuffer@8"
IniGetString_$(path$, section$, key$, defaultValue$, allowBuffer%):"_IniGetString@20"
IniGetInt_%(path$, section$, key$, defaultValue%, allowBuffer%):"_IniGetInt@20"
IniGetFloat_#(path$, section$, key$, defaultValue#, allowBuffer%):"_IniGetFloat@20"
IniGetBufferString_$(path$, section$, key$, defaultValue$):"_IniGetBufferString@16"
IniGetBufferInt_%(path$, section$, key$, defaultValue%):"_IniGetBufferInt@16"
IniGetBufferFloat_#(path$, section$, key$, defaultValue#):"_IniGetBufferFloat@16"
IniWriteString_(path$, section$, key$, value$, updateBuffer%):"_IniWriteString@20"
IniWriteInt_(path$, section$, key$, value%, updateBuffer%):"_IniWriteInt@20"
IniWriteFloat_(path$, section$, key$, value#, updateBuffer%):"_IniWriteFloat@20"
IniSectionExist_%(path$, section$, allowBuffer%):"_IniSectionExist@12"
IniKeyExist_%(path$, section$, key$, allowBuffer%):"_IniKeyExist@16"
IniRemoveKey_(path$, section$, key$, updateBuffer%):"_IniRemoveKey@16"
IniRemoveSection_(path$, section$, updateBuffer%):"_IniRemoveSection@12"