Commit 2a4a8265 authored by nanahira's avatar nanahira

flex default duel rule

parent c04a96bc
...@@ -753,7 +753,9 @@ extern Game* mainGame; ...@@ -753,7 +753,9 @@ extern Game* mainGame;
#define TEXTURE_ATTACK 5 #define TEXTURE_ATTACK 5
#define TEXTURE_ACTIVATE 6 #define TEXTURE_ACTIVATE 6
#ifndef DEFAULT_DUEL_RULE
#define DEFAULT_DUEL_RULE 4 #define DEFAULT_DUEL_RULE 4
#endif
#define CARD_ARTWORK_VERSIONS_OFFSET 10 #define CARD_ARTWORK_VERSIONS_OFFSET 10
#endif // GAME_H #endif // GAME_H
...@@ -18,6 +18,8 @@ project "ygopro" ...@@ -18,6 +18,8 @@ project "ygopro"
if os.getenv("YGOPRO_COMPAT_MYCARD") then if os.getenv("YGOPRO_COMPAT_MYCARD") then
defines { "YGOPRO_COMPAT_MYCARD" } defines { "YGOPRO_COMPAT_MYCARD" }
end end
local mr=os.getenv("YGOPRO_DEFAULT_DUEL_RULE")
if mr and tonumber(mr) then defines { "DEFAULT_DUEL_RULE="..tonumber(mr) } end
configuration "windows" configuration "windows"
files "ygopro.rc" files "ygopro.rc"
......
Subproject commit 2596febe9d63caa3b01742ea9ab5f3b562f94bdc Subproject commit 2652821e629f75df578c0d6e7d9ec240ae9dab3e
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