• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision0457f241919956068ed9578d5538a72e31a6cce3 (tree)
Time2012-09-04 02:44:41
Authorangeart <angeart@git....>
Commiterangeart

Log Message

PlayMotion()が正しく機能していなかったのを修正
ConfigManagerのメンバは仮の追加

Change Summary

Incremental Difference

--- a/client/3d/FieldPlayer.cpp
+++ b/client/3d/FieldPlayer.cpp
@@ -135,7 +135,8 @@ void FieldPlayer::Update()
135135 }else if(additional_motion_.first)
136136 {
137137 bool connect_prev = true;
138- motion_player_->Play(additional_motion_.second, connect_prev, 200, -1, false);
138+ motion_player_->Play(additional_motion_.second, connect_prev, 400, -1, false);
139+ additional_motion_.first = false;
139140 }
140141 // モーション再生時刻更新
141142 motion_player_->Next(timer_->Delta());
@@ -393,7 +394,6 @@ void FieldPlayer::InputFromUser()
393394 current_stat_.vel = VGet(sin(roty), 0, cos(roty)) * (-move_dir * move_speed * stage_->map_scale());
394395 current_stat_.motion =
395396 current_stat_.is_walking ? motion.walk_ : motion.run_;
396- additional_motion_.first = false;
397397 }
398398 else if (current_stat_.acc.y != 0)
399399 {
--- a/client/3d/PlayerCharacter.cpp
+++ b/client/3d/PlayerCharacter.cpp
@@ -90,6 +90,7 @@ public:
9090 {
9191 bool connect_prev = true;
9292 motion_player_->Play(additional_motion_.second, connect_prev, 200, -1, false);
93+ additional_motion_.first = false;
9394 }
9495
9596 // TODO: Y下方向については重力加速度
--- a/client/ConfigManager.cpp
+++ b/client/ConfigManager.cpp
@@ -80,3 +80,21 @@ int ConfigManager::udp_port() const
8080 {
8181 return udp_port_;
8282 }
83+
84+bool ConfigManager::shader_blur() const
85+{
86+ return shader_blur_;
87+}
88+bool ConfigManager::shader_bloom() const
89+{
90+ return shader_bloom_;
91+}
92+bool ConfigManager::shader_shadow() const
93+{
94+ return shader_shadow_;
95+}
96+
97+bool ConfigManager::shader_depth_field() const
98+{
99+ return shader_depth_field_;
100+}
--- a/client/ConfigManager.hpp
+++ b/client/ConfigManager.hpp
@@ -28,6 +28,11 @@ class ConfigManager
2828 bool upnp_;
2929 int udp_port_;
3030
31+ bool shader_blur_;
32+ bool shader_bloom_;
33+ bool shader_shadow_;
34+ bool shader_depth_field_;
35+
3136 public:
3237 bool fullscreen() const;
3338 int screen_width() const;
@@ -40,6 +45,11 @@ class ConfigManager
4045 bool upnp() const;
4146 int udp_port() const;
4247
48+ bool shader_blur() const;
49+ bool shader_bloom() const;
50+ bool shader_shadow() const;
51+ bool shader_depth_field() const;
52+
4353 private:
4454 ManagerAccessorPtr manager_accessor_;
4555 };