• R/O
  • SSH

hyakutyping: コミット

ゲーム用のソースコード


コミットメタ情報

リビジョンbe4675780f436f80d45c082dc78d0d0e489c0d97 (tree)
日時2011-08-16 10:38:06
作者satofumi <satofumi@user...>
コミッターsatofumi

ログメッセージ

消音時の表示を修正した

変更サマリ

差分

diff -r ecef844a3cc8 -r be4675780f43 scripts/option_config.lua
--- a/scripts/option_config.lua Sat Aug 13 19:38:16 2011 +0900
+++ b/scripts/option_config.lua Tue Aug 16 10:38:06 2011 +0900
@@ -67,9 +67,7 @@
6767 option_screen_:setIndex(is_fullscreen_index_)
6868 option_screen_:press(is_fullscreen_index_ + 1)
6969
70- --volume_music_:setIndex(volume_music_index_)
7170 volume_music_:press(volume_music_index_ + 1)
72- --volume_se_:setIndex(volume_se_index_)
7371 volume_se_:press(volume_se_index_ + 1)
7472 end
7573
@@ -136,7 +134,11 @@
136134 layer_:push_front(subtitle_screen_label_)
137135 item_y = item_y + item_height
138136
139- subtitle_volume_ = TextSurface(font_, "音量")
137+ if back_music_:isMute() then
138+ subtitle_volume_ = TextSurface(font_, "音量 (消音中)")
139+ else
140+ subtitle_volume_ = TextSurface(font_, "音量")
141+ end
140142 subtitle_volume_label_ = Label(subtitle_volume_)
141143 subtitle_volume_label_:setPosition(Point(item_x, item_y))
142144 layer_:push_front(subtitle_volume_label_)
旧リポジトリブラウザで表示