• 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

Revisioncaf0fdcafe278634ba84a13882a6d2c02ad79c26 (tree)
Time2012-09-08 21:26:46
Authorh2so5 <h2so5@git....>
Commiterh2so5

Log Message

UISuper.cppのyuidoc用コメントを削除
一部ファイルの文字コードを変更
ログを標準出力に常時流すよう変更

Change Summary

Incremental Difference

Binary files a/client/Card.cpp and b/client/Card.cpp differ
Binary files a/client/Player.cpp and b/client/Player.cpp differ
--- a/client/ui/UISuper.cpp
+++ b/client/ui/UISuper.cpp
@@ -2,16 +2,6 @@
22 // UISuper.cpp
33 //
44
5-/**
6-* @module global
7-* @submodule UI
8- */
9-
10-/**
11- * @class Base
12- * @namespace UI
13- */
14-
155 #include "UISuper.hpp"
166
177 int UISuper::max_focus_index = 0;
--- a/common/Logger.hpp
+++ b/common/Logger.hpp
@@ -7,7 +7,7 @@
77 #include "unicode.hpp"
88
99 #ifndef _WIN32
10-#define OutputDebugString(str) std::cout << str
10+#define OutputDebugString(str) (str)
1111 #endif
1212
1313 class Logger {
@@ -114,6 +114,7 @@ class Logger {
114114 void Log(const tstring& prefix, const tstring& format) {
115115 auto out = prefix + format + _T("\n");
116116 OutputDebugString(out.c_str());
117+ std::wcout << unicode::ToWString(out);
117118 ofs_ << unicode::ToString(out);
118119 }
119120
@@ -121,6 +122,7 @@ class Logger {
121122 void Log(const tstring& prefix, const tstring& format, const T1& t1) {
122123 auto out = prefix + (tformat(format) % t1).str() + _T("\n");
123124 OutputDebugString(out.c_str());
125+ std::wcout << unicode::ToWString(out);
124126 ofs_ << unicode::ToString(out);
125127 }
126128
@@ -128,6 +130,7 @@ class Logger {
128130 void Log(const tstring& prefix, const tstring& format, const T1& t1, const T2& t2) {
129131 auto out = prefix + (tformat(format) % t1 % t2).str() + _T("\n");
130132 OutputDebugString(out.c_str());
133+ std::wcout << unicode::ToWString(out);
131134 ofs_ << unicode::ToString(out);
132135 }
133136
@@ -135,6 +138,7 @@ class Logger {
135138 void Log(const tstring& prefix, const tstring& format, const T1& t1, const T2& t2, const T3& t3) {
136139 auto out = prefix + (tformat(format) % t1 % t2 % t3).str() + _T("\n");
137140 OutputDebugString(out.c_str());
141+ std::wcout << unicode::ToWString(out);
138142 ofs_ << unicode::ToString(out);
139143 }
140144
@@ -142,6 +146,7 @@ class Logger {
142146 void Log(const tstring& prefix, const tstring& format, const T1& t1, const T2& t2, const T3& t3, const T4& t4) {
143147 auto out = prefix + (tformat(format) % t1 % t2 % t3 % t4).str() + _T("\n");
144148 OutputDebugString(out.c_str());
149+ std::wcout << unicode::ToWString(out);
145150 ofs_ << unicode::ToString(out);
146151 }
147152