OSDN Git Service

デフォルトinfo.jsonの読み込みに対応
authorh2so5 <h2so5@git.sourceforge.jp>
Wed, 26 Sep 2012 22:31:57 +0000 (07:31 +0900)
committerh2so5 <h2so5@git.sourceforge.jp>
Wed, 26 Sep 2012 22:31:57 +0000 (07:31 +0900)
client/ResourceManager.cpp
client/ResourceManager.hpp
client/bin/system/default.info.json [new file with mode: 0644]

index aaa1402..5747bcc 100644 (file)
Binary files a/client/ResourceManager.cpp and b/client/ResourceManager.cpp differ
index 3c545d0..3050b73 100644 (file)
@@ -103,6 +103,8 @@ class ResourceManager {
                static float model_edge_size_;
                //Musics
                static MusicPtr music_;
+
+               static const ptree& GetDefaultInfoJSON();
 };
 
 class ImageHandle {
diff --git a/client/bin/system/default.info.json b/client/bin/system/default.info.json
new file mode 100644 (file)
index 0000000..d01d974
--- /dev/null
@@ -0,0 +1,21 @@
+{
+       "character":
+               {
+                       "height":1.6,
+                       "motions":
+                               {
+                                       "stand":"basic_stand.vmd",
+                                       "walk": "basic_walk.vmd",
+                                       "run":  "basic_run.vmd"
+                               }
+               },
+               
+    "stage":
+       {
+               "start_points":
+                       [
+                               {"x":0.0, "y":0.0, "z":0.0}
+                       ],
+               "skydome": "skydome:入道雲のある風景"
+       }
+}
\ No newline at end of file