Commit 418f9a45 authored by mercury233's avatar mercury233

test premake

parent eda9633d
...@@ -14,15 +14,15 @@ install: ...@@ -14,15 +14,15 @@ install:
- git submodule update --init --recursive - git submodule update --init --recursive
# environment and system dependency # environment and system dependency
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha10/premake-5.0.0-alpha10-windows.zip ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha12/premake-5.0.0-alpha12-windows.zip ; exit 0"
- 7z x premake-5.0.0-alpha10-windows.zip - 7z x premake-5.0.0-alpha12-windows.zip
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
- tar xf libevent-2.0.22-stable.tar.gz - tar xf libevent-2.0.22-stable.tar.gz
- move libevent-2.0.22-stable event - move libevent-2.0.22-stable event
- xcopy /E event\WIN32-Code event\include - xcopy /E event\WIN32-Code event\include
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/freetype/freetype-2.7.tar.bz2 ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/freetype/freetype-2.8.tar.bz2 ; exit 0"
- tar xf freetype-2.7.tar.bz2 - tar xf freetype-2.7.tar.bz2
- move freetype-2.7 freetype - move freetype-2.7 freetype
...@@ -36,15 +36,15 @@ install: ...@@ -36,15 +36,15 @@ install:
- tar xf lua-5.2.4.tar.gz - tar xf lua-5.2.4.tar.gz
- move lua-5.2.4\src lua - move lua-5.2.4\src lua
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3150200.zip ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3200100.zip ; exit 0"
- 7z x sqlite-amalgamation-3150200.zip - 7z x sqlite-amalgamation-3200100.zip
- move sqlite-amalgamation-3150200 sqlite3 - move sqlite-amalgamation-3200100 sqlite3
# let premake happy # let premake happy
- xcopy /E premake\* . - xcopy /E premake\* .
# patch irrlicht # patch irrlicht
- patch -p1 < irrlicht\irrlicht.patch - patch -p0 < irrlicht\irrlicht.patch
# premake # premake
- premake5 vs2015 - premake5 vs2015
...@@ -88,9 +88,9 @@ branches: ...@@ -88,9 +88,9 @@ branches:
- /\d+\..+/ - /\d+\..+/
cache: cache:
- premake-5.0.0-alpha10-windows.zip - premake-5.0.0-alpha12-windows.zip
- libevent-2.0.22-stable.tar.gz - libevent-2.0.22-stable.tar.gz
- freetype-2.7.tar.bz2 - freetype-2.7.tar.bz2
- irrlicht-1.8.4.zip - irrlicht-1.8.4.zip
- lua-5.2.4.tar.gz - lua-5.2.4.tar.gz
- sqlite-amalgamation-3150200.zip - sqlite-amalgamation-3200100.zip
#[2017.7][2017.4][2017.6 TCG][2017.1][2016.10][2016.7][2016.4][2016.1][2015.10][2015.4][2015.1][2014.10][2014.7][2014.4][2014.2][2013.9][2017.3 TCG][2016.8 TCG][2016.4 TCG][2015.11 TCG][2015.7 TCG][2015.4 TCG][2015.1 TCG][2014.10 TCG][2014.7 TCG][2014.4 TCG][2014.1.1 TCG][2013.10.11 TCG][2013.3.1][2012.9.1][2012.3.1][2011.9.1] #[2017.7][2017.10][2017.6 TCG][2017.4][2017.1][2016.10][2016.7][2016.4][2016.1][2015.10][2015.4][2015.1][2014.10][2014.7][2014.4][2014.2][2013.9][2017.3 TCG][2016.8 TCG][2016.4 TCG][2015.11 TCG][2015.7 TCG][2015.4 TCG][2015.1 TCG][2014.10 TCG][2014.7 TCG][2014.4 TCG][2014.1.1 TCG][2013.10.11 TCG][2013.3.1][2012.9.1][2012.3.1][2011.9.1]
!2017.7 !2017.7
#forbidden #forbidden
20663556 0 --イレカエル 20663556 0 --イレカエル
...@@ -151,8 +151,10 @@ ...@@ -151,8 +151,10 @@
62265044 2 --竜の渓谷 62265044 2 --竜の渓谷
40605147 2 --神の通告 40605147 2 --神の通告
!2017.4 !2017.10
#forbidden #forbidden
21377582 0 --真竜剣皇マスターP
13035077 0 --ドラゴニックD
20663556 0 --イレカエル 20663556 0 --イレカエル
44910027 0 --ヴィクトリー・ドラゴン 44910027 0 --ヴィクトリー・ドラゴン
20366274 0 --エルシャドール・ネフィリム 20366274 0 --エルシャドール・ネフィリム
...@@ -165,11 +167,11 @@ ...@@ -165,11 +167,11 @@
34124316 0 --サイバーポッド 34124316 0 --サイバーポッド
88071625 0 --The tyrant NEPTUNE 88071625 0 --The tyrant NEPTUNE
48905153 0 --十二獣ドランシア 48905153 0 --十二獣ドランシア
85115440 0 --十二獣ブルホーン
21593977 0 --処刑人-マキュラ 21593977 0 --処刑人-マキュラ
16923472 0 --ゼンマイハンター 16923472 0 --ゼンマイハンター
56570271 0 --DHERO ディスクガイ 56570271 0 --DHERO ディスクガイ
18326736 0 --星守の騎士 プトレマイオス 18326736 0 --星守の騎士 プトレマイオス
33184167 0 --同族感染ウィルス
54719828 0 --No.16 色の支配者ショック・ルーラー 54719828 0 --No.16 色の支配者ショック・ルーラー
26400609 0 --瀑征竜-タイダル 26400609 0 --瀑征竜-タイダル
78706415 0 --ファイバーポッド 78706415 0 --ファイバーポッド
...@@ -212,15 +214,24 @@ ...@@ -212,15 +214,24 @@
17178486 0 --ライフチェンジャー 17178486 0 --ライフチェンジャー
28566710 0 --ラストバトル! 28566710 0 --ラストバトル!
#limit #limit
33184167 1 --同族感染ウィルス
86120751 1 --召唤师 阿莱斯特
58984738 1 --真龙拳士 雾动轰·铁拳
44335251 1 --食魂窃蛋龙
36042004 1 --小角龙
01561110 1 --ABC-神龙歼灭者
65536818 1 --源龙星-望天吼
73628505 1 --テラ・フォーミング
89739383 1 --奥义之魔导书
49430782 1 --真龙的继承
35125879 1 --真龙皇的复活
21076084 1 --淘气仙星的康乃馨转生术
64034255 1 --A·ジェネクス·バードマン 64034255 1 --A·ジェネクス·バードマン
50720316 1 --E·HERO シャドー·ミスト 50720316 1 --E·HERO シャドー·ミスト
40318957 1 --EMドクロバット・ジョーカー 40318957 1 --EMドクロバット・ジョーカー
47075569 1 --EMペンデュラム・マジシャン
78010363 1 --黒き森のウィッチ
74586817 1 --PSYフレームロード・Ω 74586817 1 --PSYフレームロード・Ω
78872731 1 --十二獣モルモラット 78872731 1 --十二獣モルモラット
06602300 1 --重爆撃禽 ボム・フェネクス 06602300 1 --重爆撃禽 ボム・フェネクス
00423585 1 --召喚僧サモンプリースト
78868119 1 --深海のディーヴァ 78868119 1 --深海のディーヴァ
81275020 1 --SRベイゴマックス 81275020 1 --SRベイゴマックス
65192027 1 --ダーク·アームド·ドラゴン 65192027 1 --ダーク·アームド·ドラゴン
...@@ -229,7 +240,6 @@ ...@@ -229,7 +240,6 @@
16226786 1 --深淵の暗殺者 16226786 1 --深淵の暗殺者
90307777 1 --影霊衣の術士 シュリット 90307777 1 --影霊衣の術士 シュリット
28297833 1 --ネクロフェイス 28297833 1 --ネクロフェイス
84764038 1 --彼岸の悪鬼 スカラマリオン
83531441 1 --彼岸の旅人 ダンテ 83531441 1 --彼岸の旅人 ダンテ
70583986 1 --氷結界の虎王ドゥローレン 70583986 1 --氷結界の虎王ドゥローレン
52687916 1 --氷結界の龍 トリシューラ 52687916 1 --氷結界の龍 トリシューラ
...@@ -238,6 +248,7 @@ ...@@ -238,6 +248,7 @@
70903634 1 --封印されし者の右腕 70903634 1 --封印されし者の右腕
44519536 1 --封印されし者の左足 44519536 1 --封印されし者の左足
08124921 1 --封印されし者の右足 08124921 1 --封印されし者の右足
55623480 1 --妖精伝姫−シラユキ
09929398 1 --BF−朧影のゴウフウ 09929398 1 --BF−朧影のゴウフウ
26674724 1 --ブリューナクの影霊衣 26674724 1 --ブリューナクの影霊衣
10802915 1 --魔界発現世行きデスガイド 10802915 1 --魔界発現世行きデスガイド
...@@ -245,38 +256,28 @@ ...@@ -245,38 +256,28 @@
90809975 1 --餅カエル 90809975 1 --餅カエル
89463537 1 --ユニコールの影霊衣 89463537 1 --ユニコールの影霊衣
92746535 1 --竜剣士ラスターP 92746535 1 --竜剣士ラスターP
14878871 1 --レスキューキャット
88264978 1 --レッドアイズ·ダークネスメタルドラゴン 88264978 1 --レッドアイズ·ダークネスメタルドラゴン
48976825 1 --異次元からの埋葬
33782437 1 --一時休戦 33782437 1 --一時休戦
66957584 1 --インフェルニティガン 66957584 1 --インフェルニティガン
81439173 1 --おろかな埋葬 81439173 1 --おろかな埋葬
23701465 1 --原初の種 23701465 1 --原初の種
99330325 1 --妨げられた壊獣の眠り 99330325 1 --妨げられた壊獣の眠り
96729612 1 --儀式の準備
67723438 1 --緊急テレポート 67723438 1 --緊急テレポート
45305419 1 --継承の印 45305419 1 --継承の印
17639150 1 --機殻の生贄
83764718 1 --死者蘇生 83764718 1 --死者蘇生
32807846 1 --増援 32807846 1 --増援
54447022 1 --ソウル・チャージ 54447022 1 --ソウル・チャージ
48130397 1 --超融合 48130397 1 --超融合
72892473 1 --手札抹殺 72892473 1 --手札抹殺
67169062 1 --貪欲な壺
97211663 1 --影霊衣の反魂術 97211663 1 --影霊衣の反魂術
18144506 1 --ハーピィの羽根帚 18144506 1 --ハーピィの羽根帚
22842126 1 --汎神の帝王 22842126 1 --汎神の帝王
53129443 1 --ブラック·ホール
53208660 1 --ペンデュラム・コール 53208660 1 --ペンデュラム・コール
93600443 1 --マスク・チェンジ・セカンド 93600443 1 --マスク・チェンジ・セカンド
15854426 1 --霞の谷の神風 15854426 1 --霞の谷の神風
77565204 1 --未来融合-フューチャー·フュージョン
58577036 1 --名推理 58577036 1 --名推理
66399653 1 --ユニオン格納庫
31222701 1 --揺れる眼差し
23171610 1 --リミッター解除 23171610 1 --リミッター解除
14733538 1 --竜呼相打つ 14733538 1 --竜呼相打つ
62265044 1 --竜の渓谷
02295440 1 --ワン·フォー·ワン 02295440 1 --ワン·フォー·ワン
05851097 1 --虚無空間 05851097 1 --虚無空間
61740673 1 --王宮の勅命 61740673 1 --王宮の勅命
...@@ -286,24 +287,23 @@ ...@@ -286,24 +287,23 @@
83555666 1 --破壊輪 83555666 1 --破壊輪
32723153 1 --マジカル·エクスプロージョン 32723153 1 --マジカル·エクスプロージョン
#semi limit #semi limit
00423585 2 --召喚僧サモンプリースト
43722862 2 --风魔女-冰铃
23434538 2 --增殖的G
67169062 2 --貪欲な壺
77565204 2 --未来融合-フューチャー·フュージョン
47325505 2 --化石调查
45222299 2 --イビリチュア·ガストクラーケ 45222299 2 --イビリチュア·ガストクラーケ
40044918 2 --E·HERO エアーマン 40044918 2 --E·HERO エアーマン
74311226 2 --海皇の竜騎隊 74311226 2 --海皇の竜騎隊
72989439 2 --カオス·ソルジャー -開闢の使者-
72714461 2 --慧眼の魔術師
07391448 2 --ゴヨウ·ガーディアン
28985331 2 --終末の騎士
15341821 2 --ダンディライオン 15341821 2 --ダンディライオン
45206713 2 --DDスワラル・スライム
18239909 2 --爆竜剣士イグニスターP
50321796 2 --氷結界の龍 ブリューナク
55623480 2 --妖精伝姫−シラユキ
10028593 2 --輪廻天狗 10028593 2 --輪廻天狗
57103969 2 --炎舞-「天璣」 59750328 2 --命削りの宝札
84171830 2 --真帝王領域
87910978 2 --洗脳-ブレインコントロール
91623717 2 --連鎖爆撃 91623717 2 --連鎖爆撃
53129443 2 --ブラック·ホール
43040603 2 --モンスターゲート 43040603 2 --モンスターゲート
66399653 2 --ユニオン格納庫
40605147 2 --神の通告
!2017.6 TCG !2017.6 TCG
#forbidden #forbidden
...@@ -485,6 +485,160 @@ ...@@ -485,6 +485,160 @@
29843091 2 --おジャマトリオ 29843091 2 --おジャマトリオ
36468556 2 --停戦協定 36468556 2 --停戦協定
!2017.4
#forbidden
20663556 0 --イレカエル
44910027 0 --ヴィクトリー・ドラゴン
20366274 0 --エルシャドール・ネフィリム
53804307 0 --焔征竜-ブラスター
68819554 0 --Emダメージ・ジャグラー
07563579 0 --Emヒグルミ
17330916 0 --EMモンキーボード
90411554 0 --巌征竜-レドックス
17412721 0 --旧神ノーデン
34124316 0 --サイバーポッド
88071625 0 --The tyrant NEPTUNE
48905153 0 --十二獣ドランシア
21593977 0 --処刑人-マキュラ
16923472 0 --ゼンマイハンター
56570271 0 --DHERO ディスクガイ
18326736 0 --星守の騎士 プトレマイオス
33184167 0 --同族感染ウィルス
54719828 0 --No.16 色の支配者ショック・ルーラー
26400609 0 --瀑征竜-タイダル
78706415 0 --ファイバーポッド
93369354 0 --フィッシュボーグ-ガンナー
31178212 0 --マジェスペクター・ユニコーン
34206604 0 --魔導サイエンティスト
96782886 0 --メンタルマスター
03078576 0 --八汰烏
34086406 0 --ラヴァルバル・チェイン
89399912 0 --嵐征竜-テンペスト
57421866 0 --レベル・スティーラー
41482598 0 --悪夢の蜃気楼
44763025 0 --いたずら好きな双子悪魔
19613556 0 --大嵐
17375316 0 --押収
74191942 0 --苦渋の選択
42829885 0 --強引な番兵
45986603 0 --強奪
55144522 0 --強欲な壺
04031928 0 --心変わり
46060017 0 --十二獣の会局
12580477 0 --サンダー·ボルト
23557835 0 --次元融合
57953380 0 --生還の宝札
60682203 0 --大寒波
69243953 0 --蝶の短剣-エルマ
79571449 0 --天使の施し
70828912 0 --早すぎた埋葬
42703248 0 --ハリケーン
34906152 0 --マスドライバー
46448938 0 --魔導書の神判
46411259 0 --突然変異
85602018 0 --遺言状
27174286 0 --異次元からの帰還
93016201 0 --王宮の弾圧
03280747 0 --第六感
64697231 0 --ダスト·シュート
80604091 0 --血の代償
35316708 0 --刻の封印
17178486 0 --ライフチェンジャー
28566710 0 --ラストバトル!
#limit
64034255 1 --A·ジェネクス·バードマン
50720316 1 --E·HERO シャドー·ミスト
40318957 1 --EMドクロバット・ジョーカー
47075569 1 --EMペンデュラム・マジシャン
78010363 1 --黒き森のウィッチ
74586817 1 --PSYフレームロード・Ω
78872731 1 --十二獣モルモラット
06602300 1 --重爆撃禽 ボム・フェネクス
00423585 1 --召喚僧サモンプリースト
78868119 1 --深海のディーヴァ
81275020 1 --SRベイゴマックス
65192027 1 --ダーク·アームド·ドラゴン
90953320 1 --TG ハイパー·ライブラリアン
69015963 1 --デビル・フランケン
16226786 1 --深淵の暗殺者
90307777 1 --影霊衣の術士 シュリット
28297833 1 --ネクロフェイス
84764038 1 --彼岸の悪鬼 スカラマリオン
83531441 1 --彼岸の旅人 ダンテ
70583986 1 --氷結界の虎王ドゥローレン
52687916 1 --氷結界の龍 トリシューラ
33396948 1 --封印されしエクゾディア
07902349 1 --封印されし者の左腕
70903634 1 --封印されし者の右腕
44519536 1 --封印されし者の左足
08124921 1 --封印されし者の右足
09929398 1 --BF−朧影のゴウフウ
26674724 1 --ブリューナクの影霊衣
10802915 1 --魔界発現世行きデスガイド
33508719 1 --メタモルポット
90809975 1 --餅カエル
89463537 1 --ユニコールの影霊衣
92746535 1 --竜剣士ラスターP
14878871 1 --レスキューキャット
88264978 1 --レッドアイズ·ダークネスメタルドラゴン
48976825 1 --異次元からの埋葬
33782437 1 --一時休戦
66957584 1 --インフェルニティガン
81439173 1 --おろかな埋葬
23701465 1 --原初の種
99330325 1 --妨げられた壊獣の眠り
96729612 1 --儀式の準備
67723438 1 --緊急テレポート
45305419 1 --継承の印
17639150 1 --機殻の生贄
83764718 1 --死者蘇生
32807846 1 --増援
54447022 1 --ソウル・チャージ
48130397 1 --超融合
72892473 1 --手札抹殺
67169062 1 --貪欲な壺
97211663 1 --影霊衣の反魂術
18144506 1 --ハーピィの羽根帚
22842126 1 --汎神の帝王
53129443 1 --ブラック·ホール
53208660 1 --ペンデュラム・コール
93600443 1 --マスク・チェンジ・セカンド
15854426 1 --霞の谷の神風
77565204 1 --未来融合-フューチャー·フュージョン
58577036 1 --名推理
66399653 1 --ユニオン格納庫
31222701 1 --揺れる眼差し
23171610 1 --リミッター解除
14733538 1 --竜呼相打つ
62265044 1 --竜の渓谷
02295440 1 --ワン·フォー·ワン
05851097 1 --虚無空間
61740673 1 --王宮の勅命
84749824 1 --神の警告
41420027 1 --神の宣告
36468556 1 --停戦協定
83555666 1 --破壊輪
32723153 1 --マジカル·エクスプロージョン
#semi limit
45222299 2 --イビリチュア·ガストクラーケ
40044918 2 --E·HERO エアーマン
74311226 2 --海皇の竜騎隊
72989439 2 --カオス·ソルジャー -開闢の使者-
72714461 2 --慧眼の魔術師
07391448 2 --ゴヨウ·ガーディアン
28985331 2 --終末の騎士
15341821 2 --ダンディライオン
45206713 2 --DDスワラル・スライム
18239909 2 --爆竜剣士イグニスターP
50321796 2 --氷結界の龍 ブリューナク
55623480 2 --妖精伝姫−シラユキ
10028593 2 --輪廻天狗
57103969 2 --炎舞-「天璣」
84171830 2 --真帝王領域
87910978 2 --洗脳-ブレインコントロール
91623717 2 --連鎖爆撃
43040603 2 --モンスターゲート
!2017.1 !2017.1
#forbidden #forbidden
20663556 0 --イレカエル 20663556 0 --イレカエル
......
Subproject commit e235487a59ae0cad9e113aea391fc9c883b63a84 Subproject commit dfac0fbd59976a0612da49cc1b960290004df2ed
diff --git a/irrlicht/include/IOSOperator.h b/irrlicht/include/IOSOperator.h diff -ur --strip-trailing-cr irrlicht/include/IOSOperator.h irrlicht-fixed/include/IOSOperator.h
index b5c6236..b2e864a 100644 --- irrlicht/include/IOSOperator.h 2012-11-03 19:08:34.000000000 +0800
--- a/irrlicht/include/IOSOperator.h +++ irrlicht-fixed/include/IOSOperator.h 2017-09-09 18:50:04.693119800 +0800
+++ b/irrlicht/include/IOSOperator.h @@ -26,11 +26,11 @@
@@ -26,11 +26,11 @@ public:
} }
//! Copies text to the clipboard //! Copies text to the clipboard
...@@ -16,11 +15,10 @@ index b5c6236..b2e864a 100644 ...@@ -16,11 +15,10 @@ index b5c6236..b2e864a 100644
//! Get the processor speed in megahertz //! Get the processor speed in megahertz
/** \param MHz The integer variable to store the speed in. /** \param MHz The integer variable to store the speed in.
diff --git a/irrlicht/include/IrrCompileConfig.h b/irrlicht/include/IrrCompileConfig.h diff -ur --strip-trailing-cr irrlicht/include/IrrCompileConfig.h irrlicht-fixed/include/IrrCompileConfig.h
index c2c5d12..7c44f0c 100644 --- irrlicht/include/IrrCompileConfig.h 2016-07-09 13:02:32.000000000 +0800
--- a/irrlicht/include/IrrCompileConfig.h +++ irrlicht-fixed/include/IrrCompileConfig.h 2017-09-09 18:50:04.695119900 +0800
+++ b/irrlicht/include/IrrCompileConfig.h @@ -233,7 +233,9 @@
@@ -233,7 +233,9 @@ you will not be able to use anything provided by the GUI Environment, including
disable this feature, the engine behave as before (ansi). This is currently only supported disable this feature, the engine behave as before (ansi). This is currently only supported
for Windows based systems. You also have to set #define UNICODE for this to compile. for Windows based systems. You also have to set #define UNICODE for this to compile.
*/ */
...@@ -31,39 +29,23 @@ index c2c5d12..7c44f0c 100644 ...@@ -31,39 +29,23 @@ index c2c5d12..7c44f0c 100644
#ifdef NO_IRR_WCHAR_FILESYSTEM #ifdef NO_IRR_WCHAR_FILESYSTEM
#undef _IRR_WCHAR_FILESYSTEM #undef _IRR_WCHAR_FILESYSTEM
#endif #endif
diff --git a/irrlicht/include/Keycodes.h b/irrlicht/include/Keycodes.h diff -ur --strip-trailing-cr irrlicht/include/irrTypes.h irrlicht-fixed/include/irrTypes.h
index e56eca1..57ab312 100644 --- irrlicht/include/irrTypes.h 2012-11-19 18:20:40.000000000 +0800
--- a/irrlicht/include/Keycodes.h +++ irrlicht-fixed/include/irrTypes.h 2017-09-09 18:54:19.126672600 +0800
+++ b/irrlicht/include/Keycodes.h @@ -48,6 +48,9 @@
@@ -89,7 +89,7 @@ namespace irr
KEY_KEY_X = 0x58, // X key
KEY_KEY_Y = 0x59, // Y key
KEY_KEY_Z = 0x5A, // Z key
- KEY_LWIN = 0x5B, // Left Windows key (Microsoft Natural keyboard)
+ KEY_LWIN = 0x5B, // Left Windows key (Microsoft® Natural® keyboard)
KEY_RWIN = 0x5C, // Right Windows key (Natural keyboard)
KEY_APPS = 0x5D, // Applications key (Natural keyboard)
KEY_SLEEP = 0x5F, // Computer Sleep key
diff --git a/irrlicht/include/irrTypes.h b/irrlicht/include/irrTypes.h
index cfeaf84..a656631 100644
--- a/irrlicht/include/irrTypes.h
+++ b/irrlicht/include/irrTypes.h
@@ -48,7 +48,9 @@ typedef __int16 s16;
typedef signed short s16; typedef signed short s16;
#endif #endif
-
+//! 16 bit character variable. +//! 16 bit character variable.
+/** This is a typedef for wchar_t, it ensures portability of the engine. */ +/** This is a typedef for wchar_t, it ensures portability of the engine. */
+typedef wchar_t c16; +typedef wchar_t c16;
//! 32 bit unsigned variable. //! 32 bit unsigned variable.
/** This is a typedef for unsigned int, it ensures portability of the engine. */ diff -ur --strip-trailing-cr irrlicht/src/CGUIEditBox.cpp irrlicht-fixed/src/CGUIEditBox.cpp
diff --git a/irrlicht/src/CGUIEditBox.cpp b/irrlicht/src/CGUIEditBox.cpp --- irrlicht/src/CGUIEditBox.cpp 2014-09-17 20:23:10.000000000 +0800
index f33b5a2..8375444 100644 +++ irrlicht-fixed/src/CGUIEditBox.cpp 2017-09-09 18:50:04.709120800 +0800
--- a/irrlicht/src/CGUIEditBox.cpp @@ -287,7 +287,7 @@
+++ b/irrlicht/src/CGUIEditBox.cpp
@@ -287,7 +287,7 @@ bool CGUIEditBox::processKey(const SEvent& event)
const s32 realmbgn = MarkBegin < MarkEnd ? MarkBegin : MarkEnd; const s32 realmbgn = MarkBegin < MarkEnd ? MarkBegin : MarkEnd;
const s32 realmend = MarkBegin < MarkEnd ? MarkEnd : MarkBegin; const s32 realmend = MarkBegin < MarkEnd ? MarkEnd : MarkBegin;
...@@ -72,7 +54,7 @@ index f33b5a2..8375444 100644 ...@@ -72,7 +54,7 @@ index f33b5a2..8375444 100644
s = Text.subString(realmbgn, realmend - realmbgn).c_str(); s = Text.subString(realmbgn, realmend - realmbgn).c_str();
Operator->copyToClipboard(s.c_str()); Operator->copyToClipboard(s.c_str());
} }
@@ -300,7 +300,7 @@ bool CGUIEditBox::processKey(const SEvent& event) @@ -300,7 +300,7 @@
const s32 realmend = MarkBegin < MarkEnd ? MarkEnd : MarkBegin; const s32 realmend = MarkBegin < MarkEnd ? MarkEnd : MarkBegin;
// copy // copy
...@@ -81,7 +63,7 @@ index f33b5a2..8375444 100644 ...@@ -81,7 +63,7 @@ index f33b5a2..8375444 100644
sc = Text.subString(realmbgn, realmend - realmbgn).c_str(); sc = Text.subString(realmbgn, realmend - realmbgn).c_str();
Operator->copyToClipboard(sc.c_str()); Operator->copyToClipboard(sc.c_str());
@@ -330,16 +330,10 @@ bool CGUIEditBox::processKey(const SEvent& event) @@ -330,16 +330,10 @@
const s32 realmend = MarkBegin < MarkEnd ? MarkEnd : MarkBegin; const s32 realmend = MarkBegin < MarkEnd ? MarkEnd : MarkBegin;
// add new character // add new character
...@@ -100,10 +82,38 @@ index f33b5a2..8375444 100644 ...@@ -100,10 +82,38 @@ index f33b5a2..8375444 100644
if (MarkBegin == MarkEnd) if (MarkBegin == MarkEnd)
{ {
diff --git a/irrlicht/src/CIrrDeviceWin32.cpp b/irrlicht/src/CIrrDeviceWin32.cpp @@ -664,6 +658,16 @@
index f96c178..2e7a9ee 100644 case KEY_ESCAPE:
--- a/irrlicht/src/CIrrDeviceWin32.cpp case KEY_TAB:
+++ b/irrlicht/src/CIrrDeviceWin32.cpp case KEY_SHIFT:
+ case KEY_LSHIFT:
+ case KEY_RSHIFT:
+ case KEY_MENU:
+ case KEY_LMENU:
+ case KEY_RMENU:
+ case KEY_LWIN:
+ case KEY_RWIN:
+ case KEY_CAPITAL:
+ case KEY_NUMLOCK:
+ case KEY_SCROLL:
case KEY_F1:
case KEY_F2:
case KEY_F3:
diff -ur --strip-trailing-cr irrlicht/src/CGUIListBox.cpp irrlicht-fixed/src/CGUIListBox.cpp
--- irrlicht/src/CGUIListBox.cpp 2016-05-26 12:09:34.000000000 +0800
+++ irrlicht-fixed/src/CGUIListBox.cpp 2017-09-09 18:50:04.720121400 +0800
@@ -425,7 +425,7 @@
}
case EMIE_MOUSE_MOVED:
- if (Selecting || MoveOverSelect)
+ if (MoveOverSelect)
{
if (isPointInside(p))
{
diff -ur --strip-trailing-cr irrlicht/src/CIrrDeviceWin32.cpp irrlicht-fixed/src/CIrrDeviceWin32.cpp
--- irrlicht/src/CIrrDeviceWin32.cpp 2016-05-26 12:09:34.000000000 +0800
+++ irrlicht-fixed/src/CIrrDeviceWin32.cpp 2017-09-09 18:56:09.679995900 +0800
@@ -20,6 +20,8 @@ @@ -20,6 +20,8 @@
#include "COSOperator.h" #include "COSOperator.h"
#include "dimension2d.h" #include "dimension2d.h"
...@@ -113,7 +123,7 @@ index f96c178..2e7a9ee 100644 ...@@ -113,7 +123,7 @@ index f96c178..2e7a9ee 100644
#include <winuser.h> #include <winuser.h>
#if defined(_IRR_COMPILE_WITH_JOYSTICK_EVENTS_) #if defined(_IRR_COMPILE_WITH_JOYSTICK_EVENTS_)
#ifdef _IRR_COMPILE_WITH_DIRECTINPUT_JOYSTICK_ #ifdef _IRR_COMPILE_WITH_DIRECTINPUT_JOYSTICK_
@@ -749,6 +751,26 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) @@ -749,6 +751,26 @@
return 0; return 0;
} }
...@@ -140,33 +150,19 @@ index f96c178..2e7a9ee 100644 ...@@ -140,33 +150,19 @@ index f96c178..2e7a9ee 100644
switch (message) switch (message)
{ {
case WM_PAINT: case WM_PAINT:
@@ -773,22 +795,21 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) @@ -773,7 +795,11 @@
event.KeyInput.Key = (irr::EKEY_CODE)wParam; event.KeyInput.Key = (irr::EKEY_CODE)wParam;
event.KeyInput.PressedDown = (message==WM_KEYDOWN || message == WM_SYSKEYDOWN); event.KeyInput.PressedDown = (message==WM_KEYDOWN || message == WM_SYSKEYDOWN);
- const UINT MY_MAPVK_VSC_TO_VK_EX = 3; // MAPVK_VSC_TO_VK_EX should be in SDK according to MSDN, but isn't in mine. +#ifdef MAPVK_VSC_TO_VK_EX
+ const UINT MY_MAPVK_VSC_TO_VK_EX = MAPVK_VSC_TO_VK_EX;
+#else
const UINT MY_MAPVK_VSC_TO_VK_EX = 3; // MAPVK_VSC_TO_VK_EX should be in SDK according to MSDN, but isn't in mine.
+#endif
if ( event.KeyInput.Key == irr::KEY_SHIFT ) if ( event.KeyInput.Key == irr::KEY_SHIFT )
{ {
// this will fail on systems before windows NT/2000/XP, not sure _what_ will return there instead. // this will fail on systems before windows NT/2000/XP, not sure _what_ will return there instead.
- event.KeyInput.Key = (irr::EKEY_CODE)MapVirtualKey( ((lParam>>16) & 255), MY_MAPVK_VSC_TO_VK_EX ); @@ -904,6 +930,53 @@
+ event.KeyInput.Key = (irr::EKEY_CODE)MapVirtualKey( ((lParam>>16) & 255), MAPVK_VSC_TO_VK_EX );
}
if ( event.KeyInput.Key == irr::KEY_CONTROL )
{
- event.KeyInput.Key = (irr::EKEY_CODE)MapVirtualKey( ((lParam>>16) & 255), MY_MAPVK_VSC_TO_VK_EX );
+ event.KeyInput.Key = (irr::EKEY_CODE)MapVirtualKey( ((lParam>>16) & 255), MAPVK_VSC_TO_VK_EX );
// some keyboards will just return LEFT for both - left and right keys. So also check extend bit.
if (lParam & 0x1000000)
event.KeyInput.Key = irr::KEY_RCONTROL;
}
if ( event.KeyInput.Key == irr::KEY_MENU )
{
- event.KeyInput.Key = (irr::EKEY_CODE)MapVirtualKey( ((lParam>>16) & 255), MY_MAPVK_VSC_TO_VK_EX );
+ event.KeyInput.Key = (irr::EKEY_CODE)MapVirtualKey( ((lParam>>16) & 255), MAPVK_VSC_TO_VK_EX );
if (lParam & 0x1000000)
event.KeyInput.Key = irr::KEY_RMENU;
}
@@ -904,6 +925,53 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
KEYBOARD_INPUT_HKL = GetKeyboardLayout(0); KEYBOARD_INPUT_HKL = GetKeyboardLayout(0);
KEYBOARD_INPUT_CODEPAGE = LocaleIdToCodepage( LOWORD(KEYBOARD_INPUT_HKL) ); KEYBOARD_INPUT_CODEPAGE = LocaleIdToCodepage( LOWORD(KEYBOARD_INPUT_HKL) );
return 0; return 0;
...@@ -192,7 +188,7 @@ index f96c178..2e7a9ee 100644 ...@@ -192,7 +188,7 @@ index f96c178..2e7a9ee 100644
+ event.KeyInput.Char = wParam; + event.KeyInput.Char = wParam;
+#else +#else
+ BYTE ch[3]; + BYTE ch[3];
+ if(wParam >> 8) { + if (wParam >> 8) {
+ ch[0] = wParam >> 8; + ch[0] = wParam >> 8;
+ ch[1] = wParam & 0xff; + ch[1] = wParam & 0xff;
+ ch[2] = 0; + ch[2] = 0;
...@@ -220,7 +216,7 @@ index f96c178..2e7a9ee 100644 ...@@ -220,7 +216,7 @@ index f96c178..2e7a9ee 100644
} }
return DefWindowProc(hWnd, message, wParam, lParam); return DefWindowProc(hWnd, message, wParam, lParam);
} }
@@ -1797,8 +1865,8 @@ void CIrrDeviceWin32::handleSystemMessages() @@ -1797,8 +1870,8 @@
while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
{ {
...@@ -231,11 +227,10 @@ index f96c178..2e7a9ee 100644 ...@@ -231,11 +227,10 @@ index f96c178..2e7a9ee 100644
if (ExternalWindow && msg.hwnd == HWnd) if (ExternalWindow && msg.hwnd == HWnd)
WndProc(HWnd, msg.message, msg.wParam, msg.lParam); WndProc(HWnd, msg.message, msg.wParam, msg.lParam);
diff --git a/irrlicht/src/COSOperator.cpp b/irrlicht/src/COSOperator.cpp diff -ur --strip-trailing-cr irrlicht/src/COSOperator.cpp irrlicht-fixed/src/COSOperator.cpp
index 90e644d..1856c04 100644 --- irrlicht/src/COSOperator.cpp 2012-11-03 19:07:52.000000000 +0800
--- a/irrlicht/src/COSOperator.cpp +++ irrlicht-fixed/src/COSOperator.cpp 2017-09-09 18:50:04.715121100 +0800
+++ b/irrlicht/src/COSOperator.cpp @@ -52,9 +52,9 @@
@@ -52,9 +52,9 @@ const core::stringc& COSOperator::getOperatingSystemVersion() const
//! copies text to the clipboard //! copies text to the clipboard
...@@ -247,7 +242,7 @@ index 90e644d..1856c04 100644 ...@@ -247,7 +242,7 @@ index 90e644d..1856c04 100644
return; return;
// Windows version // Windows version
@@ -66,15 +66,15 @@ void COSOperator::copyToClipboard(const c8* text) const @@ -66,15 +66,15 @@
EmptyClipboard(); EmptyClipboard();
HGLOBAL clipbuffer; HGLOBAL clipbuffer;
...@@ -268,7 +263,7 @@ index 90e644d..1856c04 100644 ...@@ -268,7 +263,7 @@ index 90e644d..1856c04 100644
CloseClipboard(); CloseClipboard();
// MacOSX version // MacOSX version
@@ -93,7 +93,7 @@ void COSOperator::copyToClipboard(const c8* text) const @@ -93,7 +93,7 @@
//! gets text from the clipboard //! gets text from the clipboard
//! \return Returns 0 if no string is in there. //! \return Returns 0 if no string is in there.
...@@ -277,7 +272,7 @@ index 90e644d..1856c04 100644 ...@@ -277,7 +272,7 @@ index 90e644d..1856c04 100644
{ {
#if defined(_IRR_XBOX_PLATFORM_) #if defined(_IRR_XBOX_PLATFORM_)
return 0; return 0;
@@ -101,10 +101,10 @@ const c8* COSOperator::getTextFromClipboard() const @@ -101,10 +101,10 @@
if (!OpenClipboard(NULL)) if (!OpenClipboard(NULL))
return 0; return 0;
...@@ -291,11 +286,10 @@ index 90e644d..1856c04 100644 ...@@ -291,11 +286,10 @@ index 90e644d..1856c04 100644
GlobalUnlock( hData ); GlobalUnlock( hData );
CloseClipboard(); CloseClipboard();
return buffer; return buffer;
diff --git a/irrlicht/src/COSOperator.h b/irrlicht/src/COSOperator.h diff -ur --strip-trailing-cr irrlicht/src/COSOperator.h irrlicht-fixed/src/COSOperator.h
index 3f633da..c0712df 100644 --- irrlicht/src/COSOperator.h 2012-11-03 19:08:00.000000000 +0800
--- a/irrlicht/src/COSOperator.h +++ irrlicht-fixed/src/COSOperator.h 2017-09-09 18:50:04.717121200 +0800
+++ b/irrlicht/src/COSOperator.h @@ -27,11 +27,11 @@
@@ -27,11 +27,11 @@ public:
virtual const core::stringc& getOperatingSystemVersion() const; virtual const core::stringc& getOperatingSystemVersion() const;
//! copies text to the clipboard //! copies text to the clipboard
......
...@@ -7,6 +7,9 @@ solution "ygo" ...@@ -7,6 +7,9 @@ solution "ygo"
configuration "windows" configuration "windows"
defines { "WIN32", "_WIN32", "WINVER=0x0501" } defines { "WIN32", "_WIN32", "WINVER=0x0501" }
libdirs { "$(DXSDK_DIR)Lib/x86" }
entrypoint "mainCRTStartup"
startproject "ygopro"
configuration "bsd" configuration "bsd"
defines { "LUA_USE_POSIX" } defines { "LUA_USE_POSIX" }
...@@ -15,7 +18,7 @@ solution "ygo" ...@@ -15,7 +18,7 @@ solution "ygo"
configuration "macosx" configuration "macosx"
defines { "LUA_USE_MACOSX" } defines { "LUA_USE_MACOSX" }
includedirs { "/usr/local/include/", "/usr/local/include/irrlicht", "/usr/local/include/freetype2" } includedirs { "/usr/local/include/*" }
libdirs { "/usr/local/lib", "/usr/X11/lib" } libdirs { "/usr/local/lib", "/usr/X11/lib" }
buildoptions { "-stdlib=libc++" } buildoptions { "-stdlib=libc++" }
links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" } links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" }
...@@ -24,7 +27,7 @@ solution "ygo" ...@@ -24,7 +27,7 @@ solution "ygo"
defines { "LUA_USE_LINUX" } defines { "LUA_USE_LINUX" }
configuration "Release" configuration "Release"
flags { "OptimizeSpeed" } optimize "Speed"
targetdir "bin/release" targetdir "bin/release"
configuration "Debug" configuration "Debug"
...@@ -43,9 +46,10 @@ solution "ygo" ...@@ -43,9 +46,10 @@ solution "ygo"
configuration { "Debug", "vs*" } configuration { "Debug", "vs*" }
defines { "_ITERATOR_DEBUG_LEVEL=0" } defines { "_ITERATOR_DEBUG_LEVEL=0" }
disablewarnings { "4819" }
configuration "vs*" configuration "vs*"
flags "EnableSSE2" vectorextensions "SSE2"
defines { "_CRT_SECURE_NO_WARNINGS" } defines { "_CRT_SECURE_NO_WARNINGS" }
configuration "not vs*" configuration "not vs*"
...@@ -54,11 +58,9 @@ solution "ygo" ...@@ -54,11 +58,9 @@ solution "ygo"
configuration {"not vs*", "windows"} configuration {"not vs*", "windows"}
buildoptions { "-static-libgcc" } buildoptions { "-static-libgcc" }
startproject "ygopro"
include "ocgcore" include "ocgcore"
include "gframe" include "gframe"
if os.is("windows") then if os.ishost("windows") then
include "event" include "event"
include "freetype" include "freetype"
include "irrlicht" include "irrlicht"
......
Subproject commit 1f8614bcdbefb7638dc4398b7f2559fd57a9f6e6 Subproject commit 5f67c18822546bb7182c9c5a6567d42ecfe7592d
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment