Update readme file. Add docker script for windows
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.out
|
||||||
58
README.md
58
README.md
@@ -110,6 +110,62 @@ for (i = 0; i < iniResult->numSection; ++i) {
|
|||||||
PineIni_Destory(iniResult);
|
PineIni_Destory(iniResult);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 输入测试文件
|
||||||
|
```ini
|
||||||
|
hello=1
|
||||||
|
; General setting
|
||||||
|
[General]
|
||||||
|
sLanguage=ENGLISH
|
||||||
|
uGridsToLoad=7
|
||||||
|
uExterior Cell Buffer=64
|
||||||
|
iPreloadSizeLimit=262144000
|
||||||
|
|
||||||
|
[Display]
|
||||||
|
fShadowLODMaxStartFade=1000.0
|
||||||
|
fSpecularLODMaxStartFade=2000.0
|
||||||
|
fLightLODMaxStartFade=3500.0
|
||||||
|
iShadowMapResolutionPrimary=4096
|
||||||
|
bAllowScreenshot=1
|
||||||
|
fDefaultWorldFOV=80
|
||||||
|
fDefault1stPersonFOV=80.0000
|
||||||
|
|
||||||
|
[Audio]
|
||||||
|
fMusicDuckingSeconds=6.0
|
||||||
|
fMusicUnDuckingSeconds=8.0
|
||||||
|
fMenuModeFadeOutTime=3.0
|
||||||
|
fMenuModeFadeInTime=1.0
|
||||||
|
|
||||||
|
; 覆盖上面 General 的 sLanguage
|
||||||
|
[General]
|
||||||
|
sLanguage = "CHINESE"
|
||||||
|
```
|
||||||
|
|
||||||
|
### 输出结果
|
||||||
|
|
||||||
|
```text
|
||||||
|
Total sections = 4
|
||||||
|
<_default> 1 Parameters
|
||||||
|
hello: 1
|
||||||
|
<General> 4 Parameters
|
||||||
|
sLanguage: CHINESE
|
||||||
|
uGridsToLoad: 7
|
||||||
|
uExterior Cell Buffer: 64
|
||||||
|
iPreloadSizeLimit: 262144000
|
||||||
|
<Display> 7 Parameters
|
||||||
|
fShadowLODMaxStartFade: 1000.0
|
||||||
|
fSpecularLODMaxStartFade: 2000.0
|
||||||
|
fLightLODMaxStartFade: 3500.0
|
||||||
|
iShadowMapResolutionPrimary: 4096
|
||||||
|
bAllowScreenshot: 1
|
||||||
|
fDefaultWorldFOV: 80
|
||||||
|
fDefault1stPersonFOV: 80.0000
|
||||||
|
<Audio> 4 Parameters
|
||||||
|
fMusicDuckingSeconds: 6.0
|
||||||
|
fMusicUnDuckingSeconds: 8.0
|
||||||
|
fMenuModeFadeOutTime: 3.0
|
||||||
|
fMenuModeFadeInTime: 1.0
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 测试
|
## 测试
|
||||||
@@ -162,7 +218,7 @@ PutsTitle("Test: Ini Param Exceed");
|
|||||||
test_Ini_Param_Exceed();
|
test_Ini_Param_Exceed();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* INI 测试4:无错误
|
* INI 测试5:无错误
|
||||||
* 成功后打印所有的 section 和里面 parameter
|
* 成功后打印所有的 section 和里面 parameter
|
||||||
*/
|
*/
|
||||||
PutsTitle("Test: Ini Success");
|
PutsTitle("Test: Ini Success");
|
||||||
|
|||||||
1
start-docker.cmd
Normal file
1
start-docker.cmd
Normal file
@@ -0,0 +1 @@
|
|||||||
|
docker run -v %cd%:/srv/workspace -it --rm conanio/gcc7 /bin/bash
|
||||||
Reference in New Issue
Block a user