OSDN Git Service

0.2.4
authorh2so5 <h2so5@git.sourceforge.jp>
Sun, 9 Sep 2012 09:01:21 +0000 (18:01 +0900)
committerh2so5 <h2so5@git.sourceforge.jp>
Sun, 9 Sep 2012 09:01:21 +0000 (18:01 +0900)
Escキーでチャット入力を非アクティブにする機能を追加
Readme.txt, license.txtを追加

Readme.txt [new file with mode: 0644]
client/ui/InputBox.cpp
client/version.hpp
license.txt [new file with mode: 0644]

diff --git a/Readme.txt b/Readme.txt
new file mode 100644 (file)
index 0000000..27328bf
--- /dev/null
@@ -0,0 +1,101 @@
+Miku Miku Online 0.2.4
+
+// ******************************** 警告 *********************************** //
+// *** 
+// *** このプログラムはβ版です。不安定・不完全な機能が存在します。
+// *** また、仕様が大幅に変更される可能性があります。
+// ***
+// ************************************************************************* //
+
+
+*** バイナリパッケージ同梱モデル及びモーションについては、mmd.txt をご覧ください
+*** ソフトウェアのライセンスについては、license.txt をご覧ください
+
+=== このソフトウェアについて
+
+ MMD (Miku Miku Dance) 用のモデルを使うことができるチャットソフトウェアです。
+
+
+=== 動作環境
+ Windows Vista, 7
+ 2GB RAM
+ DirectX 9
+ シェーダーモデル 2.0 以上
+
+
+=== 使い方
+
+Client.exe を起動してください。
+バックグラウンドでサーバーが同時に起動します。
+
+* ログイン
+ ホストアドレスを聞かれますので、
+ 他のサーバーに接続する場合はサーバーのアドレスを入力してください。
+
+ 自分がサーバーとして待ち受ける場合や、
+ 一人で遊ぶ場合は 127.0.0.1 を入力します。
+
+* 名前
+ 初期状態では名前が設定されていないので ??? になります。
+ 下記のコマンドを使用して名前を設定してください。
+
+* ログアウト
+ ログアウトする場合はクライアントごと閉じてください。
+ 自分がサーバーとして待ち受けている場合、サーバーも終了するので注意してください。
+
+ フルスクリーンモードの場合は Alt + F4 で終了します。
+
+
+=== コマンド
+
+チャットウィンドウで以下のコマンドを使うことができます
+
+/nick [名前] - 名前を設定します (例: /name 名無し
+
+/model [モデル名] - モデルを設定します (例: /model 亞北ネル
+
+/escape - 変な場所に入り込んでしまった時に位置をリセットします
+
+
+
+=== 操作方法
+* キーボード
+ W - 前進
+ S - 後退
+ A - 左旋回
+ D - 右旋回
+ Space - ジャンプ
+ Enter - チャット入力切り替え
+ Alt + F4 - クライアント終了
+
+* マウス
+ 左ドラッグ - キャラ回転
+ 右ドラッグ - カメラ回転
+ マウスホイール - カメラズーム
+
+* ゲームパッド
+ 左アナログ - 移動
+ 右アナログ - カメラズーム
+ ボタン1 - ジャンプ
+ POV - カメラ回転
+
+ゲームパッドはクライアント起動前に接続してください
+ゲームパッドの種類によっては対応していないものもあります
+
+
+=== ポート開放
+サーバーとして待ち受けるにはポート開放が必要な場合があります。
+外部ポート 39390 → 内部ポート 39390 (TCP)
+ポート開放の方法については、ルーターの説明書などをご覧ください。
+
+
+=== サーバー単体での起動
+Client.exeを終了した状態で、server/Server.exe を実行すると単独でサーバーが起動します。
+この状態でClient.exeを起動することができますが、Client.exeを終了してもサーバーは終了しません。
+サーバーを終了するときはコマンドプロンプトのウィンドウを閉じてください。
+
+
+
+--
+mmo@h2so5.net
+http://sourceforge.jp/projects/mmo/
\ No newline at end of file
index 62d8c57..e85245f 100644 (file)
@@ -320,6 +320,8 @@ void InputBox::ProcessInput(InputManager* input)
 
     bool first_key_shift = (input->GetKeyCount(KEY_INPUT_RSHIFT) == 1
             || input->GetKeyCount(KEY_INPUT_LSHIFT) == 1);
+       
+    bool push_key_esc = input->GetKeyCount(KEY_INPUT_ESCAPE) > 0;
 
     bool push_key_shift = (input->GetKeyCount(KEY_INPUT_RSHIFT) > 0
             || input->GetKeyCount(KEY_INPUT_LSHIFT) > 0);
@@ -341,7 +343,7 @@ void InputBox::ProcessInput(InputManager* input)
     bool empty = input_.text().empty();
     input_.ProcessInput(input);
 
-    if (IsActive() && first_key_return && empty) {
+    if (IsActive() && ((first_key_return && empty) || push_key_esc)) {
         Inactivate();
     } else if (!IsActive() && first_key_return) {
         Activate();
index a2da95e..8d38e94 100644 (file)
@@ -9,7 +9,7 @@
 
 #define MMO_VERSION_MAJOR 0
 #define MMO_VERSION_MINOR 2
-#define MMO_VERSION_REVISION 3
+#define MMO_VERSION_REVISION 4
 
 #ifdef MMO_VERSION_BUILD
 #define MMO_VERSION_BUILD_TEXT " Build " MMO_VERSION_TOSTRING(MMO_VERSION_BUILD)
diff --git a/license.txt b/license.txt
new file mode 100644 (file)
index 0000000..e723fc7
--- /dev/null
@@ -0,0 +1,112 @@
+=== Miku Miku Online
+
+Copyright (c) 2012 MMO Project
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+  claim that you wrote the original software. If you use this software
+  in a product, an acknowledgment in the product documentation would be
+  appreciated but is not required.
+
+  2. Altered source versions must be plainly marked as such, and must not be
+  misrepresented as being the original software.
+
+  3. This notice may not be removed or altered from any source
+  distribution.
+
+
+
+
+=== DX Library
+
+Copyright (c) 2001-2012 Takumi Yamada.
+
+
+=== libpng
+
+Copyright (c) 1998-2011 Glenn Randers-Pehrson.
+
+
+=== zlib
+
+Copyright (c) 1995-2010 Jean-loup Gailly and Mark Adler.
+
+
+=== libjpeg
+
+Copyright (c) 1994-2010, Thomas G. Lane, Guido Vollbeding.
+
+
+=== Bullet
+
+Copyright (c) 2003-2006 Erwin Coumans.
+
+
+=== LZ4
+
+Copyright (c) 2011-2012, Yann Collet.
+
+ Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions are
+  met:
+
+      * Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+      * Redistributions in binary form must reproduce the above
+  copyright notice, this list of conditions and the following disclaimer
+  in the documentation and/or other materials provided with the
+  distribution.
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+
+=== V8 JavaScript Engine
+
+Copyright (c) 2006-2011, the V8 project authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above
+     copyright notice, this list of conditions and the following
+     disclaimer in the documentation and/or other materials provided
+     with the distribution.
+    * Neither the name of Google Inc. nor the names of its
+     contributors may be used to endorse or promote products derived
+     from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+