• R/O
  • SSH
  • HTTPS

thief: コミット


コミットメタ情報

リビジョン41 (tree)
日時2012-12-21 00:18:38
作者seussnu

ログメッセージ

0.0.8-alpha7
・ ミススペルを修正

変更サマリ

差分

--- thief.js (revision 40)
+++ thief.js (revision 41)
@@ -257,8 +257,8 @@
257257 THIEF.global.size.Map = document.getElementById('Map').offsetHeight;
258258 THIEF.global.size.Status = document.getElementById('Status').offsetWidth;
259259 THIEF.global.size.Status = document.getElementById('Status').offsetHeight;
260- THIEF.global.size.Infomation = document.getElementById('Infomation').offsetWidth;
261- THIEF.global.size.Infomation = document.getElementById('Infomation').offsetHeight;
260+ THIEF.global.size.Information = document.getElementById('Information').offsetWidth;
261+ THIEF.global.size.Information = document.getElementById('Information').offsetHeight;
262262 THIEF.global.size.Debug = document.getElementById('Debug').offsetWidth;
263263 THIEF.global.size.Debug = document.getElementById('Debug').offsetHeight;
264264 */
@@ -728,7 +728,7 @@
728728 if (THIEF.conf.itemSort[i] === objs[j].symbol) {
729729 if (first) {
730730 first = false;
731- THIEF.html.addInfomation('<span style="color:' + THIEF.conf.bgColor + '; background:' + THIEF.conf.textColor + '">' + objs[j].get(THIEF.PROP.symbolName) + '</span>');
731+ THIEF.html.addInformation('<span style="color:' + THIEF.conf.bgColor + '; background:' + THIEF.conf.textColor + '">' + objs[j].get(THIEF.PROP.symbolName) + '</span>');
732732 }
733733
734734 var alphabet;
@@ -744,7 +744,7 @@
744744 objs[j].alphabet = alphabet;
745745 }
746746
747- THIEF.html.addInfomation(alphabet + '<span id="' + THIEF.conf.id + '_' + alphabet + '">&nbsp;-&nbsp;</span>' + objs[j].get(THIEF.PROP.displayName));
747+ THIEF.html.addInformation(alphabet + '<span id="' + THIEF.conf.id + '_' + alphabet + '">&nbsp;-&nbsp;</span>' + objs[j].get(THIEF.PROP.displayName));
748748 targets[alphabet] = objs[j];
749749 }
750750 }
@@ -809,7 +809,7 @@
809809 var result = false;
810810 if (finish) {
811811 // 画面クリア
812- THIEF.html.clearInfomation();
812+ THIEF.html.clearInformation();
813813
814814 // アクションを元に戻す
815815 this.action = THIEF.func.method.action;
@@ -1335,13 +1335,13 @@
13351335 var index = THIEF.global.hist.length - 1;
13361336 //for (var i = THIEF.conf.messageLines; i >= 0; i--) {
13371337 for (var i = THIEF.conf.mapHeight; i >= 0; i--) {
1338- var hoge = THIEF.global.hist.length - i;
1339- if (typeof THIEF.global.hist[hoge] !== 'undefined') {
1340- THIEF.html.addInfomation(THIEF.global.hist[hoge].turn + ' : ' + THIEF.global.hist[hoge].text);
1338+ var foo = THIEF.global.hist.length - i;
1339+ if (typeof THIEF.global.hist[foo] !== 'undefined') {
1340+ THIEF.html.addInformation(THIEF.global.hist[foo].turn + ' : ' + THIEF.global.hist[foo].text);
13411341 }
13421342 }
13431343
1344- THIEF.html.addInfomation('<div style="text-align:center;">--Now--</div>');
1344+ THIEF.html.addInformation('<div style="text-align:center;">--Now--</div>');
13451345
13461346 this.action = function () {
13471347 var finish = false;
@@ -1386,17 +1386,17 @@
13861386
13871387 if (finish) {
13881388 // 画面クリア
1389- THIEF.html.clearInfomation();
1389+ THIEF.html.clearInformation();
13901390 // アクションを元に戻す
13911391 this.action = THIEF.func.method.action;
13921392 } else {
1393- THIEF.html.clearInfomation();
1393+ THIEF.html.clearInformation();
13941394 //for (var i = THIEF.conf.messageLines - 1; i >= 0; i--) {
13951395 for (var i = THIEF.conf.mapHeight; i >= 0; i--) {
13961396 if (typeof THIEF.global.hist[index - i] !== 'undefined') {
1397- THIEF.html.addInfomation(THIEF.global.hist[index - i].turn + ' : ' + THIEF.global.hist[index - i].text);
1397+ THIEF.html.addInformation(THIEF.global.hist[index - i].turn + ' : ' + THIEF.global.hist[index - i].text);
13981398 if (index - i === THIEF.global.hist.length - 1) {
1399- THIEF.html.addInfomation('<div style="text-align:center;">--Now--</div>');
1399+ THIEF.html.addInformation('<div style="text-align:center;">--Now--</div>');
14001400 }
14011401 }
14021402 }
@@ -1420,9 +1420,9 @@
14201420 }
14211421 com.sort();
14221422
1423- THIEF.html.addInfomation('-- COMMAND HINT --');
1423+ THIEF.html.addInformation('-- COMMAND HINT --');
14241424 for (var i = 0; i < com.length; i++) {
1425- THIEF.html.addInfomation(com[i]);
1425+ THIEF.html.addInformation(com[i]);
14261426 }
14271427
14281428 var line = '';
@@ -1442,11 +1442,11 @@
14421442 update = true;
14431443 } else if (THIEF.global.keyCode === THIEF.KEY.Esc) {
14441444 THIEF.html.setInput('&nbsp;');
1445- THIEF.html.clearInfomation();
1445+ THIEF.html.clearInformation();
14461446 this.action = THIEF.func.method.action;
14471447 } else if (THIEF.global.keyCode === THIEF.KEY.Enter) {
14481448 THIEF.html.setInput('&nbsp;');
1449- THIEF.html.clearInfomation();
1449+ THIEF.html.clearInformation();
14501450 this.action = THIEF.func.method.action;
14511451 if (typeof THIEF.Data.Keymap[target].cmd === 'function') {
14521452 THIEF.global.keyCode = 0;
@@ -2848,7 +2848,7 @@
28482848 // @ で区切られた部分は関数の引数とする
28492849 // 例:${THIEF.global.adventurer.%get@name%} &#x2665;:${THIEF.global.adventurer.%get@hp%}
28502850 var variables = text.match(/\$\{[A-Za-z0-9_$.%@]+\}/g);
2851- if (variables !== true) {
2851+ if (variables) {
28522852 for (i = 0; i < variables.length; i++) {
28532853 // ${ と } を削除
28542854 var variable = variables[i].slice(2, variables[i].length - 1);
@@ -2971,12 +2971,12 @@
29712971 }
29722972 };
29732973
2974-THIEF.html.clearInfomation = function () {
2975- document.getElementById(THIEF.conf.id + 'Infomation').innerHTML = '';
2974+THIEF.html.clearInformation = function () {
2975+ document.getElementById(THIEF.conf.id + 'Information').innerHTML = '';
29762976 };
29772977
2978-THIEF.html.addInfomation = function (text) {
2979- document.getElementById(THIEF.conf.id + 'Infomation').innerHTML += '<p>' + text + '</p>\n';
2978+THIEF.html.addInformation = function (text) {
2979+ document.getElementById(THIEF.conf.id + 'Information').innerHTML += '<p>' + text + '</p>\n';
29802980 };
29812981
29822982 //noinspection JSUnusedGlobalSymbols
@@ -3030,7 +3030,7 @@
30303030
30313031 /*
30323032 THIEF.html.clearDebugMessage = function() {
3033- if (THIEF.conf.debugmode && THIEF.conf.debugMessageClear ) {
3033+ if (THIEF.conf.debugMode && THIEF.conf.debugMessageClear ) {
30343034 document.getElementById(THIEF.conf.id + 'Debug').scrollTop = 0;
30353035 //document.getElementById(THIEF.conf.id + 'Debug').innerHTML = '';
30363036 }
@@ -3314,7 +3314,7 @@
33143314 },
33153315 pickupWhich : {
33163316 ja : 'どれを拾う?',
3317- en : 'Whitch item pickup?'
3317+ en : 'Which item pickup?'
33183318 },
33193319 noItemHere : {
33203320 ja : 'ホコリくらいしか落ちていない...',
@@ -3453,9 +3453,9 @@
34533453 ja : '食料',
34543454 en : 'Food'
34553455 },
3456- symbolNameOfWeapn : {
3456+ symbolNameOfWeapon : {
34573457 ja : '武器',
3458- en : 'Weapn'
3458+ en : 'Weapon'
34593459 },
34603460 symbolNameOfMail : {
34613461 ja : '鎧',
@@ -3775,7 +3775,7 @@
37753775 THIEF.Data.Obj.$Weapon = {
37763776 inheritance : '$Item',
37773777 symbol : ']',
3778- symbolName : THIEF.Data.Text.symbolNameOfWeapn
3778+ symbolName : THIEF.Data.Text.symbolNameOfWeapon
37793779 };
37803780
37813781 THIEF.Data.Obj.DebugDagger = {
@@ -3818,7 +3818,7 @@
38183818 * ■小文字アルファベットは基本的に 弱い or 普通の強さ……のものが多い
38193819 * amphibia カエルなどの(小型)両生類
38203820 * blob
3821- * chiken, cockatrice, (basilisk) 小型の鳥?
3821+ * chicken, cockatrice, (basilisk) 小型の鳥?
38223822 * dog
38233823 * eyes, element 球形のもの
38243824 * felid (cat)
@@ -3836,7 +3836,7 @@
38363836 * rat
38373837 * slime
38383838 * t
3839- * undead (zombi, mummy)
3839+ * undead (zombie, mummy)
38403840 * vortex 意思のないエネルギー体
38413841 * worm 昆虫は i
38423842 * x
@@ -3847,7 +3847,7 @@
38473847 * Angel
38483848 * Bard, Bat 大型の飛行生物。猛禽類・ハーピーなど
38493849 * Centaur -> T
3850- * Doragon
3850+ * Dragon
38513851 * Element でかくて強いエレメント。精霊
38523852 * Fungus
38533853 * Golem
@@ -3889,7 +3889,7 @@
38893889 * > : staircase down
38903890 * _ : altar, throne, tomb?
38913891 * 0(ZERO) : STONE
3892- * ? : scrool
3892+ * ? : scroll
38933893 * ! : potion
38943894 * " : amulet
38953895 * + : wall, closed door, edge, book
@@ -3999,7 +3999,7 @@
39993999 key : THIEF.KEY.p,
40004000 text : THIEF.Data.Text.cmdPrintHistoryDesc
40014001 },
4002- RrefreshScreen : {
4002+ RefreshScreen : {
40034003 cmd : THIEF.func.command.refreshHTML,
40044004 key : THIEF.KEY.R,
40054005 text : THIEF.Data.Text.cmdRefreshScreenDesc
旧リポジトリブラウザで表示