From 14d2e6e38c1387c41e7947a0a9e665a5910d9ba1 Mon Sep 17 00:00:00 2001 From: Duoyuan Liu Date: Fri, 17 Mar 2023 05:15:52 +0800 Subject: [PATCH] Update readme file. Add docker script for windows --- .gitignore | 1 + README.md | 58 +++++++++++++++++++++++++++++++++++++++++++++++- start-docker.cmd | 1 + 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 start-docker.cmd diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fa92975 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.out \ No newline at end of file diff --git a/README.md b/README.md index c6f40cc..a69a66a 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,62 @@ for (i = 0; i < iniResult->numSection; ++i) { 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 + 4 Parameters + sLanguage: CHINESE + uGridsToLoad: 7 + uExterior Cell Buffer: 64 + iPreloadSizeLimit: 262144000 + 7 Parameters + fShadowLODMaxStartFade: 1000.0 + fSpecularLODMaxStartFade: 2000.0 + fLightLODMaxStartFade: 3500.0 + iShadowMapResolutionPrimary: 4096 + bAllowScreenshot: 1 + fDefaultWorldFOV: 80 + fDefault1stPersonFOV: 80.0000 +